Latent Space: The AI Engineer Podcast
Latent Space: The AI Engineer Podcast

Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO

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... Full show notes and links

Featured Speakers

Latent.Space HostEric Bernhardson Guest

Topics Discussed

Episode Summary

Executive Summary: Modal founder Eric Bernhardson describes the company’s AI compute platform, its growth from serverless functions into sandbox infrastructure, and the engineering required to run bursty GPU workloads at scale. He argues that flexible, aggregated capacity and strong developer tools differentiate Modal from fixed-capacity cloud deals. He also discusses product expansion, AI-assisted development and security, hiring, and the risks of committing heavily to scarce GPU supply.

Main Topics: Modal’s infrastructure platform and origins: Modal provides compute and storage infrastructure for AI applications, including inference, sandboxes, training, and batch jobs. Its founder says the idea grew out of frustrations building compute-intensive recommendation systems at Spotify and the desire to make running cloud code easier. GPU capacity, procurement, and financial risk: As GPU supply tightened, Modal expanded beyond hyperscalers to work with nearly 25 cloud providers, negotiate multiyear capacity deals, and build procurement and infrastructure operations teams. Bernhardson sees renting versus owning as a complex trade-off and warns that overbuying could become costly if prices and utilization fall together. Flexible capacity as a competitive advantage: Modal aggregates demand from many customers and aims to provide on-demand, granular capacity rather than requiring customers to purchase fixed, three-year GPU blocks. The company sees fast scaling and the ability to shift compute between workloads and models as central parts of its value proposition. Product evolution: functions, sandboxes, and new workloads: Serverless functions remain Modal’s largest product, used especially for inference; sandboxes have become a substantial second product as coding agents and other AI applications need isolated places to execute code. The company is also exploring training, batch computing, post-training, and other infrastructure building blocks. Sandbox architecture and agentic computing: Modal is investing in virtual machines, snapshotting, fast startup and shutdown, and sandbox forking. Bernhardson argues that lower overhead could enable short-lived, highly parallel tasks—for example, running each CI test in its own sandbox—and more flexible long-running agents. AI’s effect on security and developer experience: Modal uses agents to probe its systems for vulnerabilities and is considering safer defaults following an incident in which an application hosted on Modal was exploited. The founder says good documentation, errors, and feedback loops benefit both developers and coding agents, while AI-generated code has made deprecation more difficult. Scaling the organization and product strategy: Modal is growing its engineering, sales, and forward-deployed teams while trying to preserve culture and avoid scattered priorities. The founder favors infrastructure products built from general-purpose primitives and sees customer-facing work as a way to identify capabilities that should eventually become self-serve products.

Key Arguments: AI workloads differ from traditional steady backend workloads: GPUs are expensive, models are large, and capacity utilization matters. Therefore, infrastructure designed around older container and orchestration assumptions often needs substantial rethinking. Modal’s ability to pool capacity across customers allows it to serve variable, bursty demand more flexibly than providers selling fixed, multiyear blocks. This aggregation is both a product advantage and a way to use infrastructure more efficiently. GPU scarcity does not justify buying as much capacity as possible. If GPU prices and utilization fall together, resale markets could also weaken, leaving buyers exposed to expensive commitments. Modal should be understood as a software and infrastructure platform, not simply a GPU reseller or neocloud. Its differentiation combines developer experience with capacity management and fast scaling. Sandbox demand grew as models became capable of generating larger amounts of usable code and companies adopted coding agents. Faster sandbox startup, snapshotting, and cloning could make highly parallel execution practical. Training remains an opportunity beyond massive frontier-model runs: researchers and businesses training smaller models, traditional ML systems, and computational-biology models may be underserved. AI agents can improve both offensive and defensive cybersecurity. Modal is testing agents against its own systems, while also considering more restrictive defaults to reduce customer misconfiguration risks. The founder expects AI to change how teams work, but argues that engineering quality, product judgment, strong systems, and good developer experience remain important. Agents may increase the value of reliable tests and infrastructure rather than eliminate those needs.

Data Points: Modal’s approximate revenue mix: About two-thirds functions and one-third sandboxes - The founder described functions as the larger product and sandboxes as roughly a third of revenue. Early monthly revenue progression: About $100 in November 2022; about $2,000 the following month; about $30,000 in January 2023 - The rapid increase followed demand for Stable Diffusion workloads. Early revenue concentration: One customer represented about 80–90% of revenue in the first quarter of 2023 - The customer was identified as Mage; revenue later diversified. Cloud-provider relationships: Almost 25 clouds - The founder said Modal now works with nearly 25 providers to secure capacity. Typical capacity commitments: Three-plus-year deals, often with meaningful upfront payments - The founder described these as increasingly necessary to secure GPU supply. Infrastructure procurement staffing: About 4 people in procurement and about 10 engineers managing bare-metal capacity - These teams handle vendor deals, capacity validation, and hardware and network issues. Modal workforce: About 200 employees, with a possible 250 by year-end - The founder said the company had recently passed 200 people and was growing rapidly. Forward-deployed engineers: About 4 at the start of the year and about 24 at the time of the interview - They support customer performance tuning, migrations, troubleshooting, and product learning. Sandbox duration: Median sandbox run of about 8 seconds - The founder used this to illustrate the short-lived nature of many current sandbox workloads. Sandbox revenue growth: About 30% monthly growth, according to the founder - He said sandbox revenue continued to grow despite repeatedly expecting it to plateau. Potential team growth: Possibly about 700 employees by the end of the following year - This was a projection based on continued growth, not a firm hiring target. Reliability: Recently about four or five nines of uptime - The founder gave this as a recent reliability level while acknowledging outages over the platform’s history.

Pivotal Quotes: "The more and more I think about modal and where we're going in the long run is like we're building, we're aggregating the world's compute capacity, and we're very good at slicing it out very granularly." — Eric Bernhardson: He summarizes Modal’s capacity-aggregation strategy and how it aims to distinguish the platform. "The faster you can get that wake-up, go-to-sleep cycle, the more you can create sandboxes that only run for like a very brief period. And that will make compute much more efficient." — Eric Bernhardson: He explains why fast sandbox startup, shutdown, and snapshotting could enable more efficient agent workloads. "I want to build a company that is around for like 20 to 30, 50 more years." — Eric Bernhardson: He explains his caution about aggressively buying capacity and taking on risks that could threaten the company’s long-term resilience.

Implications: AI infrastructure may reward platforms that combine flexible pooled capacity with software built for GPU-heavy, bursty workloads. But multiyear commitments expose providers to utilization and price-cycle risk. Agentic applications could expand demand for fast, ephemeral sandboxes, while making security defaults, testing, and developer-facing tools increasingly consequential.

🔓 Sign Up for Unlimited Episode Search

About Latent Space: The AI Engineer Podcast

The podcast by and for AI Engineers! In 2025, over 10 million readers and listeners came to Latent Space to hear about news, papers and interviews in Software 3.0. We cover Foundation Models changing every domain in Code Generation, Multimodality, AI Agents, GPU Infra and more, directly from the founders, builders, and thinkers involved in pushing the cutting edge. Striving to give you both the definitive take on the Current Thing down to the first introduction to the tech you'll be using in the next 3 months! We break news and exclusive interviews from OpenAI, Anthropic, Gemini, Meta (Soumith Chintala), Sierra (Bret Taylor), tiny (George Hotz), Databricks/MosaicML (Jon Frankle), Modular (Chris Lattner), Answer.ai (Jeremy Howard), et al. Full show notes always on https://latent.space

View all episodes from Latent Space: The AI Engineer Podcast