Skip to content
← All articles

Modal stitches 25 clouds into one pool, escaping three-year GPU blocks

Erik Bernhardsson, CEO of Modal, gets into how the company sources GPU capacity from 25 clouds, why sandboxes took off after nearly being shut down, and what agents change.

Erik BernhardssonModalNvidiaAnthropicHugging FaceAI InfrastructureNeoCloudsAgentic AIInferenceNew
YouTube upload date not supplied
Modal stitches 25 clouds into one pool, escaping three-year GPU blocks

Recorded 22 October 2026 · 85 min

Modal's real product is duration transformation. The GPU market sells capacity as three-year blocks that start 3-6 months out, while real demand bursts and fades through the day. Erik Bernhardsson's bet is that aggregating thousands of customers smooths that demand enough to sell compute in slices as short as seconds.

Bernhardsson built Spotify's music recommendation system and was CTO of Better.com before founding Modal. He covers how Modal reached roughly 50x its revenue of two years ago, how it sources capacity from almost 25 clouds, why sandboxes it nearly shut down now bring in a third of revenue, and what agents change for developer tools.

The tension is risk. He signs three-year commitments worth tens or hundreds of millions of dollars while insisting hardware prices eventually fall like gravity. He also wants to stay a lean software company in a market pushing everyone toward owning hard assets.

  1. 50x in two years — ▶ 0:59

    Modal sells a compute and storage platform to customers including Decagon, Suno, Runway and Cognition. The workloads are mostly inference and sandboxes, with some training, fine-tuning and batch jobs. Revenue, users and usage are up at least 50x since the last time Bernhardsson appeared on the podcast two years ago, though he does not remember the exact starting point. The pitch is a software SDK: customers deploy and scale in production while Modal manages all the capacity underneath. The company now has about 200 employees, roughly 150 of them engineers.

  2. Execution, not orchestration — ▶ 4:53

    Modal began as a workflow orchestration idea, building on Luigi, the open source framework he wrote at Spotify. He realized the bigger problem was executing the compute, so he went deep and built a file system and container runtime. Stable Diffusion in fall 2022 became the killer app when the team was 4-5 people. Revenue went from $100 a month in November 2022 to $2,000 in December and $30,000 in January 2023. One customer, probably Mage in New York, was 80-90% of revenue in Q1 2023.

  3. Old tools don't fit GPUs — ▶ 10:30

    Every new era outgrows its predecessor's tools, as the cloud forced Kubernetes and Docker into existence. Those were built for steady CPU backends running at low utilization, where cost barely matters. GPUs flip that: expensive chips, utilization pressure and huge models loaded over the network. So Modal built its own file system, CPU and GPU snapshotting, autoscaler and scheduler, because you cannot wrap the old stack and get the new behavior. Going multi-region early and treating capacity as one global pool was, in hindsight, a "fateful" decision.

  4. From spot to 25 clouds — ▶ 13:21

    Until the end of last year most capacity was spot or one-year reservations from AWS, GCP, Azure and Oracle, aggregated across hundreds of regions. That broke as Modal grew and the market tightened. Now it works with almost 25 clouds, often on 3+ year deals with meaningful money up front. It built a procurement desk of four people calling neoclouds and a 10-person team managing bare metal, bad drives and failing GPUs. Modal owns nothing. He thinks software companies shouldn't hold hard assets, but "everything's on the table" for 2027 capacity.

  5. Scarcity isn't cornered — ▶ 18:06

    He disputes that capacity must be bought now. Nvidia ships several hundred thousand Blackwells a month, anyone paying the top price gets GPUs, and he likens the panic to "the great toilet paper shortage". Hardware prices are like gravity and eventually fall; the scarcity rent goes mostly to Nvidia and neoclouds. Reservations leave Modal effectively long GPU prices, so rising prices don't worry him. Collapsing prices do, for anyone locked in at the top. A veteran of 1999, he cites the Hunt brothers' failed silver corner and ramps on a plan matched to demand growth.

  6. Janky-warehouse capacity — ▶ 21:19

    Anthropic and OpenAI are buying up everything, but Bernhardsson speculates they prefer tried-and-true vendors, partly for large training blocks, and that Nvidia wants allocation spread toward neoclouds. That leaves riskier small clouds for Modal: 32 nodes in Armenia, 128 in Indonesia. Vendors get a spec sheet covering IOPS, CPU scores and bandwidth, plus one-node acceptance testing. Commitments of tens or hundreds of millions of dollars still involve "leap of faith". He keeps an internal "modal max" score, like SemiAnalysis's ClusterMax, that weighs reliability and support responsiveness.

  7. 2027, non-Nvidia, maybe — ▶ 26:13

    He has predicted the year of non-Nvidia accelerators for 5-10 years and been wrong each time, but says 2027 might finally be it. AMD is scoring well on some workloads, TPUs work widely inside Google and Trainium's software team is strong. Fixing the software layer is the unlock. Some run Nvidia for prefill and Cerebras for decode, mixing compute-bound and memory-bound stages, though deployment gets complex. He adds that TSMC and ASML may be a deeper bottleneck than Nvidia, and that "monopolies don't always last".

  8. How neoclouds presell — ▶ 28:25

    Neoclouds scale fast through a financing construct. They get a lab such as Anthropic or OpenAI to sign a roughly 5-year chip contract, take that to Wall Street to raise the money, buy the hardware and deliver. They effectively presell chips they haven't bought, and one has hundreds of billions in pipeline despite barely any capacity. Modal's PLG model can't lock long contracts the same way, so scaling is financially harder. He is skeptical that compute becomes a Henry Hub or Brent-style commodity, given differences in networks, locations, disks and reliability.

  9. Sandboxes nearly killed — ▶ 32:10

    Functions, launched in 2021, found product-market fit in 2023 and are now about two-thirds of revenue, mostly inference. Sandboxes launched in 2023 after he and his co-founder reasoned over lunch that LLMs output code and need somewhere to run it. A prototype shipped in a day or two. Revenue was insignificant into summer 2023 and the team discussed shutting it down. Then LLMs began generating full apps, and growth came from vibe-coding companies like Lovable, Ramp's background agents and neolabs running reinforcement learning. Sandboxes are now about a third of revenue.

  10. Ephemeral beats lift-and-shift — ▶ 43:29

    Most sandbox use today is lift and shift: a dev box in the cloud with an agent driving it. He expects long-running agents to behave like durable execution workflows, spinning up a sandbox in ~100 milliseconds, running a few commands, snapshotting and shutting down. Faster wake and sleep makes compute more efficient and enables forking, so one agent can branch into hundreds. CI is the example: run every test in its own sandbox, across a thousand of them. Today each shard repeats installs and setup, which takes minutes. Snapshot once and clone instead.

  11. Hugging Face incident — ▶ 47:30

    An app deployed on Modal was hacked and used as a springboard by agents that then exploited Hugging Face. He insists Modal itself wasn't hacked, just as an app compromised on AWS doesn't mean AWS was. His lesson is more restrictive security defaults, as AWS made S3 buckets harder to expose publicly. Modal now puts agents in sandboxes and tells them to escape, started a few months ago, and has found nothing so far. Pentests may stretch from every six months to yearly. He doesn't think big security vendors are cooked, since they hold enterprise relationships and give buyers someone to blame.

  12. Agents can't unlearn syntax — ▶ 54:49

    Nearly everything that makes developer experience good also makes agent experience good: docs, descriptive errors, fast feedback loops. Agents also push infrastructure toward imperative SDKs and away from YAML. A side effect is that training data makes deprecation hard, since agents keep writing old Modal syntax. Modal has become more conservative about removing features and must update every example online. It runs internal benchmarks asking agents to deploy Stable Diffusion or rank sandbox vendors, to see whether they recommend Modal. The answer is clearer content, not spam repos, which he says he doesn't love.

  13. FDEs as product pipeline — ▶ 57:48

    Modal grew forward deployed engineers from 4 at the start of the year to about 24. They tune LLM performance with customers, including draft models and serving parameters, catch overprovisioned CPU and memory, and help migrate code during deals. The rule is that Modal must not become a services business. Every FDE task should prompt "how do we turn this into product?" It has hired no product managers yet. He argues infra product management needs rare strategic thinking, or you end up with 35 similar-looking features.

  14. Duration transformation — ▶ 1:18:31

    Almost all GPU capacity is sold as a three-year rectangle starting 3-6 months out, but most demand isn't flat. It scales through the day, grows and bursts. Modal can give a customer 100 GPUs immediately, no salesperson, because aggregate demand across thousands of customers is smooth. He calls this duration transformation. He reduces Modal's value to two things: developer experience and flexible capacity, sliced finely thanks to fast scaling and GPU snapshotting. The median sandbox lasts about 8 seconds and may get shorter.

  15. Why labs aren't commodities — ▶ 1:21:20

    Inference providers should exist separately from model builders because the best open model keeps changing. A lab holding its own capacity would see demand spike at launch and drop when a rival ships. Modal shifts 50% of the GPUs for one model to another automatically. Asked if that makes LLMs commodities, he says no: Taylor Swift releases an album, tours, then records again, and keeps her brand and margin. Labs stay viable if margins repay training costs. He thinks intelligence isn't plateauing, but expects humans to compete in domains with diffuse targets and long feedback loops.

The open question. Bernhardsson says Modal is effectively long GPU prices through its reservations and that falling prices are the real danger, yet he is signing 3+ year deals for 2027 capacity. His own tail-risk scenario is correlated: prices, utilization and the resale market for capacity all vanish at once. That is exactly when a duration-transforming middleman holds the most locked-in supply against the least certain demand. He did not say how Modal's smoothing holds up if every customer's demand drops together, and he declined to comment on coordinating a capex arms race. Watch whether Modal ends up owning or financing hardware it says it does not want.

Watch the full video at https://www.youtube.com/watch?v=IiZ9yd2Do8I.

Add a private note.

Comments ()

Share this article

Search the library

Search titles and public subject metadata.