Erik Bernhardsson

Things Erik Says on Podcasts

Co-founder and CEO of Modal, a cloud platform for running AI inference, training and sandboxes. Earlier built music recommendation systems at Spotify and later served as CTO of Better. Writes about software, infrastructure and how companies buy software on his blog erikbern.com. Guest on Unsupervised Learning with Jacob Effron, Latent Space, The Twenty Minute VC, No Priors, The Peel, Software Engineering Daily, Gradient Dissent and The MAD Podcast, usually on GPU markets, inference and developer tools.

Where to Find Them

Erik Bernhardsson writes Unsupervised Learning with Jacob Effron . They have also been a guest on The Information's TITV (2 times) , Latent Space (2 times) , The Analytics Engineering Podcast (2 times) , No Priors , devtools.fm: Developer Tools, Open Source, Software Development , Software Engineering Daily , Gradient Dissent: Conversations on AI , Practical AI , Scaling DevTools , The Twenty Minute VC (20VC): Venture Capital | Startup Funding | The Pitch , The MAD Podcast with Matt Turck , The Peel with Turner Novak and Super Data Science: ML & AI Podcast with Jon Krohn .

Recently: “20VC: Who Wins the Inference Market | Has Open-Source LLM Inference Peaked? | What Happens to the Cost of Compute | The Real Limits of Post-Training and RL with Erik Bernhardsson, Modal CEO” on The Twenty Minute VC (20VC): Venture Capital | Startup Funding | The Pitch (November 2026); “Ep 95: Modal CEO on the Future of Inference, the Chaos of the GPU Market & Origins of the Sandbox Bet” on Unsupervised Learning with Jacob Effron (October 2026); “Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO” on Latent Space (October 2026); “The Pentagon’s CTO Explains the Anthropic Rift and Superintelligence Task Force” on The Information's TITV (October 2026); “OpenAI’s Multi-Billion Ad Strategy, Modal Labs CEO on AI Infrastructure, Twilio’s Voice AI Surge” on The Information's TITV (May 2026); “Building AI-Native Infrastructure for Developers | Erik Berhnardsson, CEO of Modal” on The Peel with Turner Novak (October 2025).

What They Said

“I feel like in a way, because of the training data and the training loops, there's more incumbency power. There's more staying power in software today. If you get inside the training data and you get the models to recommend a certain framework, I've heard people say, oh, I'm just going to use React for everything because agents are really good at it. I'm not going to try these new fancy front-end frameworks.” — Erik Bernhardsson, Unsupervised Learning with Jacob Effron

Bernhardsson says Modal now tracks which tools coding agents recommend, much like search engine optimization. Old code in training data also makes deprecating features harder, because agents keep generating code that uses them.

Unsupervised Learning with Jacob Effron · 2026-10-28 Permalink → Listen →
Unsupervised Learning with Jacob Effron Around 26:33 into the episode
Erik Bernhardsson

…like we've necessarily yet run up against the foundational limits. But I mean, Anthropic, like, you know, a couple of days ago, they announced they're moving off Git, I believe, or at least GitHub. We might run up against those limits at some point when we have 10x the amount of commits every day.

Jacob Effron

…right? From a developer to agents themselves, right? And I'm curious, like, how you think about what that means for modal as a business and some of the decisions you might make differently as more and more of folks interacting with modal are either doing it via agent or purely end-to-end agent.

Erik Bernhardsson

It's actually changed like a lot less than I think I would have expected. It turns out agents, I mean, like in the early days, we built modal in order to give engineers a better developer experience and the ability to move faster. It turns out like agents kind of want the same thing. They want fast feedback loop. They want good error messages, good documentation, a lot of the stuff like that that engineers want too. So most of the stuff is actually quite similar. I do think it's like certain things a little bit harder. One of the things we found, for instance, like deprecations is much more annoying because agents are trained often on a lot of old code that exists online. So removing features is much harder for us. We can't just rely on remove it from the documentation and wait three months because it's in the training data. People will use LMs to generate modal code. And that will be using deprecated features. And that's quite hard to change. So we've had to change our deprecation window quite a lot. Another thing we've started doing quite a lot is also setting up a lot of automated pipelines to basically have LMs continuously write modal code and making sure it compiles and not compiles…

Jacob Effron

One thing I'm struck by is you obviously had this very Prussian bet in 2023 on sandboxes, right? It sounds like you guys had kind of this instinct of like, hey, this is going to be something that's required for coding agents. And then, you know, it took a few years for it to really take off. And…

Patrick Chase

Jacob, are you fishing for the next thing we should be investing in?

Jacob Effron

