CEOInterviews.AI
Start App
Get an email when Erik Bernhardsson gives a new interview
One email per new interview. Unsubscribe in one click.
Erik Bernhardsson
Co-founder & CEO, Modal

Fireside Chat with Erik Bernhardsson, Modal

📅 Nov 12, 2026 LangChain 28 MIN 39 VIEWS 66 SEGMENTS · 2 SPEAKERS
Erik Bernhardsson, CEO and Co-Founder of Modal, explains what drove demand for Modal's sandboxes (vibe coding apps, background agents, and reinforcement learning rollouts) and why he thinks agent harnesses should run outside the sandbox, with sandboxes that are short-lived, maybe one per tool call. He also covers how Modal, which builds AI infrastructure for inference, training, and sandboxes, moved up the stack with auto and shared endpoints for open source models, when he thinks RL is worth its cost over supervised fine-tuning, and the multi-node training and discounted batch products Modal...

What Erik Bernhardsson said

Written from the verified transcript and checked against it. Every figure links to the moment it was said.

Erik Bernhardsson, CEO of Modal, discussed the company's evolution from a general-purpose AI infrastructure platform to a leader in sandboxes and inference. He noted that Modal, founded in early 2021, initially struggled but found a killer app with Stable Diffusion. Sandboxes, launched in 2023, took off in 2025, driven by vibe coding, background agents, and reinforcement learning at massive scale. He argued that sandboxes will become more ephemeral, with harnesses decoupled from execution. On inference, he said open-source models like Kimi K3 and DeepSeek 4.1 are now nearly as good as frontier models, saving two-thirds of token costs. He highlighted upcoming products: multi-node training clusters and a batch processing service with up to 50% discounts. He also discussed the growth of forward-deployed engineers from 3 to 25 and his bullishness on voice-to-voice models.

Key takeaways

  1. Open-source models like Kimi K3 and DeepSeek 4.1 are now nearly as good as frontier models, saving two-thirds of token costs.
  2. Modal is launching a multi-node training product with clusters of 4, 8, or 16 nodes (up to 128 GPUs) with RDMA interconnect.
  3. Modal is launching a batch product offering up to 50% discount for latency-insensitive background jobs.
  4. Bernhardsson predicts voice-to-voice models will be a game changer within 6 to 12 months.

Numbers and commitments

FigureWhat it refers toTypeAt
2021 Year Modal was founded timeline 1:01
2023 Year sandbox product was launched timeline 1:41
2025 Year sandbox product started growing timeline 1:41
12 seconds Median sandbox life cycle metric 7:34
50/50 Split between custom fine-tuned and off-the-shelf models by volume metric 14:20
95% Share of customers using off-the-shelf open source models metric 14:20
4, 8, 16 nodes Cluster sizes for multi-node training product commitment 19:54
128 GPUs Maximum GPU count in multi-node training cluster metric 19:54
50% Discount for background batch tasks commitment 19:54
25 Number of forward deployed engineers at Modal metric 21:40

Chapters

  1. 0:00Modal's platform and founding
  2. 2:47Sandbox product growth and use cases
  3. 7:11Sandbox architecture and future trends
  4. 12:32Inference strategy and open source models
  5. 15:43Post-training and reinforcement learning
  6. 19:44Upcoming products: training and batch
  7. 21:09Company evolution and FDE team
  8. 23:26AI in software development and GTM
  9. 26:53Excitement about voice models

Questions asked in this interview

12
  1. 0:10Would you maybe, could you talk a little bit about all the things you do and how you think they fit together?
  2. 1:23... know enough about, like, what the AI workloads would look like, so that you were building for that, or were you just building generic kind of infrastructure that was really easy to adapt to that as it became clear what it would look like?
  3. 5:43So, like, how much, like, sandbox-specific stuff did you have to build on top of the underlying primitives that you guys already had?
  4. 8:30Is that, like, the trend you're seeing as well?
  5. 11:24Like, is that a driving force for these?
  6. 14:06How much of the inference going through you guys do you think is on, like, these custom fine-tuned, post-trained models versus just off-the-shelf Kimi K3, if you had to guesstimate?
  7. 15:43For kind of, like, post-training, like supervised fine-tuning versus RL, like, what are you seeing people doing now? Has that changed over time?
  8. 18:43And is that something you try to make easier?
  9. 21:09Are you guys evolving in some way there?
  10. 23:2030, 40, probably more than that?
  11. 24:39Do you have some, like, in-house harness that people are running locally?
  12. 25:43Are you seeing the same in sales or go-to-market or people or other functions you guys have?
