
Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO
Latent Space: The AI Engineer Podcast
- 1h 25m
- Transcript
Summary
Written by a model from the transcript; not yet reviewed.
Erik Bernhardsson, CEO of Modal, explains how his company grew over 50x in revenue and users by building AI infrastructure that manages compute and storage. The discussion covers the evolution of Modal from general-purpose serverless functions to handling massive GenAI inference and sandboxes for coding agents, alongside the operational challenges of procuring GPU capacity from over 25 clouds. Bernhardsson and the host explore the shift toward non-Nvidia accelerators, the economics of hardware pricing, and why infrastructure must be redesigned from scratch rather than relying on older tools like Kubernetes.
- Build cloud infrastructure on modern primitives designed for high-cost GPUs and rapid container scaling rather than relying on older tools built for steady CPU workloads. 12:19
- Diversify cloud capacity procurement across multiple smaller cloud providers and regions to handle hardware shortages instead of relying solely on major hyperscalers. 14:47
- Invest in developer experience and clear documentation because those same traits directly improve how effectively AI coding agents interact with your platform. 54:06
- Treat security proactively by utilizing AI agents inside isolated sandboxes to probe for code vulnerabilities and attempt escapes before attackers do. 50:03
Chapters
- 0:04Modal Overview and Early Growth
Erik Bernhardsson explains Modal’s AI infrastructure platform, its rapid scaling from a modest startup to a revenue‑boosted company, and early customer adoption.
- 1:33Spotify Roots and Infrastructure Insight
Bernhardsson recounts his seven years at Spotify building music recommendation systems, which sparked his realization that AI infrastructure was inadequate and led to Modal’s founding.
- 2:45Better.com Experience and Pivot to Modal
He describes his tenure as CTO at Better.com, the challenges of the mortgage market, and how the experience shaped his focus on infrastructure and AI after leaving the company.
- 4:41Early Product Ideation and ChatGPT Impact
Bernhardsson outlines his initial product attempts, the influence of ChatGPT and Stable Diffusion on Modal’s direction, and the shift toward making code execution in the cloud effortless.
- 7:50Funding Strategy and Revenue Explosion
He discusses self‑funding, the delayed seed round, and the rapid revenue growth triggered by Stable Diffusion and Gen‑AI inference demand.
- 13:38Capacity Management and Cloud Procurement
Bernhardsson explains Modal’s reliance on spot and reserved capacity, the expansion to 25 clouds, and the creation of a dedicated procurement team to secure GPU resources.
- 30:37Financial Engineering and Asset Class Debate
He examines the debate over treating GPUs as an asset class, the challenges of hedging, and the potential for GPU markets to evolve into tradable commodities.
- 32:10Product Portfolio: Functions and Sandboxes
Bernhardsson details Modal’s core products—Model Functions and Model Sandboxes—how they evolved, their revenue contributions, and the vision of becoming a multi‑product AI platform.
- 36:10Future Directions: Training, Batch, and Agents
He outlines upcoming product plans for training, batch processing, and agentic AI, emphasizing the underserved mid‑market and the importance of building composable AI building blocks.
- 40:17Market Trends: Fine‑Tuning and Open‑Source Models
Bernhardsson discusses the shift from fine‑tuning to using advanced open‑source models, the impact on cost and quality, and the growing demand for post‑training services.
- 41:16Sandbox Evolution and Scaling
Discussion of how Modal’s sandbox product has evolved from Gvisor to full VMs, focusing on scaling, reliability, and new features like snapshotting and forking.
- 43:29Snapshotting Use Cases and Benefits
Exploration of snapshotting in sandboxes, its role in CI, and how it can enable bursty, parallel workloads for improved compute efficiency.
Highlights
- 0:59
Massive Revenue and User Growthdata
Modal grew at least 50x in terms of revenue, users, and overall usage since the guest was last on the podcast two years prior.
- 6:45
Stable Diffusion as a Killer Appstory
The emergence of Stable Diffusion in late 2022 served as an unexpected killer application that dramatically accelerated demand for Modal's infrastructure.
- 12:49
Managing Capacity as One Global Poolstrategy
Modal made the fateful decision early on to treat capacity management across the entire world as a single unified pool rather than separate regional clusters.
- 14:44
Procuring Hardware from 25 Cloudsstrategy
Modal expanded its vendor base to work with nearly 25 different cloud providers and set up a dedicated procurement desk to secure multi-year GPU deals.
- 20:28
Scarcity Rent Captured by Nvidiainsight
During periods of hardware constraint, economic scarcity rent is primarily captured by Nvidia and alternative cloud providers rather than software wrappers.
- 35:00
Explosion of Vibe Coding Demanddata
Modal Sandboxes grew to represent a third of total revenue as large language models improved at generating code and vibe coding platforms scaled up.
- 1:06:52
Rejecting On-Premises Business Modelsdebate
The guest argues that on-premises deployments and bring-your-own-cloud setups reflect legacy security paradigms, remaining a cloud maximalist.
- 1:17:52
Short-Lived Ephemeral Sandboxesdata
The median sandbox execution on Modal is only about eight seconds long, highlighting a shift toward highly ephemeral and bursty compute workloads.
Quotes
“I actually don't remember where we were, but it's like, it's probably like at least like 50x in terms of like revenue and users and usage and stuff like that, yeah.”
Unnamed speaker · 0:59 “We had to go multi-region very early. So I think that was like kind of a fateful decision in hindsight, like doing that and kind of spitting the bullet and building it.”
Unnamed speaker · 12:39 “I think the big thing for me is like, today, a lot of sandbox workloads are kind of like lift and shift.”
Unnamed speaker · 43:37 “I think we have, by far, the largest market share in this space.”
Unnamed speaker · 41:47 “I think a lot of like CI is like another like illustrative example.”
Unnamed speaker · 44:54 “It's gotten really good at math. It's gotten really good at cybersecurity.”
Unnamed speaker · 1:23:48 “I think anything that has, like, kind of a verifiable.”
Unnamed speaker · 1:24:34 “I think those are like, not exactly verifiable, but there's like certain ways you can sort of run, like,”
Unnamed speaker · 1:24:40
About this episode
Warm welcome to Basil Chatha, our newest cohost from the Forward Deployed side of the AI Engineering world! We’ll be ramping up a new show with him and couldn’t pass up an interview with Modal’s CEO Eric on the occasion of their monster Series D! Two y...
Transcript
18,499 words · 2 speakers
Topics
- Modal
- NVIDIA
- NeoClouds
- AWS
- Stable Diffusion
- Anthropic
- Spotify
- better.com
- ChatGPT
- OpenAI
Page updated · transcript and summary are machine-generated