100%. 100%. I'm nothing if not shameless.

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“I thought it would be the junior people that would adopt agents the most. I've actually seen almost the other way around. It's the very senior people, because for them, it's like giving them 10 interns. They've been constrained by the typing speed for a long time, but they have all these ideas in their heads.” — Erik Bernhardsson, Unsupervised Learning with Jacob Effron

Bernhardsson estimates about 95% of the code merged at Modal is now written by agents to some extent. He still thinks good engineers are needed to supervise them, and says some senior engineers have gone "complete agent maxing."

Unsupervised Learning with Jacob Effron · 2026-10-28 Permalink → Listen →
Unsupervised Learning with Jacob Effron Around 24:02 into the episode
Erik Bernhardsson

…like, how do you, how do you allocate resources? I mean, resource allocation is like basically like, you know, the number one thing that I think a CEO has has to has to really be ruthless about at a company. And like so much value is being created, like allocating the work to the right resources.

Patrick Chase

…keeping the system running. How much has you guys were building the company pre-Chat GPT and then post-Chat GPT moment? How much has that changed, maybe on the product side, what you guys were doing, but then also when you were thinking about building and the velocity that you can ship software at?

Erik Bernhardsson

Yeah, I mean, we've always benefited from being quite well positioned at a time where like AI kind of blew up. And that's been incredible to see. And we're powering so many different AI applications today that I had no idea would exist four years ago, five years ago when we started models. So that's been kind of incredible. And like you said, software in itself has also like how we build software has changed a lot. People write, I mean, like, I think probably like at this point, like 95% of the lines of code that gets merged at modal is probably written by agents to some extent. Infrastructure still, I feel like, relies a lot on like agents are like kind of good at it. I've actually been on a tier like the last few days, like building or the last few months, actually, like writing like an insane amount of code using agents. And like, it's kind of incredible, like, what they can build, but like, you kind of still need humans to like supervise them quite a lot. And like, you know, infrastructure has a lot of tail risks around the reliability and taking and making sure that things scale and like…

Patrick Chase

How have you found the velocity of shipping software has changed what you guys need to do with code review or CI CD or deployment? Have those pieces of your development lifecycle changed at all?

Erik Bernhardsson

I think a little bit. I think we're coming up against some of those constraints. We've had to spend a lot more time on CI CD. I always like, you know, even long before agents, I always like, you know, I was a CTO for many years. Like, I was always obsessed with CI CD as very, very important to…

Jacob Effron

But it's interesting to think about kind of the, you know, how different the world is with these really powerful coding agents. And obviously, I think, you know, part of what I believe your co-founders talked about is kind of the shift even in who the consumer of modal is over time, right? From a…

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“I went to GTC earlier this year in San Jose, the NVIDIA big conference. And it was like an open-air drug market, but like GPUs. You're just walking around, talking to people, trying to get GPUs and meeting people in hotel lobbies and exchanging numbers. … I think we got connected with someone who had GPUs because I think our VP of sales' cousin was golfing with someone and we got connected.” — Erik Bernhardsson, Unsupervised Learning with Jacob Effron

Asked how organized the GPU compute market really is, Modal's CEO described it as "a lot of late night WhatsApp groups." He argues compute comes in too many shapes to trade on an exchange, so it will stay unwieldy for a long time.

Unsupervised Learning with Jacob Effron · 2026-10-28 Permalink → Listen →
Unsupervised Learning with Jacob Effron Around 05:03 into the episode
Erik Bernhardsson

…more efficiently. And the value prop of Modal has always been like, don't think about capacity. Like we handle all of that like annoying stuff, the sort of the day-to-day knife fighting of getting capacity and working. We work with 25 different clouds at this point and adding more all the time. How

Jacob Effron

much of like an organized marketplace is compute these days versus like the wild west, like random people that somehow have capacity and late night text messages?

Erik Bernhardsson

It's a lot of late night WhatsApp groups and like it's pretty unorganized. Like, I mean, I went to GTC last year, or sorry, earlier this year in San Jose, the NVIDIA big conference they're doing. And it was like an open-air drug market, but like GPUs, like you're just like walking around, like talking to people, trying to get GPUs and, you know, meeting people in hotel lobbies and, you know, exchanging numbers. And, you know, I mean, at some point, we, I think we got connected with someone who had GPUs because I think our VP of sales cousin was golfing with someone and we got connected. Like there's many such cases. Like it's very far from an efficient market. I mean, some people are working on this and I think over time it'll get a little bit more efficient, but it's very heterogeneous. Like compute comes in many sort of different shapes or forms. So I also feel like structurally, like it will not, like it will be a little bit like sort of unwieldy for a long time. Like it's just not something you can like sort of buy and sell on an exchange because it's not like a fungible contract.

Jacob Effron