Interviewer 0:06 ↗
Thank you for being here, Erik. Excited to have you here.
Erik Bernhardsson 0:07 ↗
Yeah, it's awesome to be here.
Interviewer 0:10 ↗
Modal has been one of my favorite companies to watch grow up. You guys do a lot of stuff now. Would you maybe, could you talk a little bit about all the things you do and how you think they fit together?
Erik Bernhardsson 0:20 ↗
Yeah, so Modal, for you who have not tried us out, we build AI infrastructure, roughly is how I would put it. We power a lot of customers like Cognition, Decagon, Suno, Runway, a lot of inference, a lot of training, a lot of sandboxes. It's a fairly general purpose platform. You can use it for pretty wide range of stuff, though. But we've obviously seen, with all the Gen AI stuff, a lot of demand for, in particular, inference, like LLM, audio, video inference, but also sandboxes. It's been kind of more recently, in the last 12 months, something that's been exploding.
Interviewer 0:57 ↗
And you guys started before ChatGPT, right? Like, when was the company founded?
Erik Bernhardsson 1:01 ↗
Little bit before. So we started a company early 2021 and then kind of struggled a little bit to figure out what we're doing. It's funny, actually. We started just a few blocks from here. But then ChatGPT came in late 2022. Stable Diffusion also came actually right after, and Stable Diffusion in particular ended up being like a killer app for us in the first year or two.
Interviewer 1:23 ↗
Did you know that, like, when you were building Modal, this, again, like 2021, year or two before ChatGPT, did you know enough about, like, what the AI workloads would look like, so that you were building for that, or were you just building generic kind of infrastructure that was really easy to adapt to that as it became clear what it would look like?
Erik Bernhardsson 1:41 ↗
I mean, we're the latter, actually. Like, I think one of the benefits of building an infrastructure, I mean, we're like very deep in the infra layer. We think a lot about file systems and container runtimes and scheduling and that kind of stuff. And I always thought, like, one of the benefits of being in that layer is, like, you don't necessarily have to move, like, super fast with every trend. You have to take a little bit more of a longer term perspective and think about the building blocks and the primitives. We launched a serverless function product in 2021. It took actually one or two years to see product-market fit, and then we launched a sandbox product in 2023, and we didn't see that growing until 2025. So I always thought of, like, infrastructure is like a little bit more, like, slightly more longer term. You kind of build the right primitives and the right building blocks, and then we're obviously very lucky with all this Gen AI stuff. That's been tremendous for us. We're quite well positioned. AI was something we thought about, but we always thought of Modal as, like, AI, data, machine learning, compute-intensive stuff, HPC, and then Gen AI just came and it just, like, pulled us so hard in that direction.
Interviewer 2:47 ↗
Let's talk about sandboxes for a little bit, maybe. I think you tweeted at some point that was your fastest growing product. What happened to make it take off?
Erik Bernhardsson 2:55 ↗
There's a bunch of stuff. So sandboxes, again, we launched it actually back in 2023, and the observation back then was basically something like, it's like me and Akshat, my co-founder, kind of talking over lunch one day, and we're like, there's all these people using LLMs to generate code. Well, clearly they need a place to run that code, and we realized we actually had almost all the infrastructure to do that really well. So we launched that product. Like I mentioned, it didn't really take off until two years later. What started happening back in about a year ago, it's like customers started initially doing a lot of vibe coding. So companies like Lovable, or many other ones, were starting to basically, like, build apps from prompts, and they needed a place to execute that code. So that was, like, the first use case. After that, a lot of people started using Modal for background agents. So we have some customers like Ramp. They run the Ramp Inspect on Modal, which is basically their own internal background agent for coding. And then the third major use case that's actually been crazy large for us has been reinforcement learning. Not, like, a massive amount of customers, but the customers that use us run at, like, absurd scale. So we're talking about some millions of sandboxes, constant rollouts, and a lot of the reinforcement learning models, especially for coding, they need a way to execute that. So we've powered reinforcement learning for Meta and some other customers.
Interviewer 4:15 ↗
And when you think about these three different use cases, the coding agent, the background agent, reinforcement learning, are the sandbox primitives the same across all of them, or are there differences in terms of what's...
Erik Bernhardsson 4:26 ↗
Fairly similar. I mean, at a core, like, you need a programmatic way to, like, create a container from an image, run code in it, interact with it from the outside without, obviously, the agent sort of escaping the sandbox, which I've seen some news about that. So the interface is, like, pretty simple, that there's some more advanced stuff, like there's some cool stuff around, like, snapshotting sandboxes, code, cloning sandboxes. We're working on stuff like that. But I think to me the differentiation in the space has primarily been around, can you do that at very large scale? Can you do that with good performance? Can you do that reliably? We're like infra geeks. So for us, like, those are just things we're, like, very good at. And I think that explains why in the sandbox space, we've seen really strong adoption, and very solid. I don't know the market share number, but I imagine we're by far the biggest vendor in the sandbox space. I think that's been more the sort of the differentiation. And from the outside, it's like, going back to your point, it's fairly similar across all three of them. And I think the sandbox has been this, like, kind of nice fundamental building block for a lot of these applications.
Interviewer 5:35 ↗
Yeah. Another thing I'm curious about is it seems like pretty similar to a lot of the stuff you guys were doing even before that, in terms of just, like, spinning things up really quickly and provisioning.
Erik Bernhardsson 5:42 ↗
Totally.
Interviewer 5:43 ↗
So, like, how much, like, sandbox-specific stuff did you have to build on top of the underlying primitives that you guys already had?
Erik Bernhardsson 5:50 ↗
Not a whole lot to release the first version. Akshat, our CTO and co-founder, he built the first version of sandboxes in like two days, and then we kind of, like, put it out there, and not a lot happened for two years. But once we started seeing some growth, like, we had to rearchitect some of the internal systems just to handle, like, very, very large rollouts and scale. So we've had to rebuild some of that, like the core infrastructure. But a lot of the foundational stuff, like I mentioned, we built our file system, for instance, like, that file system powering sandboxes is very good for very fast loading of, or cold starts of, containers. We've had to go in to look at running full virtual machines more recently. So that's a very sandbox-specific thing. We previously used a runtime called gVisor. We're switching a lot to virtual machines right now. And...
Interviewer 6:40 ↗
Why, out of curiosity?
Erik Bernhardsson 6:42 ↗
It's primarily because some customers want to run, like, more full operating systems. So gVisor has some limitations, but with, in particular, running Docker, but also, I mean, with a full VM you can do stuff like mess around with, I don't know, firewall rules or whatever. Like, you can do anything inside these sandboxes, really, plus a little bit of a performance improvement. So we're also looking at actually, like, running, like, Windows sandboxes and stuff like that, maybe Mac too. Like, there's some interesting stuff there.
Interviewer 7:11 ↗
Interesting. One perception I had, at least at the start, was that there were maybe, like, different types of sandboxes. There was ones that were, like, really, you'd send, like, maybe really quick to spin up but weren't super stateful. So you'd send, like, just simple kind of, like, code you want to evaluate, and then there's more, like, stateful ones for long-running agents. Is that, like, a true distinction? Are they actually the same? How do you think about that, and what you guys want to be good at?
Erik Bernhardsson 7:34 ↗
I think that's roughly right. I will say, though, like, we've seen a lot of people wanting long-lived sort of stateful sandboxes. My view, this is a little bit of a hot take, is that a lot of that just reflects like kind of poor architectural choices from, like, the harnesses. Like, we have this, like, kind of dominant architecture where, like, the harness often runs, like, with the code itself inside the sandbox, and so naturally people want to run that for, like, 24 hours inside a sandbox. I think the future of agent harnesses is actually a decoupling where, like, you have a harness that's running for a very long time, but the sandboxes are more ephemeral, maybe one for every tool call, even. I do think our median sandbox life cycle is something like 12 seconds, but we have a very long tail of, like, 24 hours and stuff like that. But, yeah, I'm more of a, long term, I think a lot of sandboxes will generally be very short-lived.
Interviewer 8:30 ↗
I feel like this, like, Anthropic wrote their blog post separating, kind of, like, the hands from the brain. And I'd say, like, before that, when I was talking to people who are building agents, like, it was maybe 50/50 whether they'd run it in the sandbox or do it separate. Now I feel like it's maybe, like, 75 or 80% running it outside and connecting. Is that, like, the trend you're seeing as well? It sounds like you think that's where it should go.
Erik Bernhardsson 8:51 ↗
I think that's where it should go, 'cause then you can do some really cool stuff, like, your kind of harness just, like, spin off, like, multiple subagents, like, cloning things, like, explore kind of a whole branch, like, bring it back, like, and snapshot things and kind of resume, like, restore things. So I think that's ultimately, like, where it kind of has to go, just architecturally. It's harder to build these things, and I think, I mean, it's, like, crazy, right? Like, software engineering has, like, changed, like, so fundamentally. I mean, I think you write a lot of code still, right? Like, I try to write a lot of code still. It's, like, so different in the last 6 months, 12 months, and so my view is, like, AI is here. It's, like, changed a lot of the types of software we can build, but it's obviously also changed, like, how we build software. I kind of feel like a lot of the infrastructure and the tooling is still not quite, has, like, caught up with all of that. So I think we're going to see a lot of churn in, like, architectures and infrastructure. I mean, like, I think a lot about that with Modal because we're an infrastructure company, but I also think it applies to the agents and the harnesses and, maybe, companies like you. There's just going to be so many changes in the next 12 months, 24 months. Like, it's like when the mobile came, we had to come up with Objective-C, and then when internet came, we had to come up with Kubernetes and all these things. Like, I think it's the same thing with all these agent stuff. Like, we're going to have to come up with completely new infrastructure and completely new frameworks and all this stuff. So I'm very excited about that.
Interviewer 10:09 ↗
Maybe one last question on sandboxes. There's this idea of kind of, like, lightweight pseudo-sandboxes. So, like, Pydantic Monty or just-bash from Vercel or QuickJS, where they're, like, a subset of the runtime, where a lot of the premise is you don't need a full sandbox. It kind of mocks it out. Do you have any thoughts on that and the usefulness or place for that?
Erik Bernhardsson 10:28 ↗
I mean, maybe. Like, I think they could be useful for some stuff. Like, my general feeling is, like, a lot of the agents, like, today, like, they like to have, like, a fat, like, Linux box. Like, if anything, we've seen the pull in the opposite direction. We're moving from gVisor, which is, like, has, like, most of the surface area of a Linux, but we're moving away from it to virtual machines because there's like certain things that don't quite work in gVisor, and gVisor is, like, way more full-featured than a lot of these, like, if you go to, like, Wasm or V8 isolates or some of the stuff you mentioned. I don't know. Like, I think for certain use cases, when you want to run, like, an insane amount of, like, maybe they're good for, like, you take a small JavaScript snippet from a customer and you need to run it, like, a million times. I think something like Wasm or V8 isolates or something like you mentioned could actually make sense. But I think for the general case, like, my feeling is, like, you kind of want these, like, big fat VMs.
Interviewer 11:24 ↗
And does that also help with, like, computer use and things like that? Like, is that a driving force for these?
Erik Bernhardsson 11:32 ↗
Totally. Yeah. And I don't think we're seeing it quite yet. But, like, one thought I'm very excited about is, in general, the big labs have obviously seen tremendous success with coding models because coding is, like, quite verifiable. You can do the rollouts. You can run things and see, and do post-training very efficiently on coding sandboxes. I think, as we're moving into, like, and you may have whatever thesis you want about this, but, like, automating white collar work more broadly, like, we're probably going to see a lot of people doing rollouts in, like, Windows and Mac sandboxes because, if you want to automate, like, computer use, or browsers for that matter, like, you kind of need to train agents that kind of, like, click around in Excel and then Outlook and Slack and Teams and Zoom, maybe even, I don't know. Like, and so I'm kind of excited about that too over the next few years. So, I'm sure we're going to see a lot of demand for those things.
Interviewer 12:27 ↗
Maybe taking that and going into kind of, like, inference, because you guys also play there.
Erik Bernhardsson 12:30 ↗
Yeah.
Interviewer 12:32 ↗
Yeah. How has your strategy for inference evolved over time?
Erik Bernhardsson 12:37 ↗
Yeah. I mean, we support all the open source models. Pretty easy to deploy open source models on Modal. We also launched a couple of features around making it even easier. So we have a thing called auto endpoints, which is basically you can, like, point, like, one-click deploy a single-tenant Kimi K3 or something like that. We also have shared endpoints now, which is, like, more resource efficient because they're shared across a lot of users, just kind of off-the-shelf K3 models, etc. So we see a ton of demand. I think the sort of the conversation has shifted a lot in the last 12 months. I would say, like, a year ago, open source models were just not, nowhere, they were nowhere near the frontier models, right? And so the argument was more like, you can save a lot of money, like, you can fine-tune, like, and if you fine-tune or post-train, they're almost as good as, on specific use cases, they're almost as good as the frontier ones. Now the, like, at least in the last three months, the open source models have been, like, basically as good as the frontier models. Well, now OpenAI and Anthropic just launched a bunch of new models. So, like, not, I think they pulled ahead again, but I think what's shifted the conversation a little bit has been you actually don't need as much post-training, maybe. So, like, we still see a lot of people post-training, but I think also a lot of people are just very happy to just, like, swap out Anthropic for Kimi K3 or DeepSeek 4.1 or something like that, and save basically two-thirds of the token cost, and the model is, like, basically as...
Interviewer 14:06 ↗
How much of the inference going through you guys do you think is on, like, these custom fine-tuned, post-trained models versus just off-the-shelf Kimi K3, if you had to guesstimate?
Erik Bernhardsson 14:20 ↗
I actually don't know. I would assume it's 50/50 at this point. But it's like 50/50 by volume. It's probably, like, by number of customers, I'm sure it's like 95% of customers just use off-the-shelf open source models, and then you have a 5% of... You always have this, like, skew. Same with, like, reinforcement learning. It's like a very small amount of customers who drive insane amount of usage. Most customers do not need to do post-training and stuff like that. I think...
Interviewer 14:45 ↗
How do you think about that, like, 5% versus the skew, as like a founder and product leader? Like, are you building for the 5%? Do you want to do the long tail?

33 more exchanges in this transcript

Sign in free to read the rest of this interview. No card required.

Sign in to read the full transcript

Cite this transcript

APA, MLA, BibTeX
APA

Bernhardsson, E. (2026, November 12). Fireside Chat with Erik Bernhardsson, Modal [Interview transcript]. LangChain. CEOInterviews.AI. https://ceointerviews.ai/interview/3261393/

MLA

Erik Bernhardsson. "Fireside Chat with Erik Bernhardsson, Modal." LangChain, 12 Nov. 2026. Transcript, CEOInterviews.AI, https://ceointerviews.ai/interview/3261393/.

BibTeX
@misc{bernhardsson2026_3261393,
  author       = {Erik Bernhardsson},
  title        = {Fireside Chat with Erik Bernhardsson, Modal},
  howpublished = {Interview transcript, LangChain. CEOInterviews.AI},
  year         = {2026},
  month        = {nov},
  url          = {https://ceointerviews.ai/interview/3261393/},
  note         = {Speaker-attributed transcript with timestamps}
}