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

Modal CEO on Agent Maxxing, the Future of Inference & Unpacking the Chaos of the GPU Market

📅 Oct 28, 2026 Unsupervised Learning: With Jacob Effron 59 MIN 1569 VIEWS 101 SEGMENTS · 3 SPEAKERS
Jacob Effron and Pat Chase sit down with Erik Bernhardsson, co-founder and CEO of Modal, for his second appearance on Unsupervised Learning, now with the company past a $1B run rate. They dig into how the AI compute market actually works behind the scenes, why Modal’s early bets on sandboxes and low-level infrastructure paid off, and Erik’s takes on NeoClouds, NeoLabs, and where GPU prices are headed next. 0:00 Intro 1:26 The Compute Market Today 5:16 Modal’s Path to LLM Inference 10:02 Building the Hard Infrastructure 12:32 Unsolved Problems in Inference 16:07 Chips & Model Sizes 21:21 What...

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 chaotic GPU market, describing it as an 'open-air drug market' with late-night WhatsApp groups and inefficient pricing. He detailed Modal's strategy of aggregating compute from 25 clouds, handling reliability issues, and building proprietary infrastructure like a custom file system and container runtime. He highlighted the growth of Sandboxes, now a $300 million run rate business and a third of revenue, and the recent launch of an LLM inference product, also a third of revenue. Bernhardsson argued that durable differentiation comes from offering a multi-product platform rather than just serving tokens, which he sees as a race to the bottom. He predicted GPU prices will rise in the next 12 months, citing Anthropic's profitability and continued capacity demand. He also discussed the impact of AI agents on software development, noting that 95% of code at Modal is now agent-written, and shared his views on neoclouds, neolabs, and the future of AI infrastructure.

Key takeaways

  1. Modal's Sandboxes product is a $300 million run rate business, about a third of revenue, and has grown nearly a thousand-fold.
  2. LLM inference is now about a third of Modal's revenue, driven by demand since the DeepSeek moment.
  3. Bernhardsson predicts GPU rental prices will be higher in 12 months, citing Anthropic's profitability and continued capacity demand.
  4. 95% of lines of code merged at Modal are now written by AI agents, with senior engineers adopting them most.
  5. Modal works with 25 different clouds and does two to three compute deals per week to secure capacity.

Numbers and commitments

FigureWhat it refers toTypeAt
25 Number of clouds Modal works with metric 1:29
$300 million Sandboxes run rate business metric 6:19
95% Lines of code at Modal written by agents metric 27:24
500x Revenue growth over three years metric 42:10
15x Growth in last 12 months metric 53:07
30% Upfront payment for GPU commitments metric 46:42
150 engineers Number of engineers at Modal metric 25:33

Chapters

  1. 0:00GPU market chaos and compute sourcing
  2. 3:46Compute reliability and pricing data
  3. 5:16Modal's product evolution and inference launch
  4. 10:02Proprietary infrastructure and cold start
  5. 12:45Inference optimization and open source
  6. 16:06Chip diversity and model-to-chip matching
  7. 20:26Model size trends and differentiation
  8. 23:41Customer portfolio and prioritization
  9. 27:24AI agents and software development
  10. 42:50Neoclouds, neolabs, and GPU pricing outlook

Questions asked in this interview

12
  1. 0:00How much of like an organized marketplace is compute these days versus like the wild west?
  2. 3:29What are some of the key differences you observe?
  3. 10:02How does that show up in the product today, when the — the experience developers can have?
  4. 18:18Do you feel like most people are using the like optimal, you know, chip or, you know, from a price perspective for what they're working on, or is there still a lot of room for improvement there?
  5. 23:41Maybe can you touch on a few of the more interesting ones?
  6. 29:23Have those pieces of your development life cycle changed at all?
  7. 33:19And how much of your product portfolio is like those kind of bets versus like, okay, we know this is a hair-on-fire, here-and-now problem?
  8. 36:11... so many more tools that would be helpful for these agents to make them more effective for people that use them.' How do you think about whether you further build into that world, or the set of things that are interesting for you there?
  9. 42:50And I'm curious, like, what do you think happens to this landscape over time?
  10. 48:15And what do you kind of think of that overall market?
  11. 53:56What are your thoughts on why that is, and has the Swedish House Mafia been replaced by the Swedish tech mafia?
  12. 57:09What do years 10 through 20 look like?