Yeah, maybe the key differences being like, I guess, the kind of actual powered shell or size of the cluster and like the chips themselves. To your point, there's a lot of people that have been trying to build like, hey, you know, compute is this fungible single asset that you could build a…

Erik Bernhardsson

I think a lot of it's actually boils down to reliability. I mean, first of all, it's like, you know, differences in like disk and networking and of course CPU and memory and things like all these things vary and region or like location, like they're all over the world. Like we have GPUs in the US…

Speaker 4

Have you found the data providers, the companies

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“Because of agent training data, it's very hard to deprecate things now. We see that agents often love using old versions of Modal syntax. And it's kind of hard to nudge them away from that. So we've actually had to be a little bit more conservative ... with how we deprecate and remove features.” — Erik Bernhardsson, Latent Space

Asked what Modal changed in its product now that so many users are agents, Bernhardsson said old syntax lives on in model training data. Modal now has to update every example online before removing a feature, and it runs internal tests to see whether agents recommend it.

Latent Space · 2026-10-22 Permalink → Listen →
Latent Space
Speaker 2

…with it tear the sandbox down right like rather than sort of declarative using using you know some sort of dsl it also pushes like a little bit of a different interface that maybe previously didn't exist i think in either way like sdks are as relevant as they would as they always were if not more

Speaker 1

is there anything you changed in your product just because like you know most people are just running agents on on it

Speaker 2

we do uh i mean we also we actually do run a lot of internal tests where we have agents we tell agents To build a modal app and run it. And I mean, a very concrete thing that is kind of funny is that we've actually seen that because of agent training data, it's very hard to deprecate things now. We see that agents often love using old versions of modal syntax. And it's kind of hard to nudge them away from that. So we've actually had to be a little bit more conservative going forward. Over the last year or so with how we deprecate and remove features, we have to be very careful to update every single example that's out there online. New skills, right? Yeah, there's stuff like that. But there's also an insane amount of modal code that's now online too, that goes into the training data. I've seen that to be kind of an interesting example where another thing, by…

Speaker 1

do about that? Yeah, you say, hey, build a stable diffusion thing. Does it recommend modal or not? What do you do about that?

Speaker 2

Yeah, I think that's harder. I think, you know, it's like search engine optimization. I think it's primarily through content. It's like you just have to put out a lot of content. Interesting. You can also, to some extent, see the perception, I think, a little bit more. You can ask an agent, rank…

Speaker 1

Have you thought about just making a bunch of GitHub repos and having the agents write a bunch of modal code in there? Have you tried that? Slot

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.
“My view is code reviews in large part is people in many cases trying to just escape the accountability of merging things into production. And if you have that culture, then to me, that's a sign that you need to invest way more in CD and CI.” — Erik Bernhardsson, Latent Space

Asked how Modal reviews code now that non-technical staff commit it too, the Modal CEO said code reviews there are optional. He argued that especially with AI, a human doesn't need to look at every change, as long as testing, rate limits and decoupled systems are strong.

Latent Space · 2026-10-22 Permalink → Listen →
Latent Space
Speaker 2

…lot of people who are not in the tech team still write code. So that to me is like, you know, a recent phenomenon. But I actually don't know if it's like necessarily cost by Gen AI, but I think Gen AI has greatly accelerated it because it made it even lower. The cost of writing code is even easier.

Speaker 1

So if you have non-technical people committing code, how do you review that? How do you guys do code reviews?

Speaker 2

We do code reviews, but we think of it as optional. I mean, for most, my view is like code reviews in large part is people in many cases trying to just escape the accountability of merging things into production. And if you have that, like, you know, if you have that culture, then to me, that's a sign that you need to invest way more in CD and CI and things like that, or CI in particular, but also CD, continuous integration, continuous deployment. We do code reviews. I mean, when I write code, occasionally, I'm asking authors, is this in line with how you think about things? I hope I'm not changing the architecture fundamentally. But we also make it clear internally that code reviews are quite optional. And if you're just changing docs, if you're just doing some basic stuff, don't wait for a human to look at it, especially in the era of AI. Why do you need a human to look at every piece of code? You don't have to. But that does require you to have very good controls internally around testing things. Yeah, and exactly. Infra…

Speaker 1

do you guys use like frontier models for coding or do you guys have you guys experimented with uh like the open source ones

Speaker 2

we experiment with everything but yeah i mean you know initially it was a lot of cursor then you know of course clawed and codex and now a lot of people are using you know night shift and all this open source stuff or other stacks so i don't necessarily have like a strong point of view like i want…

Speaker 1

something i read maybe like i don't know a year ago maybe like two years ago you were saying that you didn't think that there was going to be like a big on-prem business for you guys um have you maybe like changed your opinion on that

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.

Collections They Appear In