Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO
Latent Space: The AI Engineer Podcast
October 22, 2026
Warm welcome to Basil Chatha, our newest cohost from the Forward Deployed side of the AI Engineering world! We’ll be ramping up a new show with him and couldn’t pass up an interview with Modal’s CEO Eric on the occasion of their monster Series D!
Vibhu
Thanks for coming on, Erik Bernhardsson from Modal. Could you explain the business a little bit, and maybe how you got here?
Erik Bernhardsson
Yeah. So we build, the easiest way to put it is we build AI infrastructure. So we offer a bunch of compute, a compute platform and a storage platform that enables a lot of customers like Dacagon and Suno and Runway and Cognition and many others to essentially build AI applications. So what that means in practice is a lot of inference, a lot of sandboxes, sometimes training and fine tuning, sometimes batch jobs and other things. So we have basically built a software SDK that enables customers to move really fast and build this.
We manage all the capacity underneath, make it easy to deploy and scale and run these things in production.
Vibhu
So you were on Latent Space like two years ago, a lot has happened since then. Like how big were you back then, like whatever numbers you can share and comparatively, yeah, how big are you now?
Erik Bernhardsson
I actually don't remember where we were, but it's probably like at least 50x in terms of revenue and users and users.
Vibhu
I use it actually for a side project that I have. Nice. Yeah, it's like turning 2D images into 3D models. So yeah, just hosting a couple models there.
Erik Bernhardsson
What do you think? Any feedback?
Vibhu
I mean, I love it.
I mean, yeah, that's why I use it over any competitors or anything. So before you started Modal, you were at Spotify and also better.com, I think. That's right. Yeah.
Erik Bernhardsson
Yeah.
Vibhu
What were you doing at Spotify?
Erik Bernhardsson
I actually did a lot of different things at Spotify. But my main contribution was I built a music recommendation system, the first version. I joined after school in 2008, 2009 maybe, and spent seven years at Spotify. Most of that time was building basically from scratch, a music recommendation system and built up a small team. We launched a bunch of features like related artists and Discover Weekly and a bunch of other stuff. So a lot of matrix factorization, a lot of compute intensive stuff.
Arguably, a lot of what later became the genesis of Modal was just building AI applications and realizing the infrastructure fucking sucks. There's got to be a better way to do that. So a lot of the rationale for Modal was building a tool. I always wanted to have throughout my years at Spotify. Yeah.
Vibhu
So Modal was more of an offshoot of the stuff you learn at Spotify, not much from better.com.
Erik Bernhardsson
better.com was a little bit of a side tour. It was a roller coaster, long story about the company. Talk about it separately. But I was the CTO for five years of Better and grew the tech team from I think two to three, 400
So I learned a lot about management and building teams and hiring and also learned a lot about developer productivity, thought a lot about tools and things like that. Did a lot more like full stack stuff. But yeah, I kind of came back to my, what's close to my heart, which is infrastructure and AI and machine learning after that.
Vibhu
What was better.com doing again?
Erik Bernhardsson
Mortgages.
Vibhu
Okay.
Erik Bernhardsson
Yeah.
Vibhu
How did you get into that? I mean, we don't have to spend too much time on that.
Erik Bernhardsson
Yeah, no, it's fine. This guy, Zach Frankel, who I didn't know at that time, ended up recruiting me to better as the CTO. The company was 10 people. For whatever reason, the founder, Vishal, very interesting guy, very, very smart, a little crazy in mostly positive ways. We got very well along.
We started building it in 2015 and I spent five years growing that company and then eventually, turned out that doing more is pretty hard and interest rates went up very quickly after the pandemic and that caused a lot of issues at the company. But by then, I had already left.
Vibhu
That was like 2020, 2021 when you left?
Erik Bernhardsson
Yeah, something like that.
Vibhu
So, okay, you left before you had the idea for Modal, or you left and then you started?
Erik Bernhardsson
It's hard to say. I had a lot of random ideas when I left better and I actually wasn't sure if I wanted to start a company. I was just, during a pandemic, I almost took a sabbatical. I had two kids, I mean, I still have two kids, but even at that time, there were two and four, and so I decided to hang out and took some time off, and was working part-time hacking on certain things, and wasn't sure if I should do some consulting, and I started building stuff. I just got super pumped about this idea that the venture became Modal. But actually, Modal was, I think, the third thing I built that I got.
Read the other 82 minutes of this episode here.
$15 gets you this episode and 99 more. Credits never expire. After checkout, one link brings you back here to read it.
Not what you expected? Full refund within 14 days.
Thousands of transcripts fetched by people building searchable podcast archives
Fetch transcripts with code
The same credits work from a script or an AI agent. The demo key returns a sample episode in full, no card needed:
curl -H "x-api-key: pt_demo" \
https://spoken.md/transcripts/1000651996090Markdown with the speakers named, for your notes, your knowledge base, or anything that makes HTTP calls.
From $0.10 per transcript. No subscription. Credits never expire. Prices exclude VAT, added at checkout for EU customers. Not what you expected? Email us within 14 days with 20 or fewer credits used and we refund the pack in full.
Using your own key:
curl -H "x-api-key: YOUR_KEY" \
https://spoken.md/transcripts/1000797654314