Patrick Chase 0:00 ↗
How much of like an organized marketplace is compute these days versus like the wild west?
Erik Bernhardsson 0:04 ↗
I went to GTC last year. It was like an open-air drug market, but like GPUs, walking around like talking to people, trying to get GPUs and meeting people in hotel lobbies, exchanging numbers. It's very far from an efficient market. I mean, some people are working on this. Compute comes in many different shapes or forms. I also feel like structurally 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 in an exchange because it's not like a fungible contract.
Patrick Chase 0:34 ↗
Welcome to Unsupervised Learning. As you can probably tell from my voice, I am not Jacob. I am Patrick Chase, GP at Redpoint. So awesome to have Eric on Unsupervised Learning for the second time. He is the founder and CEO at Modal.
I have learned so much from working with him over the last 3 years. He is one of my favorite people to jam on AI ideas with. He has an incredible ability to move seamlessly from the lowest altitude of developer shipping code to the highest altitude of where the market is going and building what is missing. We talk about the Modal journey over the last 3 years, the crazy technology they have built to make it all work, inference, sandboxes, and what's coming next. Hope you enjoy the episode.
For you guys, there is obviously a ton of AI compute demand, and lots of people going out and trying to reserve, you know, GPUs and CPUs. What's it like for you guys finding compute in the market today?
Erik Bernhardsson 1:29 ↗
It's pretty rough. I mean, like, you know, not rough in the sense that like we can actually find compute. I think there's a little bit of a misconception that like we're sort of — we are certainly scarce, you know, in terms of compute in certain ways, but like there is capacity you can get. You just have to look a little bit further, accept higher prices, accept longer terms, etc. And we do that a lot. I mean, we probably do like two compute deals every week at this point, if not three. And so we keep, you know, just stacking up, you know, more and more compute. And I really think that's the beauty of Modal is we can aggregate all this demand and manage the capacity in aggregate much more efficiently. And the value prop of Modal has always been like don't think about capacity, like we handle all of that annoying stuff, the sort of day-to-day knife fighting of getting capacity. We work with 25 different clouds at this point and adding more all the time.
Patrick Chase 2:18 ↗
How much of like an organized marketplace is compute these days versus like the wild west, like random people that somehow have capacity and, you know, late night text messages?
Erik Bernhardsson 2:26 ↗
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 it was earlier this year in San Jose, the NVIDIA big conference they were 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 exchanging numbers. And you know, I mean at some point 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 will 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 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.
Patrick Chase 3:29 ↗
Yeah, yeah. I mean the key differences being like I guess the kind of actual power draw or size of the cluster and like the chips themselves. Or 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 marketplace around. What are some of the key differences you observe?
Erik Bernhardsson 3:46 ↗
I think a lot of this actually boils down to reliability. I mean first of all there's like, you know, differences in like disk and networking and of course CPU and memory and things like that — all these things vary. And region, like location, like they're all over the world. Like we have GPUs in the US of course, like all over the US, but we also have GPUs in like Indonesia, all over Europe, etc. So location is one of those big factors. And then but also reliability, and that's another thing we do exceptionally well is like we aggregate all this capacity and then when NeoClouds die or like when they have failures — which they often have because some of these are like former crypto miners who haven't really thought about, you know, running a 24/7 operation — we can just take it out of rotation. Or like when GPUs fall off the bus or whatever, like in many cases we just file a ticket automatically and someone goes and looks at it.
Patrick Chase 4:37 ↗
Have you found the data providers, the companies that provide pricing for GPU and that sort of things, have you found them to be helpful?
Erik Bernhardsson 4:45 ↗
I think moderately helpful. I think the pricing less so than just their ability to connect with a lot of providers. I don't fully trust the pricing today. But I think some of these providers are actually very good at like, you know, knowing all the NeoClouds, and we work with them sometimes to get connections with cloud providers. The pricing I think over time will get more accurate. Like our internal pricing does not match what we see publicly when we buy capacity, but I think over time hopefully like we will have more efficient external prices. I think that would actually be very useful.
Patrick Chase 5:16 ↗
You've been on this like rocket ship journey these past years, and so lots of things we'd love to dig into for our listeners on the business side. Maybe starting, you know, I think one of the interesting things about the history of Modal is, you know, for a while it felt like you publicly said, I think on your first Unsupervised Learning episode, that you were less focused, you know, on these LLM inference calls, specifically like a simple API, you know, call for a model. And you know, you kind of recently released a product there. Maybe talk a little bit about the journey and kind of that initial reticence and what made you decide that like now is the right time to really, you know, double down on this.
Erik Bernhardsson 5:53 ↗
Yeah. So we started building this in late 2021 basically, or early 2022, somewhere around that time. And the initial product was this serverless function, and we thought it would be really useful for a wide range of stuff around like data, AI, machine learning broadly speaking. Kind of looked at a lot of different use cases, but then like ChatGPT came late 2022 and Stable Diffusion also came around the same time.
Patrick Chase 6:18 ↗
Right, right.
Erik Bernhardsson 6:19 ↗
It turned out like we were like super well positioned to host a number of Stable Diffusion applications. So that provided — that was like the first year of growth was like all Stable Diffusion, and then we started like expanding into like adjacent use cases like audio and video and stuff like that. And it was like early teams that, you know, they were deploying GPU inference, they didn't want to deal with underlying infrastructure, they wanted to move fast. Like we started aggregating a lot of different GPUs across a lot of different clouds. Even back then, we always knew we wanted to be multi-product, but we started with the serverless, like the sort of compute primitive, because we felt like it was so general purpose. And we focused a lot on like what I think was like high-code use cases, like focus on like machine learning engineers and researchers who wanted to write code, and focus a lot on like being kind of low in the stack, right? And pretty early we built also a storage layer, a file system to store data, in particular container images. Then we launched a sandbox product in 2023, and the reason why we launched it back then — we started seeing people like messing around with LLMs to generate code, and we figured actually like a lot of stuff we built on the infrastructure side is really well suited to run that code, and they're going to need a place to run that in an isolated way. It didn't immediately — it wasn't like an overnight success, but like basically 2025 it kind of blew up because I think models got really good at writing code back then. So about a year ago. So that was sort of our venture into like kind of becoming like a multi-product vendor, like starting about 12 months ago. Like Sandboxes has been in a tier and grown like I don't know, thousand-x almost or something like that. It's about a third of our revenue right now. Standalone is a 300 million run rate business — Sandboxes. So that's been incredible in terms of, you know, becoming a multi-product vendor. We just launched also a training product. So sort of, you know, building, trying to lay out like all the different building blocks and, you know, what does that suite of tools look like and what are the toolboxes in this like new world of like AI applications. Like they're all going to need a bunch of new primitives and like we want to offer all those primitives and what does that look like. So LLM inference was something we were a little bit on the sidelines for a while, until actually I would say the DeepSeek moment. So that was about a year and a half ago, like early 2025, when DeepSeek came out, which was like the first Chinese open source model that was like actually really good. And then I was like, 'Fuck it. Like we got to get in here.' And like we started building up a team to do a lot of inference optimization. Modal has always been really good at LLM inference, like but we didn't necessarily have a product for it. In fact, we didn't even have an inference product until very recently. We're just like really good at hosting inference including LLM inference, but it was like kind of custom, and a lot of the teams that wanted to run LLM inference a year or two ago, like they had to deploy it themselves, or like we would work with them. But we started seeing a lot of demand with the DeepSeek moment over the last 18 months, started seeing a lot of growth. LLM inference is now about a third of our revenue too, so we've seen incredible growth with that. And a few months ago we started — we shipped a number of LLM-specific features because we think, you know, we kind of laid this like foundational layers, like the storage, the compute, the serverless functions, the file system, etc. I think there's a lot of opportunity to move up in the stack. So we started moving up in the stack now and launched a dedicated inference product. So you can get like a single-tenant — models like all the state-of-the-art Chinese models or a bunch of US ones too — like one single click or CLI command you can just deploy on Modal, as well as a bunch of shared endpoints, like you can just call models off the shelf without having to deploy them, fully token-based pricing. And so I think those are, you know, the first out of like many more products to come, like slightly higher up in the layer. We think there's a lot of opportunity because we're sitting on this like very solid foundation in the compute and the storage.
Patrick Chase 10:02 ↗
Maybe like you guys will start at the bottom of the stack and work our way up. But going back in time, you touched on it, but you guys invested in some really hardcore technology in the early days. You built your own file system, container runtime, those types of things. How does that show up in the product today, when the — the experience developers can have?
Erik Bernhardsson 10:24 ↗
Yeah, I think a massive source of alpha in this market is just like not being afraid to do hard things. So we went all in when we realized like in order to deliver on the developer experience we wanted to have in the very early days, we realized like we kind of have to build our own file system to do container images really fast. So we started building that in the very early days. And that became like over the next few years, you know, it still is like a very massive source of alpha. It's been a longer journey for sure. Like we've had to go a much longer route, like building our own file system, building our own container runtime, our own scheduler — like we don't use Kubernetes and Docker. Like we use like very little off-the-shelf software. We use gVisor, which is a fantastic Google product for isolation, recently started using also KVM for certain tasks. But like decided pretty early on that like a lot of the stuff we're going to have to build ourselves, and others do some really cool stuff. I think, you know, one of the best examples where that shows up is we can cold start extremely fast. Turned out like the initial developer experience that we wanted, like very fast feedback loop when you're launching stuff in the cloud, that is also very helpful when you're building autoscaling applications that need to scale up and down very fast. So first of all the loading the containers very fast, but over time we also launched a couple of really cool features around CPU snapshotting and GPU snapshotting. So we can like very fast load data from the disk or from network straight into the GPU and fire up like even these like large models in a few seconds, which is really cool. And over the last six months we built this incredibly complex system that basically uses RDMA over peer-to-peer between the nodes to copy data very fast. So I think a lot of this stuff is like kind of, you know, accumulating and really starting to pay off. Like we built some crazy stuff and now that's like, you know, we're really kind of, you know, reaping the dividends of those sort of investments that we made for many, many years. It was a longer route, but you know now I think we have some incredibly unique technology that's very hard to replicate.
Patrick Chase 12:32 ↗
And then kind of moving up to inference, what do you view as — you guys have made, you know, tons of investments there as well and optimizations — what do you view as the unsolved problems in the inference world or in the inference stack?
Erik Bernhardsson 12:45 ↗
I think we're still pretty early with inference. I think, you know, a lot of stuff is like — it's like one of those like very empirical sciences, like I think people are trying different things and seeing what works. I mean over time like people have kind of figured out a lot of stuff, you know, take something like disaggregated prefill, right? Like it's a very non-obvious idea, like you sort of, you know, do the prefill on a set of nodes and then you copy the data over RDMA and do the decode and kind of swap. There's some like very non-obvious things, but like we've invested a lot in those types of things. The KV caching, there's a lot of complexity around like KV caching of course, like running more efficient kernels, that's something people do a lot. There's a lot of these things that, you know, we have a team of I think 20, 30 people right now who are extremely focused on just like LLM performance optimization. And you know, it takes a lot of work, you have to stay up with research, you have to read papers, you have to look at all the software coming out all the time and try and see what works, what doesn't work. It's still kind of an empirical science. Over time I think, you know, patterns will emerge. I think also the models themselves will change very quickly, like now we have like mixture of experts and more complex things. Over time like who knows, like maybe we'll swap out the transformers for something else, and you know, and that would change how like KV caching works. Like there's all these things like that could, you know, change overnight if someone figures out like a very different paradigm for all these things, and maybe they will, maybe they won't, I don't know. There's also obviously a lot of stuff around quantization and other things. So yeah, it's a wild world out there, but yeah, we're playing around with all these things.
Patrick Chase 14:20 ↗
But it feels like there's so many folks that are working on, you know, different parts of improving inference, and obviously what's I think been really interesting the last two, three years is a lot of those optimizations and improvements have been in open source, right? And like, you know, for the broader community maybe shared via research. As like a CEO, how do you think about like the level of — like the kinds of problems you want your team to go solve versus, you know, it's like, hey, we're going to benefit from just the entire community like pushing this space forward.
Ann Maris 14:45 ↗
Hi, I'm Ann Maris and I'm the producer of Unsupervised Learning. Thank you so much for listening to the show, and if you've enjoyed the conversation, please subscribe. Subscribing helps us grow, which helps us continue to lock down some amazing guests. Thank you so much for your listenership and see you next episode.
Patrick Chase 15:01 ↗
As like a CEO, how do you think about like the level of — like the kinds of problems you want your team to go solve versus, you know, it's like, hey, we're going to benefit from just the entire community like pushing this space forward.
Erik Bernhardsson 15:14 ↗
We actually love open source because I think a lot of our alpha is in the proprietary side, in the infrastructure layer, like all this like cool stuff around like autoscaling for instance. So I think unlike other inference providers, we've actually leaned very heavily into open source. We work very closely with both the vLLM team and the SGLang team. We contribute very actively to both those repos and do a lot of optimizations with them. And so I think this is maybe a little bit of a different approach than maybe other inference providers. Of course there's going to be, you know, certain things that, you know, we keep internal, but almost everything we push to open source. And I think it's, you know, it's because like we have so much alpha in the infrastructure anyway, like we might as well just, you know, work with the amazing open source engines that are out there that maybe were, you know, they weren't state-of-the-art like, you know, a few years ago, but now they are. And that's an incredible thing that like we'd love to leverage, frankly.
Patrick Chase 16:06 ↗
You know, you were talking about heterogeneous compute and the different places where you're getting compute from, and also how the, you know, kind of inference stack is changing. How important are, you know, the long tail of chips to you guys, the non-NVIDIA chips and things like that, as you think about your supply or kind of what the — what your serving stack looks like over time?
Erik Bernhardsson 16:29 ↗
I mean, I think NVIDIA is still like the king here. Like they have the best chips. There's way more demand for NVIDIA versus anything else. Like, you know, we're curious about some of the other chips, like, you know, we made some experiments like taking a look at it, but NVIDIA definitely has the best chips. But you know, like looking at AMD, Trainium, TPUs, etc., like starting to be like pretty good, so we're always curious about that. And then of course there's a lot of like older chips too. And I think the challenge has been like for a lot of the LLMs, like you're kind of constantly pushing like, you know, how many parameters can you fit. So typically the latest and greatest LLM, like they will always require, you know, a full node. Maybe in the future even multiple nodes, who knows? So like eight B300s, like they will require the latest chip and like eight of them because that's how many you can fit on a node. But there's plenty of models outside of that, like older LLMs, smaller ones that have, you know, they're optimized for performance, might be fewer parameters. And then outside language there's a lot of stuff around like voice and, you know, audio transcription or speech synthesis or like, you know, pharma, like bio stuff. Like a lot of that stuff actually they don't require like the latest and greatest GPUs, like they actually get more cost efficient serving on Hoppers or even A100s or like, you know, different types of like L40S or RTX Pro 6000 stuff like that. So we actually — I mean we are ramping up like very, very aggressively on Blackwells primarily GBs now, but we see actually like plenty of demand also on the older chips, which I think is quite exciting. There's just so much stuff going on, people forget about the Hoppers, but like they're the most common type right now still at Modal, H100s. We run some very like large production use cases based on Hoppers.
Patrick Chase 18:18 ↗
How efficient like is model-to-chip matching today, like, you know, in the industry at large? Do you feel like most people are using the like optimal, you know, chip or, you know, from a price perspective for what they're working on, or is there still a lot of room for improvement there?
Erik Bernhardsson 18:30 ↗
There's a little bit of room to improve. I mean one of the things that we want to do over time is like kind of automate that for people. I think in practice it's like less of a problem than it might seem like, because often like you're kind of memory constrained. So like knowing how much memory you need for a model, like you basically pick the cheapest GPU that fits the model. That's usually like the heuristic that works in almost all cases. So if you have, you know, if your model is 80 gigs, like you can either fit it on a Hopper or an older A100 80 gig. I guess in that case it depends a little bit on the flops. But in many cases it's like whatever GPU is the smallest that fits your model. I think over time like there's a bunch of stuff we've been thinking about that we're like basically you just deploy something, a model, and then we manage like different chips and maybe automatically give you GPU counts because like we can, you know, the more options we can have to like run it on a lot of different chips, like that lets us aggregate capacity in a better way and run things at higher utilization because then we can switch between different GPU types as, you know, there's like underutilization on those. So that's something actually we're quite interested in doing over the next six months is like giving people an option to deploy things in a way where like we automatically switch types underneath in a way that's still consistent with your dollar per request or dollar per token or whatever. I think there's some incredible cool stuff you can do there.
Patrick Chase 19:50 ↗
It's super interesting, and one thing I imagine is so interesting in your role too is like you're obviously predicting forward like what your compute fleet should be, and obviously you see what the workloads are today, and you probably have some sense of, you know, what models run well on what chips. Then you're also trying to predict like, you know, hey, a year or two from now, like what, you know, what kind of workloads will we have. I think there's lots of, you know, there's lots of different debates about whether we're going to, you know, most of the, you know, most tokens running will be really large models or actually, you know, we've saturated most tasks and these models will get smaller and smaller. Like, you know, as you think about kind of the evolution of your fleet in the next year or two, like what, you know, what's your perspective on like where you'll see relatively more different kinds of workloads and less?
Erik Bernhardsson 20:26 ↗
I think there's been kind of like basically over a trend of like larger and larger models over the last three, four years. Against that, I kind of, you know, I definitely feel like that trend is going to continue. Like we're going to need like — if B300s had more memory, I'm sure, you know, Kim K3 would be bigger. Like people are kind of like, you know, training the models in the way that they fit on these chips. So I think at least on the LLM side, like, you know, LLMs are in a way like kind of a crude like type of world model, like you're trying to like encode as much information as you can in these LLMs, like you need like very big like almost like lookup tables of facts, you know, in a way this kind of a conception I think about it, and that sort of pushes like the memory requirements a lot. I mean at some point like it might taper off, like who knows, but like for now like people will make use of every possible memory, like the more memory, like they'll just train more parameters for sure.
Patrick Chase 21:21 ↗
You obviously sit in like the — in some ways I'm like the eye of the hurricane of like a very exciting large and competitive market, and so I'm curious as you think about like, you know, what ultimately will kind of differentiate players in the space and like, you know, and win out. I think there's so many true believers in the size of the overall inference market, and I think lots of folks are asking what actually, you know, wins out in the end of the day. And I know you have a good thesis on this, so I would love it for you to share with our listeners.
Erik Bernhardsson 21:49 ↗
I mean I think a lot of the inference market will be quite rough, right? Like I think the sort of straight down the middle, just like, you know, serving tokens, you already see sort of OpenRouter basically commoditizing the underlying providers. I tend to think, you know, like that the real alpha or like the real like point of differentiation — like there will be a lot of differentiation just in like more efficient serving, but it is a little bit of a race to the bottom. And I think there's going to be a lot of opportunities to sort of stay ahead of competition. You're going to have to like put a lot of effort into that. But I think the more sort of durable differentiation will definitely be in like, you know, providing the entire platform of a lot of different things, which is like I think something we are quite well positioned to do. We have the sandboxes, we have reinforcement learning, a lot of customers doing also normal fine-tuning, a lot of customers obviously, you know, deploying other types of models, we have batch processing. I think my view in general is like customers, they don't want to buy like single-trick ponies, like they want to buy like a multi-product set of tools. So to me is like ultimately probably the biggest source of differentiation is like, you know, how do you provide that entire set of tools? How do you provide this like very general purpose thing that lets engineers like iterate very fast, deliver value? And then like the sort of day-to-day, like we're still going to have to like go and do the knife fighting of like, you know, staying ahead of your competitors in terms of performance and use the latest kernels and the much more efficient KV cache, and there's going to be a lot of that stuff for a long time because there's so much money in it. But I'm kind of pointing out I think that's sort of — that's like less durable as an advantage, which I think that, you know, because over time like people, these tricks will sort of spread and people will figure out how to copy them. So the more durable thing I think is like being that sort of portfolio of a lot of stuff around the inference, not just the inference in itself, you know, having all the models and a lot of, you know, stuff like around reinforcement learning maybe or other things.
Patrick Chase 23:41 ↗
You know, the biggest Modal customers are on multiple products. Maybe can you touch on a few of the more interesting ones?
Erik Bernhardsson 23:48 ↗
So yeah, we have some incredibly cool customers. Like Cognition is using us at large scale for both inference and sandboxes to do a lot of reinforcement learning on models. They use sandboxes for all the rollouts. We have customers like Ramp using it for background agents, for the internal coding agent that they actually launched as a standalone product today that they're selling. We have customers like Suno and Runway that use it for generative video and audio. Decagon is another customer that uses us for a lot of customer support stuff, voice and text. DoorDash uses us for a bunch of internal applications, mostly LLMs, but also all kinds of other stuff. We actually have a lot of customers in computational biotech using us for various types of drug discovery, using, you know, molecular simulations and sequence alignment and all kinds of stuff. We have a bunch of customers in robotics, 1X and a few other ones, using us to train robot models, like doing a lot of training, but also batch processing of video and things like that. A lot of customers in the data generation space, so customers who they're building environments and running benchmarks on models, often using sandboxes.
Patrick Chase 24:56 ↗
I mean one thing you kind of mentioned, this portfolio of products, and I think that's like, you know, one of the most interesting parts of the business you're building, and I imagine like honestly one of the hardest parts must be just like prioritization of all the different things you could build. There's probably so many, you know, new things that come up of really exciting tools you can build for developers. And, you know, I guess I'm curious. Obviously you kind of, you know, with sandboxes you have, you know, incredible products around, you know, coding agents, around, you know, reinforcement learning. Um, you know, how do you think about kind of building down that vector? There's also kind of like the fine-tuning or RaaS stuff that some of your competitors seem like they've prioritized. Like how do you think about, I guess, you know, where to prioritize within that portfolio?
Erik Bernhardsson 25:33 ↗
I think it's an incredibly hard problem. I mean most startups, but especially multi-product companies, right? Like the sort of balance of like, you know, first of all like when do you go multi-product, and then where do you put your bets. Like we're 150 engineers or something like that today, and I struggle with it every time, like every day. Like, you know, I wish we could, you know, do that and then, you know, and whatever. And like, but I kind of know that even if we had a thousand engineers or 10,000 engineers, like it's all, you know, it's like, you know, I wish we could build a rocket and go to the moon and whatever. Like it just never goes away. So like you kind of have to be just like ruthless with prioritization and really think about, you know, what's the highest ROI and like where do you draw the line. And you have to be sometimes like pretty aggressive also saying like actually like I know we started on this project, I know you're really excited about it, but like this other thing kind of came up, so like we're going to have to pause this for a second, we'll get back to it later. We've had to do that many times too. It sucks when it happens, but I really think, you know, that sort of prioritization and like 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 to really, you know, be ruthless about at a company, and like so much value is being created like allocating the work to the right resources.
Patrick Chase 26:50 ↗
The Modal roadmap in each board meeting is extensive and, you know, very daunting, and I'm always impressed by the amount of software that the team can ship, and hardcore software while keeping the system running. How much has — you know, you guys were building the company pre-ChatGPT, and then, you know, post-ChatGPT moment — how much has that changed, you know, 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 27:24 ↗
Yeah, I mean we've obviously benefited from, you know, 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 like I had like no idea would exist like, you know, four years ago, five years ago when we started Modal. That's been kind of incredible. And like you said, like software in itself has also — like how we build software has changed a lot. People write like — 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 tear 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 making sure that things scale and like stuff like that. So at least for now, I think software engineers are pretty safe, and I think we still benefit from having incredibly good engineers that can supervise these agents, I think probably for the next few years. Another thing I think has been kind of interesting to see is like actually I think the adoption pattern is actually the opposite of what I would have expected. Like 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 like the very senior people, because for them it's like giving them like 10 interns. Like they've been kind of constrained by like the typing speed for a long time, but they have all these ideas in their heads, and I think using agents now they can get it like — they can get it out like much faster. They're really good at building a test suite, like, you know, give the agents like, here's an extensive test suite, it implements all of, you know, the POSIX standard for file systems, now go write a new file system, and it just like goes and like just writes a file system and takes like, you know, three days to do it. So we've seen, you know, some of the very senior engineers like go like complete agent maxing, and I don't know, I mean it's kind of incredible like what you can do with agents, you can move very fast with them. At the end of the day it seems like humans are still safe as software engineers for the next few years. I don't know, we'll see.
Patrick Chase 29:23 ↗
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 life cycle changed at all?
Erik Bernhardsson 29:36 ↗
I think a little bit. I think we're coming up against some of those constraints, like we've had to spend a lot more time on CI/CD. Like 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 like obsessed with CI/CD as like, you know, very, very important to figure out. So like in that sense like I don't know if it's like changed like my view as like, you know, like you really need to have like automated deployments, automated tests, like all these things. Now by the way agents are pretty good at writing tests too, they weren't like a year ago. So I don't know if it...
Like we've necessarily yet run up against the foundational limits, but I mean Anthropic, like you know, a couple 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, you know, 10x the amount of commits every day.
Patrick Chase 30:20 ↗
It's interesting to think about kind of how different the world is with these really powerful coding agents. And obviously I think 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 developer to agents themselves, right? And I'm curious 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 30:48 ↗
It's actually changed a lot less than I think I would have expected. It turns out agents, I mean, in the early days we built Modal in order to give engineers the better developer experience and the ability to move faster. It turns out agents kind of want the same thing. They want fast feedback loops. 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 certain things are a little bit harder. One of the things we found, for instance, is 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, you know, remove it from the documentation and wait three months because it's in the training data. People will use LLMs 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 LLMs continuously write Modal code and making sure it compiles — or not compiles, but it builds and runs — trying to just catch things that agents struggle with. And then maybe another thing we spend a lot of time on is more like agent optimization stuff, which is actually more similar to search engine optimization. Like if you can go and ask, you know, Claude Code something like, 'Hey, I want to do something with inference. I want to deploy this model,' and not say anything about Modal, and just see which tool does it recommend, and that obviously is something we want it to recommend Modal as much as possible. So that's something we track internally to make sure that, you know, over time... And I actually think that's something that will change software engineering a little bit, maybe almost for the worse. I feel like in a way, because of the training data and the training loops, there's more incumbency power in a way. There's more staying power in software today. Like 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, right?' I think there's something similar with a lot of the frameworks today. That staying power is actually very, very valuable now. So we obviously want to make sure that agents recommend Modal as much as possible because that creates a little bit of a flywheel.
Patrick Chase 33:19 ↗
I mean, one thing I'm struck by is you obviously had this very prescient 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 it took a few years for it to really take off, and then it became this really important primitive. I'm curious, is there anything else that you guys are working on today that you feel like you're a little early on, but you're equally as excited about? And how much of your product portfolio is like those kind of bets versus like, okay, we know this is a hair-on-fire, here-and-now problem?
Erik Bernhardsson 33:48 ↗
Jacob, are you fishing for the next thing we should be investing in?
Patrick Chase 33:51 ↗
100%, 100%. I'm nothing if not shameless.
Erik Bernhardsson 33:54 ↗
I feel like sandboxes did create a little bit of a high bar for us. Like everyone's like, 'What's the next thing? What's the secret sauce you're working on? What's cooking in the lab?' And I wish I had an easy answer, like, yeah, 100% confidence, you know, this thing is...
Patrick Chase 34:09 ↗
Would you have answered sandboxes in '23, or was it just like part of a bunch of things you were doing?

46 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, October 28). Modal CEO on Agent Maxxing, the Future of Inference & Unpacking the Chaos of the GPU Market [Interview transcript]. Unsupervised Learning: With Jacob Effron. CEOInterviews.AI. https://ceointerviews.ai/interview/3160069/

MLA

Erik Bernhardsson. "Modal CEO on Agent Maxxing, the Future of Inference & Unpacking the Chaos of the GPU Market." Unsupervised Learning: With Jacob Effron, 28 Oct. 2026. Transcript, CEOInterviews.AI, https://ceointerviews.ai/interview/3160069/.

BibTeX
@misc{bernhardsson2026_3160069,
  author       = {Erik Bernhardsson},
  title        = {Modal CEO on Agent Maxxing, the Future of Inference \& Unpacking the Chaos of the GPU Market},
  howpublished = {Interview transcript, Unsupervised Learning: With Jacob Effron. CEOInterviews.AI},
  year         = {2026},
  month        = {oct},
  url          = {https://ceointerviews.ai/interview/3160069/},
  note         = {Speaker-attributed transcript with timestamps}
}