# Modal's AI Infrastructure Strategy and Capacity Economics

**Podcast:** Latent Space: The AI Engineer Podcast
**Published:** 2026-10-22

## Transcript

Thanks for coming on.
Eric Bernhardsen from Modal.
Could you explain the business a little bit and maybe how you got here?
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 Decagon 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 easier to deploy and scale and run these things in production.
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?
I actually don't remember where we were, but it's like, it's probably like at least like 50x in terms of like revenue and users and usage.
Yeah, I use it actually for like a side project that I have where...
Nice.
Yeah, it's like, yeah, turn like 2D images into 3D models.
Yeah.
So yeah, just hosting like...
That's awesome.
Modal's there.
What do you think?
Any feedback?
I mean, I love it.
Nice.
Good.
I mean, yeah, that's why I use it over any competitors or anything.
Good.
So before you started Modal, you were at Spotify and also Better.com, I think.
That's right, yeah.
Yeah, what were you doing at Spotify?
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.
And most of that time was building basically from scratch a music recommendation system and built up a small team.
And 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.
And arguably like a lot of what sort of later became the genesis of modal was, you know, just building AI applications and realizing like the infrastructure fucking sucks.
There's got to be a better way to do that.
So a lot of the rationale for Modal was like kind of building a tool I always wanted to have throughout my years at Spotify.
Yeah.
So Modal was more of an offshoot of the stuff you learn at Spotify, not much from Better.com?
Better.com was a little bit of a side tour.
It was kind of a roller coaster, a long story about the company.
Talk about it separately.
But I was a CTO for five years of Better and grew the tech team from, I think, you know, two to...
300, 400.
So I learned a lot about management and building teams and hiring and also learned a lot about developer productivity.
I 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, was close to my heart, which is infrastructure and AI and machine learning after that.
What was Better.com doing again?
Mortgages.
Okay.
How did you get into that?
I mean, we don't have to spend too much time on that.
No, it's fine.
This guy, Zach Frankel, who I didn't know at that time, ended up recruiting me to better as a CTO.
And the company was 10 people.
And for whatever reason, the founder of Vishal, very interesting guy, very, very smart, a little crazy in mostly positive ways.
We got very well along.
Yeah, we started building it in 2015 and I spent five years growing that company.
And then, you know, eventually it turned out that doing mortgage is pretty hard and, you know, interest rates went up very quickly after the pandemic and that caused a lot of issues at the company.
But by then I'd already left.
That was like 2020, 2021 when you left?
Yeah, something like that, yeah.
So, okay, you left before you had the idea for Modul or?
You left and then you started out meeting?
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 kind of just, you know, during the pandemic, I sort of almost took like a sabbatical.
I had two kids.
I mean, I still have two kids.
But I mean, at that time, there were, I think, two and four.
And so I decided to hang out.
Took some time off and was kind of working like part-time, like hacking on certain things and wasn't sure maybe I should do some consulting.
And I started building stuff and I just got like super pumped about this idea that eventually became Modal.
But actually I built, you know, Modal was like, I think the third thing I built that I got, you know, so there were like a few attempts before then that went nowhere.
But Modal was like the first idea.
I was like, this is kind of cool.
Like I should do this.
This is like, this could be a really cool platform.
Were the other ideas also in a similar vein, like developer tools?
The first thing was like some sort of web scraping thing, which went nowhere.
But actually, you know, in hindsight, maybe it could have gone somewhere.
And was this before the ChatGPT launch?
Yeah, 2021.
So ChatGPT was late 2022, right?
Then I started building, so maybe actually to rewind a little bit of context, like when I worked at Spotify, I released an open source framework called Luigi, which is like workflow orchestrations.
It's sort of the same categories.
Airflow and Prefect and Dax are sort of dated categories to some extent, like people don't talk about as much, but for a while it was like, you know, got a lot of attention.
Anyway, I never turned it into a business.
But a couple of years later, in 2021, when I was thinking about business ideas or things to work on, I kind of came back to workflow orchestration and I started hacking on a bunch of ideas of, you know, running code in the, you know, like basically orchestrating code running in the cloud.
And what I realized was like, you know, at the end of the day, like, core puzzle piece is not just like orchestrating the compute, it's like executing the compute.
And I was like, that's kind of a bigger problem actually to solve.
So in a way, I actually like, you know, left it on the shelf and then said like, actually, I'm going to like go to this other thing over here and I'll go back, I'll get back to the workflow scheduling a little bit.
But like, you know, I never got back to it, long story short, and ended up building modal, which is like the focus is more like, let's just figure out a way to make it easy to run code in the cloud.
And the focus was, Initially, fairly general purpose.
Actually, in a way, we've gone full circle more recently.
But we focused on so many different applications.
The idea was, let's just make it super easy to run code in the cloud.
It could be GPU code, AI, machine learning.
It could also be data stuff.
And focus a lot on how do we scale it up?
How do we make the developer experience awesome?
Realized super early that in order to do that, we'd have to go very deep in a stack and build it on file system, build it on container runtime.
and solved a lot of hard engineering challenges.
And then you mentioned ChatGPT.
That was actually not quite the killer app, but if you remember that fall, another thing came out around the same time, which was Stable Diffusion.
And Stable Diffusion turned out to be a killer app for what we were building at that time.
We were only four or five people at that time.
So we started seeing a lot of people coming to us and wanting to run a Stable Diffusion model.
And then that made us realize maybe Gen.AI inference.
is actually a really good use case for us.
How are they finding it?
I'm this compulsive tweeter.
I was even more.
Now I'm too distracted by building a company.
But I always tweeted a lot.
I always blogged a lot.
I think I had a little bit of a following.
And so in the early days, a lot of what drove the growth is just me just compulsively tweeting about modal and what I was building and getting people excited and writing long blog posts about where the cloud is going and all these things.
I call it a bit like founder-led marketing.
I always feel like you kind of have to lean into what you're good at.
And what I'm good at is, I guess, just shitposting and being terminally online.
And so, you know, it's still like, you know, I think a lot of our growth is we're just kind of good at social media and just like being, you know, online a lot.
Nice.
How long until you had your first customer?
It took a while.
Also, did you raise like early on?
We didn't raise for a while.
I actually self-funded it for a while, even up until the first few employees, which in a way was kind of nice because it made me really frugal about money and wanting to see ROI.
I wasn't taking out a salary for a while, for a long time actually.
At some point it became a problem because I needed the money.
But we didn't raise for a while until early 2022, we raised the seed round.
So at that point I'd already been working on it for about a year.
Aksha joined us as the CTO and co-founder.
about five years ago, about now, August, maybe 2021.
But then it took until basically late 2022 for us to see any meaningful revenue.
I guess that's when ChagubT came out.
Yeah, and StableDefusion, in our case, was the main thing.
So we went from $100 a month in, I think, November 2022.
In the next month, we did $2,000 a month.
And then January 2023, we did...
30,000 all of a sudden.
And, you know, so finally I felt this like massive, just like anxiety thing off my chest.
I'm like, maybe this is actually like we're onto something.
It feels like we're onto something.
And then 2023, we grew very fast.
And I guess we've been growing very fast since then, basically.
That 30K a month moment, was that just like a couple of big customers or was it like very diverse?
It's just one.
I don't know if I ever talked about who that was and if they even know it, but I think they suspect it.
It was a company in New York called Mage.
They're doing a stable diffusion company.
At some point in the first quarter of 2020...
I think there were like 80, 90% of our revenue.
But then after that, you know, it started diversifying a little bit.
And late 2023, we got Suno as a big customer.
They were a big chunk of our revenue for a while too.
But then, you know, it's over time, like we actually have really good revenue diversification now.
Yeah.
For the stable diffusion stuff.
I remember using it for ComfyUI.
I'm assuming a lot of people were using ComfyUI, like running ComfyUI workflows on it.
Some people were, but I think the people that were using modal, they tended to be more like low-level stuff.
Like they did like complicated stuff.
What they like with modal is like it's always been pretty hackable.
So they deployed their own custom workflows with adapters and custom inference and a lot of optimizations.
And all the stuff we had done in order to get the developer experience to be really good turned out to be really good for also.
running production workloads.
Because autoscaling turns out to be actually a very similar problem.
Like you want to scale up containers up and down very fast.
So we just happened to be like very well positioned to capture a lot of those workloads in the early days.
Did tools for autoscaling like not exist?
Like why did you have to build those yourself?
In general, like my thesis is like, you know, every new sort of era of like, you know, technology kind of runs up against limitations of tools.
whether that's, you look back, like the web or the cloud or mobile or PCs or AI or whatever.
So I think it's often the case that tools exist, but they're often not particularly good.
And often you kind of need to rethink a lot of those tools in order to reap the benefits and really turbocharge and start building for this new world.
And you saw this with cloud, we have to invent things like Kubernetes and Docker and things like that.
And in a similar way, You know, like with Gen.AI, you could build these things on the sort of prior generation of tools.
You can build these things on top of Kubernetes and Docker and these things.
But those technologies are built for a very different type of workload.
They're built for a very sort of steady work, steady...
Back-end workloads, they have an even steady number of requests.
Running at pretty low utilization, because CPUs are normally pretty cheap, and so people don't really worry so much about cost.
But now you're entering this new world, and you have very expensive GPUs.
You want to manage capacity and utilization.
You have very large models that you need to load over network into CPU, into GPU.
And it turns out a lot of these tools, they were just not built for that.
So we felt that, you know, we had to rebuild a lot of that, you know, building our own, I mentioned the file system, but we also spent a lot of time over the last few years, like, building, you know, some really cool stuff around, like, CPU snapshotting, GPU snapshotting, and we built our own autoscaler and scheduler and all kinds of capacity management tools.
And we kind of feel like you have to do that because, like, you can't build, you know, for this new generation of software.
You can't build a wrapper on top of the old stuff in order to do the new stuff.
You kind of need to start over a little bit from scratch.
So I guess the auto-scaling stuff, did you see any weird behaviors on the platform?
Was there anything that broke while you guys were scaling?
Capacity has always, from time to time, been a challenge.
How do you get hundreds and thousands and tens of thousands of GPUs?
So that's always challenging.
We had to go multi-region very early, so I think that was kind of a...
fateful decision in hindsight, like doing that and kind of spiting the bullet and building it.
Like we always thought of like our capacity management is like one big pool, like it's like one big pool over the entire world.
Like we don't think of it as like separate clusters running in each region.
And so that was like one of the like very consequential decisions we made earlier to kind of think about it that way.
So I don't know if there's like been like, you know, specific issues.
I mean, obviously had bugs and outages.
And I hate, you know, as much as I would love for modal to be 100% uptime, you know, and I think recently we've basically hit four or five nines.
But throughout the history of modal, of course, we've had, you know, run up against scaling issues.
Yeah.
The GPU market and well, actually before that.
So you guys use AWS, like GCP, like all these cloud providers underneath.
Like, do you also buy any infrastructure or no?
Let's talk a bit about cloud capacity, because I think it's actually changed a lot.
In the first few years, we got almost all the capacity pretty much from the hyperscalers, spot and on-demand capacity, mostly spot capacity, running in all the different regions, using initially AWS, but also GCP and overtime Azure.
We started renting some capacity from Oracle pretty early because we wanted A10s and A200s, and we got really good rates on those.
And over time, we added a couple more clouds, like doing reservations.
But still up until actually end of last year, most of our capacity was either spot or one-year reservations.
Spot means you're just renting it right there and then...
Exactly.
Yeah, and it's also preemptible, which we had to deal with.
But it sort of works in aggregate because you can aggregate capacity from many hundreds of regions, basically.
So that model worked really well until we started running up again.
I mean, first of all, like modal started growing like very fast as we needed more capacity.
But fundamentally also like the cloud market started changing a lot.
So in the last year, basically now, in order to get the capacity we need, we have to work with a much larger set of clouds.
We actually work with almost 25 clouds at this point.
And in many cases, in order to get the capacity we want, like we have to go and do, you know, three plus year deals.
You have to pay a meaningful amount of money up front.
And you're locking in pricing on a three-year term, right?
And so we had to spend the entire last six to nine months kind of rethinking how we get capacity.
We had to build a whole procurement desk.
We have four guys working full-time, basically.
All they're doing is procuring capacity, calling neoclouds, doing deals, vetting the capacity.
We've had to build a whole engineering team.
Basically 10 people just managing bare metal capacity from all over the world and dealing with network issues and bad drives and GPUs falling off the bus and all these things.
We don't own capacity.
We rent all the capacity so far on typically these three-year deals.
And that's a big decision.
Should we buy?
Or should we keep renting?
I'm actually not mega dogmatic about it.
I think renting is nice because there's a certain amount of capital efficiency to it.
If you're buying, you know, like, I mean, first of all, there's an obvious operational complexity of it.
Like you have to deal with vendors and suppliers and, you know, power and cables and all kinds of stuff.
But there's also, you know, financial complexity to it.
Like, how do you fund it?
Like, should you raise equity?
You know, and you can raise a billion dollars and go buy hardware for it.
That's a very diluted way to do it.
You can raise debt.
But, you know, if you raise debt, you know, you typically want to have like locked in long term revenue to pay the interest rates.
That's also not trivial.
But, you know, like we look at the economics, we look at the...
the operational complexity, we look at the risks.
It's a complex trade-off and we're open to buying.
There's other constructs too.
To get the capacity we need for 2027, it's going to take a lot of work on going a lot of different avenues to lock it up.
So do you have to hire a lot of finance people to do all this stuff or not really?
I've had to spend a lot of time on this and we've had to spend a lot of time on this.
I do think over time, I mean, there is a lot of, you know, these are very expensive assets, the hardware.
And, you know, I think, I mean, it's kind of staggering.
You're starting to see like AI investments starting to become like several percentage points of GDP of the U.S.
and, you know, starting to see like interest rates in America shooting up in the last few weeks.
And I mean, like at this stage, like, you know, and you go and look at the neoclots, like these are very, very sophisticated financial engineering companies.
And so.
Yeah, we look at that and we look at all the options and it's possible we might have to do similar things ourselves.
I wouldn't want to.
I would rather focus on being a very lean software company, doing the things we're good at.
I don't think it's good in general for software companies to own hard assets in the same way as should you own your office?
I don't think that's necessarily the right solution for most companies.
But of course, in order to get the capacity we want, everything's on the table.
Yeah.
And I guess the supply is going to be constrained for a while, so you kind of have to do that.
Do you agree with that, or do you think this is just a moment in time?
I don't necessarily agree with that.
I mean, NVIDIA is delivering several hundred thousand black walls a month, right?
And I don't want to say the market is 100% efficient, but in general, if you're willing to pay a high price...
you can get GPU capacity, right?
Like if you're willing to pay more than everyone else, and of course, Anthropic and OpenAI is buying up as much as they can.
But fundamentally, like there's constantly supply coming on the market.
And so I don't necessarily think it's like a fully cornered resource.
Prices are going up.
And I do think it's worth kind of reflecting on that as like the normal state of hardware is like, It's kind of like gravity.
Eventually, hardware prices always go down.
So we're a little bit in a weird period of time where hardware prices are going up.
And it's hard to say how long this is going to last.
It could be another six months.
It could be another 36 months.
It's really hard to know how long.
But I fundamentally don't know if it's true to say you need to buy capacity.
To me, that's a little bit almost like the...
great toilet paper shortage of the pandemic or whatever, right?
At least this run on the bank type situations.
But that being said, capacity is going to be tight for a while and prices are going up.
And luckily, I think it's not even necessarily bad for us if prices go up because scarcity also means we can charge more from our customers.
And the fact that we have a lot of reservations locked in at a rate means to some extent we're effectively at long GPU prices already.
So I don't necessarily worry too much about prices going up.
I do worry more about actually prices collapsing.
I don't think that's going to happen anytime soon.
But I think that would be a quite bad thing for a lot of the players in the market.
Why would that be bad?
I think it would be bad for anyone who's locked in a lot of supply.
Yeah, because they paid way too much.
They paid too much.
So there's a risk of buying at the top, right?
And again, I don't worry about that that much.
I don't think it's going to be like, you know.
It's going to happen anytime soon.
But like, you know, like I said, like hardware prices in the very long run, they tend to go down.
And so it's worth, you know, reflecting on that.
Like right now, I think your capacity is constrained and that leads to sort of, you know, in economic terms, there's a scarcity rant, right?
Like who captured a scarcity rant?
I think that primarily goes to two places, mostly NVIDIA, but of course, but also to some extent, Neoclouds.
Like Neoclouds, and in general, like, you know, Anyone owning capacity has better economics.
That's undeniably true today with capacity being constrained.
Long term, in the very long run, I don't think that's necessarily entirely true.
There's always going to be a little bit of a premium you can get from owning GPUs.
But is it worth the risk?
Is it worth the risk holding these very expensive assets on your balance sheet?
I'm not so sure.
But we're going to see.
It's going to take a few years to get through this.
And in the long run, you know.
We might own some, we might rent some, maybe a combination, maybe do some other crazy stuff, joint ventures, who knows, maybe some complex SPVs or whatever.
Everything is on the table.
How do you compete with OpenAI and Anthropic in buying GPUs capacity?
I'm assuming they'd want to buy up literally everything that's available.
They are, and I think what you're seeing is a lot of the prices going up is a reflection of that.
That being said, you know...
Nvidia is shipping a lot of stuff.
I think also, to some extent, Nvidia is kind of prefer a little bit of a diversification.
They don't want a small amount of large buyers.
Much in the same way as you see hyperscalers getting a little bit of a constrained allocation.
I think also Nvidia prefers to see a lot of neoclouts and a lot of alternative clouds getting more allocation.
And I think a little bit of what we see in the market is also, this is more speculation, but I think we see you know, smaller clouds that are a little bit more sort of risky to work with being more of an opportunity for us.
Like where, you know, maybe NVIDIA, sorry, Anthropic and OpenAI, my feeling is like they prefer to buy from like the tried and true.
Part of it is also because they do a lot of training runs, so they need to have like very large blocks.
But there's plenty of capacity out there, you know.
You can get 32 nodes in Armenia.
You can get 128 nodes in Indonesia.
We love that kind of shit.
So we can go out there and get a lot of smaller capacity all over the world.
Pretty good prices.
Is it pretty much just like if someone offers you a certain number of GPUs, that's all you care about?
Is there nothing like, oh, you care about how reliable it is?
Is it just some janky warehouse that someone has these in?
I mean, sometimes it's kind of a janky warehouse.
It feels like, you know, but like we do have like a spec sheet, basically.
Like when we talk to vendors, the first thing we do is we send them a spec sheet.
We say, we need this number of IOPS.
We need, you know, like the CPU needs to be at least, you know, have this many, you know, whatever the pass mark scores or whatever it is.
We need to see like, you know, minimum, you know, north, south bandwidth, egress and ingress.
So we do have a list of requirements.
Often we try to do like an acceptance testing period where we get like one node and run some tests.
Over time, you know, like to some extent, it also involves a little bit of a leap of faith.
You know, sometimes we sign very big commitments, you know, tens or hundreds of millions of dollars, and we start working with the vendor that we still don't fully know.
And, you know, over time, like, you know, we'll see.
You know, and I think over like a little bit of like, there's a little bit of sort of just, you know, our own sort of like, you know, how like, semi-analysis has like a cluster max.
I kind of feel like we almost like have our own like modal max.
score internally.
Like I know which vendors I like more than others, you know, like and we sort of prefer to do additional deals with the vendors that we've seen, you know, very good reliability.
Not just that also, like it's not just reliability.
It's also, are they very responsive when we have, you know, support issues?
Do they fix the issues we ask for the turnaround time?
If things go down, you know, how quickly do they fix it?
Like things like that.
Do you agree that the demand for intelligence is basically infinite?
And if so, like, why wouldn't you just buy up as much as you, as much capacity as possible?
And then like, if you overbuy, you can just like sell it to somebody else.
I think it's very easy to say when there's like a scarce resource, like, let's just buy as much as you can.
But I think, you know, first of all, like, if we bought it today, we couldn't utilize all of it.
Like we could utilize a lot of it, right?
But like, But you can sell it off to somebody else who wants to use it, right?
I think the challenge is like, if there was like something in the market that happens, there are a lot of correlations that happen at the same time.
If, you know, prices going down and utilization going down and the market for reselling capacity goes, vanishes at the kind of the same time.
I'm sitting here and like, I'm extremely aggressive, like buying capacity every day and like raising money to buy, you know.
So overall, I'm very bullish, but like, I do want to point out and like...
You know, like there are tail risks here.
And when those tail risks happen, like it could be get very bad.
Part of it is like maybe I'm, you know, I'm just old and I've seen this in the past.
Like I actually had my first job in 1999.
So I saw the dot-com crisis and I've seen the great financial crisis and things like that.
And, you know, like I want to build a company that is around for like 20, 30, 50 more years, right?
Like, and so, you know, I think we can certainly go out and like buy an insane amount of capacity right now and try to just corner the market.
But, you know, do you know about the Hunt brothers?
It's like a legendary story in trading.
They try to corner the silver market.
It failed spectacularly.
You know, so it's cornering the market, I think in general, like it can be not a good idea.
But we are in general very, very aggressive.
But we're ramping up, you know, like at an aggressive plan that basically matches our demand growth and matches where we want to try to get to at the end of next year in terms of runway.
The run rate.
Are you only buying up NVIDIA stuff or also like, you know, maybe a capacity from other types of companies?
Like, I guess like Trinium and...
We're looking at it.
I think the alternative accelerators are starting to get very interesting.
It's, you know, ironically, like every year in the last five, maybe even 10 years, I've been saying, you know, like next year, it's going to be the year of like non-NVIDIA accelerators.
And then I'm always wrong.
But I do think 2027 might be the year of non-NVIDIA accelerators, finally.
So we'll see if I'm wrong this year, too.
So, you know, AMDs are starting to get, like, really good scores on certain things.
I think, you know, TPUs are obviously used very, you know, widely internally at Google.
They seem to work really well.
I don't know much about Tranium.
I don't feel like I see quite as...
But, you know, the team is very good.
I know they're working on a lot of the software stuff.
you know, hardware is hard in a certain way, like software is like easier.
And that makes me feel like, you know, if we just fix the sort of software layer for these accelerators, like I think there's going to be a lot of demand for them.
And I think fundamentally, you know, with NVIDIA being such a bottleneck, like we'll probably see, you know, more alternative accelerators.
That being said, you know, there's bottlenecks further down the pipe.
I mean, you know, there's like TSMC and ASML, maybe like a deeper bottleneck to all of this anyway.
But, you know, long term.
I think monopolies don't always last.
And so I think it'd be healthy for the market to have more alternative.
As much as I love NVIDIA, to make that clear.
I mean, they're obviously an amazing company with an amazing product.
I do expect to see a little bit more diversity in the market.
Also things like Cerebras and Grok and these things.
Yeah, what are your thoughts on some of those providers?
I think they're pretty exciting.
And you see them doing really well on certain workloads.
And there's some interesting...
people doing these hybrid disaggregated inference where they run NVIDIA for the pre-fill and Cerebras for the decode and things like that.
Oh, I haven't heard of that, actually.
Yeah, and Grok, too, because a lot of these things, certain things are compute-bound, certain things are memory-bound, so you can sort of mix and match.
And I think that's quite exciting.
It starts to get very complex when you're deploying these things in practice.
But I do think there's a lot of opportunity in these sort of more complex hardware setups.
Are there any learnings that you get from some of these NeoClouds, like, I don't know, like Nebius or whatever, and like the way that they're doing things versus like what you're doing?
I think one of the things that, you know, is very interesting with NeoClouds is like, how can they expand so quickly?
I think actually the most crazy example is like Nscale, which went from like nowhere to like...
you know, having like, you know, whatever, hundreds of billions of dollars in the pipeline, despite barely having any capacity.
How can Neoclots grow so fast?
I mean, there's like, you know, and basically the answer is like, you know, and this might be obvious, but like what they do is like they go out to like, you know, Anthropic or OpenAI, some big buyer or whatever, and basically say like, Hey, do you want to buy like five years of chips?
You know, sign this contract.
We give you a good rate.
And then they take that contract and then they go to, you know, Wall Street and say, look, we got this like, you know, big buyer.
You know, they committed to $10 billion worth of chips.
We just need the money right now.
And then they go and raise the money.
And then they like, you know, go to like Supermicro and Dell or whatever in NVIDIA and like get the hardware and then they install it.
And then, you know, now they have like, you know, deliver it to the customer, right?
So you have this like very nice sort of financial construct where you can, Basically, you sort of pre-sell things that you haven't even bought.
And that means, you know, you can scale up extremely fast.
And so that's what we've seen with these neoclouts is they can scale very, very well.
I think modal, because we've always had a little bit more of a PLG focus and not the sort of, you know, ability to lock in long-term contracts in the same way, it's a little bit more challenging from a financial perspective to scale that fast, even though I think, you know, in the long run, like, we'll get to the same point.
But I think that's been kind of a fascinating thing to see with these NeoClouds, and especially like CoreWeave and those big ones.
Very, very savvy with, you know, how they raise money and how to, you know, think about GPU as collateral for loans and all these things.
What's the relevance of...
Like, I forget who it was, but like some like financial company was like, oh, we're going to make, oh, I think it was NVIDIA.
Actually, they were like, we are going to turn GPUs into an asset class.
Is that just because like they need to raise money and they're like trying to figure out where to get the money from?
Like, what's the relevance of that?
I mean, there's a bunch of startups.
I don't know if you're thinking about that.
There's like Silicon Data and Compute Exchange and like Orn and a few other ones that are like basically like trying to get to like, you know.
creating price indices and indexes and trading derivatives and things like that.
I think it's interesting.
I think with compute, there are a number of challenges with compute as an asset class.
It's definitely not as homogenous as other asset classes.
You have different network and different locations and different...
disks and CPUs and all kinds of stuff and reliability.
I mean, that being said, like you can say the same thing about oil and like we kind of created like, you know, relatively commoditized, you know, tradable assets out of oil.
It remains to be seen.
Like I do think, you know, at the scale where we are with this sort of AI, like data center, GPU deployments, like we do need to be a little bit smarter with like risk hedging and how we share risks and, you know, having more like sort of insurance and things like that.
I'm very happy that people are thinking a lot about this.
That being said, I'm not entirely sure if we're going to see GPUs becoming sort of whatever, the sort of Henry Hub, Brent Crude type, super commoditized tradable asset.
Yeah.
I want to shift the conversation to modal sandboxes.
Yeah.
I guess before we do that.
What are the different products that modal has?
It's, I guess, like the main product obviously is like the GPUs.
Then you have modal sandboxes.
Is there anything else?
I think of the like the two big products that we have is basically number one is modal functions and number two is modal sandboxes.
So with modal functions, we launched that, you know, back in 2021.
It was the idea of like serverless functions that are very easy to deploy and very easy to scale.
And we manage all the capacity.
That turned out to be really, really good for inference.
And it turned out to be really good for managing GPUs and running on things like that.
But we actually never had a dedicated inference product or a GPU product per se.
We never thought of Modal as a NeoCloud.
And I think there's a risk of getting sucked in that direction and becoming a NeoCloud.
Like just selling what I think was rectangular.
Here's a three-year, you get this many GPUs.
Modal's always been very good at, you deploy something, you can kind of scale it up.
You have this very cyclical or bursty stuff.
Like we manage all the capacity.
And the beautiful thing is like, cause we have many, many thousands of customers.
We can sort of aggregate that capacity and get very smooth workloads, you know, very smooth aggregate demand, which we can manage very, very efficiently.
So modal functions was the core.
We launched that in 2021.
Like I mentioned, we started seeing product market fit in 2023.
And now, you know, it's about two thirds of our revenue and empowering a lot of, you know, in practice it's mostly inference, but you can use it for all kinds of other stuff.
Modal sandboxes, we launched that in 2023.
And it's actually kind of, you know, took a while to see product market fit similar to functions.
Why did we launch it?
We realized a lot of people we talked to were using LLMs to output code.
This is like me and Akshat talking over lunch one day.
We're like, maybe they need a place to run that code.
And we realized like, actually, we kind of have like a lot of the infrastructure already to just take code and run it because we've already built the primitives for like managing.
containers and isolation.
We already had, you know, G-Visors and isolation, primitive and things like that.
So we got kind of excited about that idea and Nakshara wrote a prototype and launched it in basically one day or two days or something like that.
Zero, like we saw like very little like growth.
I don't want to like trivialize it.
We did see some growth.
Like there were like some sort of, you know.
And it was 2023.
Yeah, it was 2023.
And some people picked it up.
We had some early users who kind of enjoyed it for certain things.
But overall, it was a pretty insignificant source of revenue going into the summer of 2023.
So two years later, we even discussed, do we even need this product?
Should we shut it down?
Then it just started exploding.
So 2023.
And I think what really happened in 2023 was LMS got really good at generating code.
In 2023?
I mean, it was around that time.
I feel like that was when they went from being able to refactor functions and write snippets, so generating full apps.
And so we started seeing a lot of growth coming from Vibe Coding, companies like Lovable and other ones.
And then companies like Ramp started using Model for background agents.
And then we started seeing tremendous growth coming from a number of Neo labs doing things like reinforcement learning on modal sandboxes.
So sandboxes is now about a third of our revenue.
You know, we consider it like basically like our second product.
And to me, it's like really exciting because like even back in the early days of modal, I always knew that modal, you know, is about like creating a whole toolkit of products.
Like we always wanted to be almost like a cloud, you know, you have the storage and the compute and a bunch of different ways to work with it.
We always wanted to be a multi-product vendor, but that wasn't necessarily true in practice until now.
I think now it's kind of clear.
We have functions, we have sandboxes, we're working on a bunch of other stuff too.
We're working on training, we're working on batch, we're working on a bunch of other stuff.
So to me, that sort of evolution into becoming a multi-product company, I think has been amazing.
Because that was always so core to the vision, even in the very early decks, I had a bunch of slides on this.
But it wasn't necessarily true to the external world.
until recently.
Do you have anything in the works that you think is going to be that next product?
Any predictions maybe about the market?
Anything like that?
I'm very bullish on training.
I think training is kind of an underserved market.
Obviously, there's a lot of focus on very large training runs.
But we actually see a lot of demand in the smaller and mid-sized training segment.
So I'll be talking a little bit about that later this week.
We're organizing a conference.
Batch is, I think, like a really interesting market.
I think we see a lot of demand for sort of, you know, customers that need a, you know, we had a customer the other day that needed to transcribe, you know, 5,000 years of audio.
They had like, you know, millions and millions of audio files and we had a lot of capacity.
So we let them do that, you know, it took a few days.
I think there's some really interesting use cases there.
Very bullish on like low latency stuff.
I think there's going to be a lot of, you know, Once we sort of get the audio, like the speech-to-speech models working, like the voice models, I sort of expect that to be a very interesting market.
Then, of course, like all this like agentic stuff, right?
In a way, like I have like mixed feelings about like the word agentic because I feel like in certain ways, like I think all software will become agentic.
So it's almost like to me like...
What does it mean to be agentic?
I think all software in a certain way will become AI-powered over time.
But clearly there's a set of building blocks of doing more sort of LM-powered software that seems to be sort of common across all the different use cases.
The way I think about models, we're in the business of building building blocks.
We want to give you amazing, generalizable, battle-tested...
general purpose, composable building blocks.
And I think there's some really interesting stuff also with the agent use cases.
That's interesting you bring up training because I think in another podcast maybe like a year ago, maybe like two years ago, you said training you were not focused on specifically.
What changed in the market?
We've been building a training product for multiple years, on and off.
I wouldn't say we've never been focused on it, but it's like one of those things where like, I mean, now we're like 150 engineers, but a year or two ago, we were a much smaller number of engineers.
But just virtue of being smaller, we had to focus a little bit more.
And so inference became our sole focus and was our sole focus for many years, but we're bigger now.
We do have opportunities to also place bets in other markets.
I'm also really interested in continuing the list of things.
Post-training, reinforcement learning, I think there's some really exciting stuff around that.
I think there's also many other stuff around storage and building data warehousing and feature stores and real-time streaming pipelines and all kinds of...
I don't know.
I think the long-term view of Modal is basically like, you want to build some cool AI shit?
We got you covered.
We got all the building blocks.
Come to us and we'll help you take all these building blocks and compose them.
And that's the beauty of software.
You can build almost anything if you have the right building blocks.
So that's very much the company and the product they want to build.
When you say training, are you focused on more of like the bigger enterprises doing huge training runs?
No.
Okay.
No, they're going to go and like, you know, do these like, you know, big hyperscaler or rather Neo Cloud mega deals and get, you know, 100,000 GPUs or whatever.
But there's like a little bit of an underserved market of like, in my opinion.
you know, like researchers iterating or like people training smaller models.
There's, you know, text-to-speech and speech-to-text models.
Computational biotech is actually a market that we see a lot of demand from.
We have a lot of customers in that space training relatively, you know, modest models.
You can train on 64 GPUs or whatever.
Recommendation system.
A lot of sort of traditional machine learning.
There's a lot of things where like you don't need, you know, 100,000 GPUs.
That market, I think, is like, we're not going to like focus on that for a while.
But I think there's a lot of stuff in the...
you know, slightly smaller markets that are relatively underserved.
It's very hard to set up training clusters.
Yeah.
Have you noticed, like, since, I don't know, like, GLM 5.2 or, like, Kimi K3, or maybe, like, Kimi 2.5, that, you know, a lot of people are using those and, like, fine-tuning them?
If anything, I've actually seen the other direction.
I feel like fine-tuning the value prop a couple years ago was like, yeah, you know, open source models, they're not quite as good.
But, you know, if you take, you know, a small model and you fine tune it on your specific domain, you can actually reach the frontier in terms of, you know, quality and cost.
Today, I would say, like, the open source models are so good that, like, you can basically just, like, swap them out and just run, you know, instead of, you know, the frontier ones, you can run, you know, Kimi K3 or whatever, DeepSeek 4.1 or GLM 5.3.
And they're like...
Basically almost as good as the Frontier model at a much lower cost.
So we still see a lot of demand for post-training.
I do think it's a really interesting space.
And we're working on some products in that space, both sort of SFT, but also reinforcement learning and things like that.
I would also say fine-tuning is no longer the thing that you kind of have to do.
It's very optional.
Open-source models work really well just off the shelf, too.
Back to sandboxes, actually, I forgot to ask you.
So, like, what did you have to update about the sandboxes that you guys were offering that, like, existing sandboxes did not allow for?
Not a whole lot.
I think the thing we've always been very, very good at, I mean, we're infra geeks, right?
Like, we're very good at, like, you know, scaling and reliability and doing a lot of stuff.
And I think that's why that explains to a large extent, like, why we have...
You know, in my opinion, I don't have numbers, but like, I think we have by far the largest market share in this space.
Like, we're just very good at running, you know, hundreds of thousands or even millions of sandboxes.
Yeah.
I will say we'll have to, we've had to rewrite our systems, you know, a bunch of times in order to handle that scale.
So, but we were always like very good at it.
There are other things like over time.
I mean, the sandbox space in general, like.
You know, like, it's, like, not the most, like, differentiated space.
But, you know, we're working on some really cool stuff.
Like, over time, like, we've had to add support for VMs, like virtual machines.
So we previously built our sandbox product on GVisor.
But now we offer full virtualized machines as well.
Turns out a lot of, for certain use cases, you kind of need full Linux compatibility.
There are other things we've had to build, you know, better primitives for, like, more interactive.
you know, piping data back and forth between sandboxes, working with file system.
We've had to spend a lot of time on snapshotting.
I think a lot of the things that over in the long run will differentiate will be like, you know, really cool things like, you know, forking sandboxes, snapshotting, resuming snaps, like live migrations.
In general, like I think sandboxes...
The novelty of sandboxes was always, you know, this sort of ephemerality, like you can spin off sandboxes for a few seconds.
And that's something I, like, that's a string I want to pull more in.
I think there's a lot of really cool stuff you can do, you know, kind of decoupling the agent and the harness, decoupling it from sandboxes, having agents control many sandboxes, forking sandboxes, you know, snapshotting things, like, you know, like running basically like...
very short-lived, maybe one per command, like things like that.
So I think there's a lot of cool stuff there.
We've already spent a lot of time doing that, you know, around snapshots.
But I think there's a lot of cool stuff to be built there as well.
You brought up snapshotting a couple of times.
Like, what do you see as like the use case for snapshotting?
Like, what would that give us that we don't get right now?
I think the big thing for me is like, today, a lot of sandbox workloads are...
Kind of like lift and shift.
Like people think a lot about sandboxes, almost like, you know, I have my dev box.
Now I'm going to shove it in the cloud.
I'm going to have an agent control it.
Maybe I'll run the harness inside the sandbox.
I don't know if like long-term that's like the right way to think about, you know, on like compute for agents.
I think a much better model would be you're going to have this like very long running agents, which almost like to me are like kind of durable execution workflows.
Like they're going to run, you know, 24-7.
Every once in a while, they're going to run commands.
And having the ability to spin up a sandbox in 100 milliseconds, run a few commands, and then shut it down and snapshot it, I think the faster you can get that wake up, go to sleep cycle, the more you can create sandboxes that only run for a very brief period.
And that will make compute much more efficient.
And it will also enable you to do some really cool things, like forking and moving things around.
And, you know, having, like, imagine, you know, like, clawed code instead of, you know, having sort of a very linear flow, like sequential flow, like kind of branching and, you know, running hundreds of agents at the same time.
I think a lot of, like, CI is, like, another, like, illustrative example.
Like, for most of the history of CI...
You know, talk about GitHub actions and things like that.
Like you had a very sequential flow.
Like, you know, you slowly install a bunch of stuff, then you run the test suite, and then, you know, generate some reports or whatever.
And it's like, you can break it up into shards, but it's kind of annoying.
Like what I would love to do is like, take your entire test suite and just run every single test in its own sandbox, right?
Like, and just paralyze the shit out of that.
Run like a thousand sandboxes.
Why can't that be done?
I mean, the problem is like, there's too much.
There's too much overhead around starting and stopping sandboxes.
So I think the more you create frictionless starting and stopping, the more you can enter a world where you can do this extremely bursty, large-scale run as much as you want in parallel.
I'm an infrageek, like I said.
I get very excited about these things.
Once we figure out all these primitives.
and the right building blocks.
I think it's going to unlock a lot of really cool stuff that, you know, we previously could not do with software.
Why hasn't that already been built?
I would assume even previously people would want to parallelize as much of their CI as possible.
You can't, but the overhead, it's like Amdahl's law or whatever, right?
Like the overhead of parallelization right now is very high.
Because like right now, like in GitHub Actions, for instance, like we parallelize in the modal test suite, right?
But like...
What that basically means is like now if you take your test suite and you split it up in two, like now each of those shards both need to do all the installs and the test setup.
And that takes a long time.
Like it can take minutes.
But let's say you can do the test setup once and then you snapshot the container and now you clone it and now you can run the test suites independently.
I think a lot of the benefits cannot be, you can't materialize those benefits until you get the friction and the overhead down.
transaction cost.
I think you guys have a partnership with Anthropic and they're using sandboxes for something?
Like modal sandboxes.
Yeah, I mean the managed agents with Anthropic, there's a sort of bring your own sandbox integration.
So you can use modal for those, yeah.
Oh, cool.
How did that come to be?
I think Anthropic is like trying to create, you know, like a thriving ecosystem and community.
And so I think, you know...
They make money from inference, right?
So I think it's very much in their interest to promote, you know, like for everything else, you know, as much of, you know, of an ecosystem as possible.
And they want to have the largest possible surface area as long as you use Anthropic for inference.
So I think it makes like very rational sense for them to partner with us as a sandbox provider.
Also, I feel like we have to bring up the hugging face incident.
Are you okay talking about that?
Yeah, yeah, I mean, it's all there.
Yeah, yeah, yeah.
Yeah, could you just briefly describe what happened?
And I think they were using the modal sandbox, but it wasn't a fault of the sandbox.
Yeah, exactly.
I forget all the details of the exploit, but I mean, I think what you're referring to is the fact that modal was involved.
Yeah.
And so just to comment on that, basically the agents running inside that exploited hugging face.
they discovered a vulnerability in an app that was deployed on modal.
And they used that to sort of, it's almost like a springboard for getting access, getting full internet access is my understanding.
I don't remember the full details.
To be clear, this is an app running a modal that was hacked.
Like it was not modal that was hacked.
So it's like AWS, a lot of people run stuff on AWS, occasionally those apps get hacked.
Does that mean AWS got hacked?
Like, no, of course not, right?
And so...
There's a lot of people running apps on modal and, you know, one of those apps got hacked.
But like there are some lessons we can learn.
And I think one of the things we've been reflecting on is like, could we have more sensible, you know, security restrictions by default?
I think to use the AWS analogy, just as another analogy, you know, S3 used to be this like, you know, it used to be very easy to accidentally make an S3 bucket public.
And AWS realized like, you know, it isn't necessarily.
cause it, you know, pose a security problem for AWS per se, but a lot of their customers accidentally would, you know, like leak data.
And so S3, it's much harder now to make S3 buckets public.
And so in similar ways, like we're exploring, like, you know, can we make security a little bit more restrictive by default without necessarily, you know, destroying the magic that makes modal good.
And I think there's also, you know, it's kind of a separate sidetrack is like, Agents are getting really good at cybersecurity.
So we've actually also, as a sort of separate sort of learning from this incident, like we started using agents internally quite a lot to try to find vulnerabilities.
Software hasn't found anything, but like they're very good at like probing into like very deep parts of the system and exploiting, trying to exploit things and trying to escalate and get out of sandboxes.
So, you know, it's something we're exploring very actively right now.
How exactly?
do you get the agents to run through the code base?
You're just like, hey, find security vulnerabilities?
Well, no, you just put them in a sandbox and tell them, can you try to explain?
Just run through the entire table.
Can you just try to escape from the sandbox?
It's like escape the room, but for agents.
Cool.
When did you start doing that?
We started doing it a few months ago.
And it's pretty exciting.
Like when Fable, I guess, came out?
Yeah, roughly around the same time.
Okay.
I mean, my view on cybersecurity is that, you know, I actually think they're very good at finding vulnerabilities.
But I think you can also use them defensively very well.
So I think companies like Modal and many other companies right now, if you go to talk to pretty much every citizen, I'm sure they're all thinking about the same thing.
How do we use agents defensively to fix all our vulnerabilities?
So over time, actually, in a way, I'm not that nervous.
I think if anything, agents and cybersecurity, all the breakthroughs in cybersecurity will.
will make the world safer, if anything.
Do you think that all of the big cybersecurity companies are just cooked?
I don't know if that's true because, I mean, you're asking something that's very far outside of my core expertise.
But when I think about cybersecurity, a lot of what you're selling is effectively fear.
And that's almost like a branding and marketing strategy, as much as, you know, obviously the core products.
But I think, you know, brand and things like that are actually like arguably like more valuable in the era of AI.
So I wouldn't necessarily jump to the conclusion that they're cooked.
I think they have, you know, deep relationships with the enterprise customers and they have, you know, big sales teams who are very good at telling, you know, spooky stories and things like that.
And I think they're going to continue to be very good at that.
I just ask because like, yeah, you're doing it yourself.
You're not going to one of like the Palo Alto networks or whatever.
But I guess like it's only...
like giant enterprises that care about that.
Also, they can blame somebody if something goes wrong.
That is true.
Yeah, you kind of want to hire, in many cases, just like an established vendor in order to blame them.
I mean, to some extent, it does reduce a little bit the need for us to bring in pen testers, like human pen testers, which most startups do on a regular cycle.
So maybe previously, we would do it.
I actually don't know what the cycle was, but I think we used to do it like once every six months, roughly.
Maybe now we only need to do it once every...
year.
I don't know.
But I think with all of these things, humans can also use them to get more efficiently.
I don't know.
I'm kind of a believer also that humans with AI is even more powerful now.
So maybe there's an argument that we can bring in pen testers who are really good at using agents and find vulnerabilities even faster.
I don't know.
I'm not that...
I'm an optimist.
I started a company, so I'm generally optimistic about everything.
But I certainly don't think humans are cooked or companies are cooked.
I think in the era of AI, a lot of companies are going to figure out how to use AI to be even more efficient.
I want to transition a little bit to developer experience.
Because early on, even now, you guys focus a lot on that.
You've talked a lot about that.
Does developer experience even matter anymore?
I think it still matters.
And I think you're sort of, you know...
Like the context, I think you're official.
Like the thing you're talking about is like now with agents, right?
Like the docs are already there.
The agents are going to look at the docs, like all that stuff.
To that point though, like almost all the things that make developer experience good also makes the agent experience good.
It's kind of what we've seen in practice, which is like things like having good docs, having descriptive error messages, having fast feedback.
loops, right?
Like, I do think there's certain things have changed.
The other day, I was like setting something up with Cloudflare.
And it's like, I find Cloudflare like notoriously annoying to work with sometimes.
And, and I threw an agent at it, and it was able to like, just configure a bunch of like, ask, you know, things in Pulumi for me.
And, you know, and so I will say like agents does, they do make it a little bit easier to work with things that are like harder to work with in the past, you know, like the sort of human toll of dealing with YAML.
has arguably gone down a little bit because you can just tell your agent to deal with it.
But for the most part, I think the things that make developer experience good also make agent experience good.
I think to some extent also infrastructure over time anyway becomes and needs to be more programmatic.
I think that's always been a thesis about sandboxes is that things that you previously had to configure using YAML, that should just be an SDK.
That should be more imperative, like launch a sandbox, do stuff with it.
tear the sandbox down, right?
Like, rather than sort of declarative 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 always were, if not more.
Is there anything you changed in your product just because like, you know, most people are just running agents on?
We do.
I mean, we also, we actually do run a lot of internal tests where we have agents, we tell agents to like 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 like because of agent training data, it's very hard to deprecate things now.
We see that like agents often like love using, you know, old versions of modal syntax and...
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.
Like, you know, over the last year or so with how we deprecate and remove features, it takes, we have to be very careful to update every single example that's out there online.
Yeah.
And, you know.
You have skills, right?
Yeah, there's like stuff like that.
But like, there's also an insane amount of like modal code that's now like online too, that goes into the training data.
I've seen like that to be like kind of a, you know, a little bit of like an interesting example where like.
Another thing, by the way, too, is like there's obviously like to sort of similar to like search engine optimization.
There's like agent engine, you know, whatever people call it, agent optimization.
We often like run internal benchmarks.
We're like, ask an agent like, hey, like, can you deploy a stable diffusion for us?
Use whatever tool you want.
And we see if it recommends modal or not.
And those things are very useful for us to sort of track over time.
Or like, hey, spin up some sandboxes.
Or like, hey, like rank all the sandbox vendors.
So we spend a lot of time doing those things to make sure.
I mean, what do you do about that?
Yeah, you say, hey, build this stable diffusion thing.
Does it recommend modal or not?
Yeah, what do you do about that?
Yeah, I think that's harder.
I think 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.
You can also, to some extent, sort of see the perception, I think, a little bit more.
You can ask an agent, how does...
you know rank all the sandbox vendors by reliability or rank all the sandbox vendors by price and and sort of see and it does feel like agents are a little bit more prone to like misc understanding pricing and and you know things like that so we also spend a lot of time like just making content more clear and more like you know understandable for agents because we know they're all indexing like everything that's out there and that's talking about modal have you thought about just like making a bunch of GitHub repos and having the agents write a bunch of modal code in there?
Have you tried that?
Slop cannon.
I think the truth is that is probably something you can do.
My guess is LM training data today is probably quite insensitive to what's AI output in the first place, and you can probably create a lot of slop.
We thought about it.
I don't love that idea, but in theory, much like SEO in the early days, and still to some extent, auto-generated content is a very effective strategy.
I think it's possible you can do those things too.
I want to switch to FDEs.
Apparently you guys hire forward-to-point engineers.
What do they do?
We're in a new era of building applications and things that we couldn't build just a few years ago.
We see a lot of companies, that, you know, they need a little bit of help, right?
Like, you know, and so we started investing in FDs a couple of years ago, but it's really been this year.
We've kind of scaled it up a lot.
I think we started this year having like four FDs.
Now I think we have like 24 or something like that.
So we've grown it a lot.
And they do, you know, it's more, it's not exactly the pound term model.
But they do a lot of heavy customer engagement.
They work with a lot of customers on performance tuning, especially with LMs.
We see that there's so much benefit from sitting down with customers and training draft models and tweaking parameters in DLM and SGLang.
They often fix bugs, or not fix bugs, but when customers run into issues, they often work with customers trying to figure out how do we work around that.
Another thing we've used FDs a lot for is kind of proactively, if we see certain customers over-provisioning with modal, like customers requesting too much CPU or too much memory, for instance, that's kind of expensive.
And we try to catch those things and we try to sit down with those customers like, yo, you're spending a lot of money on modal right now.
We can actually help you save money.
And then, of course, with active deals, we help them migrate code from other platforms, things like that.
You know, we never have the intention of becoming like a service heavy business.
I think that the goal for FDs is like, you know, A is to be part of, you know, the sort of sales process and like closing deals.
B is to serve customers and do some like, you know, customer support.
But like, I actually think like the most important thing is like C, it's like bridging gaps in the product that we later want to turn into like real features.
So I think to a large extent, you know, anything, an FTE does, you know, my question is always like, long term, how do we turn this into products so we don't need an FTE for this?
Yeah.
Do you guys hire PMs?
Product managers?
Yeah.
No.
Would you say these FTEs are kind of like pseudo-ish PMs?
It's a little bit of a different function.
Like, I think certainly on the more like, you know.
customer-facing side they are.
But there's like, you know, on the more like inward, you know, internal side, like there's a sort of separate part of like product management, which is more like, what are the next building blocks Modo should invest in?
And like, you know, and then there's like something in between, like, you know, looking at like maybe 10, 20 different customers, they're all asking for like slightly different things, but maybe what are the patterns?
Like, how do we turn this into product?
We do have people doing product with us and it's sort of evolved, you know, we've had people basically like become product managers.
after previously being either DevRel or engineers and just showing strong aptitude on doing, thinking very strategically about what we have to build.
So I'm actually not like anti-product management.
I do think that a lot of companies in the past hired product managers too eagerly.
And I think there's a risk that you kind of, I can sort of see it in a lot of products.
Like certain products, like you can tell, like, There's just eager product managers that just thought of widget-y things and just shipped them.
I think doing product management at an infra company really well is very, very hard.
Because it takes a very deep level of strategic thinking, thinking about what are the foundational building blocks?
Where do we want to be in one to two years?
Because the truth is, building infrastructure is very hard.
And how do we make sure we don't end up with 35 features that are like...
kind of similar looking, but all do like a little bit slightly different things.
That sort of level of thinking is something that, you know, is very rare to find.
And for that reason, we haven't aggressively tried to build up a product management team yet.
Yeah, that makes sense.
How would you say your teams have been evolving maybe like since Genialite?
Because I would assume, yeah, I mean, you obviously worked at like Spotify.
You had like a certain team structure.
Have your team structures like evolved a lot now that, you know, we have coding agents?
In a funny way, like, yes, I do think team structures have changed a lot, but I'm actually not convinced it was like Gen.E.I.
driving that.
I think in particular, like one thing I've seen a lot is that there's been sort of a focus, like a swing back towards being in IC that I actually think is very, very positive for the space as a whole.
I think, you know, if you look back at the space like 10 years ago, 20 years ago, everyone wanted to be in management because that was the way you would get more money and more, you know, more recognition and more prestige.
I think that shift actually started even before Gen.ai, but I do think it's heavily accelerated with AI.
We make it very clear to everyone at Modal that manager or IRC, it's like there's no difference in prestige.
Everyone is just a member of technical staff.
It's about ultimately your contributions.
We see a lot of ex-managers becoming ICs because they want to go back and build code.
There's been a shift away from non-technical managers, everyone, including me, I still write a lot of code at Modal and Akshat too, and pretty much everyone in the tech team.
And a 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 like greatly accelerated it because it made it even lower.
The cost of like writing code is even easier.
So if you have like non-technical people like committing code, like how do you review that?
Like how do you guys do code reviews?
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 like people in many cases trying to just escape the accountability of like merging things into production.
And if you have that like, you know, if you have that culture, like then to me, that's a sign that.
you need to invest way more in, you know, CD and CI and things like that, or CI in particular, but also CD, continuous integration, continuous deployment.
We do code reviews.
Like, I mean, like when I write code, like occasionally, like I'm asking, you know, authors, like, 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.
Especially at an infra company.
Yeah, exactly.
Infra companies, we need one more nine than the average startup, right?
In terms of uptime.
But like, you know, these are investments you just have to make.
Like you have to build systems that are very resilient to like, you know, you have to have rate limits everywhere.
You have to decouple systems.
You have to make sure that like nothing is a single point of failure.
You have to have extremely good test coverage.
Agents are actually really good at writing tests these days, which was like, you know, a few years ago, I thought like one of the major things missing in agents.
Now they're actually quite good at like, because I think it takes a little bit of like sort of...
kind of like need to step out of what you're trying to do for a second and be almost a little bit like devil's advocate to write good tests.
But now they're actually quite good at writing tests too.
So I think all these things help.
Do you guys use like frontier models for coding or do you guys, have you guys experimented with like token source ones?
We experiment with everything.
But yeah, I mean, you know, initially it was a lot of cursor then, you know, of course, Claude and Codex and now a lot of people are using, you know.
Nightshift and all this open source stuff or other stacks.
I don't necessarily have a strong point of view.
I want people to experiment and try different things.
Use frontier models, use open source models.
We're trying to do a little bit more dog floating internally now that we're actually running inference for a lot of the open source models at a very large scale.
I think it's also helpful to use our internal endpoints for a lot of agentic development.
So we try to promote that a little bit.
Something I read maybe 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.
Have you maybe like changed your opinion on that?
No, I have not changed my opinion.
I think modal to me, I'm a cloud maximalist.
And maybe to take a step back, like when the cloud came in 2008, 2009 or whatever, my first reaction was like, that's crazy.
Like, why would I want to take my code and run it on someone else's computer?
That's like insane.
And then like six months later, I was doing it.
And I think, you know, like it took me six months to change my mind.
It took probably enterprises like another 15 to 20 years.
But like you look at, you know, vendors like Snowflake or I mean, AWS.
And like, I think there's many examples of Datadog, et cetera.
Like the cloud is clearly winning, right?
Like, and the multi-tenant systems are clearly winning.
And, you know, to me, on-prem looks increasingly like sort of a legacy business model.
And I actually think, you know, BYOC, you know, sort of VPC peering, like all of these things, you know, like to me, they reflect sort of an outdated security model of like, we need to protect everything inside our own network, right?
Like using the network as a moat.
And that I don't think is true anymore, right?
Like we've sort of moved on to more like actually robust security paradigms, like, you know, zero trust and things like that.
And so to me, BYOC and those things, they look increasingly as outdated, at least from a security perspective.
From our perspective also, the fact that we have full control over our entire infrastructure stack, we rent all the hardware, we deploy, we manage all the infrastructure, we deploy and manage health and observe all the metrics and all the hosts, it means we can iterate very fast.
and build a greater product.
And I think that's very, very valuable versus, you know, customers in the past who had enterprise additions that they had to deploy on customers' environment.
They have to be very, you know, they have to think very carefully about release management and having depend...
Like, we don't care.
Like, if we want to introduce a new database, like, we can introduce a new database because we have control over it.
Like, we don't need to think about what customers have access to.
So, to me, multi-tenancy is...
It has so many different benefits.
I mean, that being said, like, you know...
If we were to work with some very large Fortune 500 customer in the future, and they ask for BYOC, we've done this in the past, we'll give them a number.
That number is very high, and no one said yes to it so far, but who knows?
At the right price, I would still build it.
And I think there's maybe separately another thing which I think is interesting, which is in theory...
And BYOC might also be a way to work with and get capacity in certain ways.
Like we sometimes work with NeoLabs and those NeoLabs already have very large capacity reservations.
And, you know, the question is like, you know, how do we get them to run modal when they already have capacity?
And BYOC might be a solution.
We can still keep the control plane in our environment.
And the other flip side of that is like, we could maybe even run like other people's stuff on that capacity.
So there's some like kind of fun stuff you could do in theory where like you can sort of, you know.
like kind of aggregate all that capacity into one big pool.
So we're excited about some of those ideas.
But in general, like I feel like on-prem, I don't know if we're ever going to do.
But BYLC, like maybe.
Bring your own cloud.
I keep saying BYLC.
I should explain acronyms.
Let's say, hypothetically, you are going to raise, I should spend more money like soon.
What would you use that money for?
I mean, like I mentioned, like in this capacity situation, a lot of the money, A lot of the cash flow, I should say, that's required is capacity prepayments, right?
And so that to me represents the best use of cash today.
We're ramping up capacity very aggressively.
Maybe we move into other types of deployment models in the future, ownership or whatever.
But I think there's always going to be a cash component of that, like some sort of down payment or prepayment or some sort of that.
So that to me is the greatest use of cash right now.
There's, of course, other things like, you know, salaries and office spaces and stuff like that.
But that actually, in the grand scheme of like our financials, like it's basically a rounding error, right?
Yeah, interesting.
Do you think that's going to change?
No, I think, you know, the sort of operating leverage that we have in this business is kind of insane.
Like, you know, we have 200 employees, you know, they cost a lot of money, but, you know, the GPUs cost a lot more money.
If you had to say, like, what are the top, like, I don't know, like three things that are your biggest focus or the business's biggest focus right now, like, what would you say those are?
Capacity and the sort of financial complexity.
And, you know, in general, like, how do we how do we think about that space?
How do we think about pricing and packaging?
How do we think about the sort of tension between ownership and renting?
Should we?
be going a more NeoCloud direction?
Should we go in the opposite direction, the sort of counter position?
Like, that's probably the biggest thing that I think a lot about.
The second biggest thing I think a lot about is...
probably around like more like product strategy.
Like I think a lot about like, what is the next building blocks?
Like if we, you know, do more like agentic stuff, like what are the things we need?
You know, are there certain storage primitives or compute primitives or in general, like what is the thing that the world is going to wake up and realize they need over the next few years?
And ideally we have that at that point.
We've been pretty good in general at like, you know, anticipating demand and building products in advance of it.
with the serverless functions in the sandboxes.
So what's the next thing?
Then I would say, like, actually, the third thing I think a lot about is, like, more on, like, culture and company building and stuff like that.
I mean, we recently crossed 200 people.
We're growing extremely fast.
We'll probably hit 250 by the end of the year.
Like, when you're growing very fast, you have 250 people that are all trying to figure out how they can add the most value to modal and, you know, making sure that they have the right context, that they have the right...
motivation that they're excited to come into work every day because they get to build something incredibly cool and they know you know what makes modal successful what they can do aligning the incentives and making sure that you know we we people have like a very positive culture where they have the sort of implicit trust to do a lot of stuff but also the accountability to deliver the best things and be held accountable if they're not doing it.
To me, those are super critical things around this scale.
When you're like 10, 20, 30 people, you can all just sit in a room and it's all kind of implicit and you kind of just feel it.
People can sort of read me.
They can tell me when I get a little bit annoyed.
They can tell when I'm happy.
Now we're 250 people and people don't necessarily see it.
You know, of course, there's like a lot of new people.
They're like maybe a little bit nervous to like talk to CEO and like all this stuff.
So like, you know, how do I remain approachable?
And how do I like it's there's like the Dunbar number, which I think is like more sort of, you know, fake than anything, like at least like the story behind it.
But like it is actually kind of real still.
Like there's something around like 150, 200.
We're like laying the foundation of the culture is very, very important.
How many people are you guys trying to hire over the next year?
We've grown about 4x on an annualized basis in the last 12 months.
I think that's like an unsustainable growth rate on a relative basis.
I've seen that, you know, you can double the team every year and that's not super hard to do.
But 4x, what you start to see is, you know, cultural drift.
You start to see islands of different working styles.
You start to see people doing very speculative things.
That's something I always watch out for in the engineering team.
You go and talk to an engineer, and I'm like, what are you working on?
And it turns out they're building something kind of like fringe.
I'm like, is this really what you should spend time on?
So growing very fast has that cost and, you know, it has the cost of ramping people up.
So I don't know.
I think by the end of the year, maybe 250, by the end of the next year, you know.
But, like, you know, we're going to keep growing, like, maybe two and a half, three XO.
So it's very likely we'll end up, like, next year, like, 700 people or something like that.
I'm going to assume most of those are engineers.
Mostly engineers.
We're ramping up sales a lot, too.
Okay.
What kinds of engineers?
It's primarily systems engineers.
I mean, we've always been, like, very deep in the sort of, you know.
Linux and file systems and scalable systems and networking and cloud and stuff like that.
So that's the core of what we're looking for.
People are really good at those things.
We're also looking a lot at more like, because we moved up in the stack a little bit, we're doing a lot of work in the LM inference space.
So now we're dealing with a separate set of concerns around CUDA and GPUs and MFU, maxing out the...
tokens that you can get per GPU and a lot of that things.
Even though I actually will say a lot of the work in that space, in my opinion, turns out it's more systems-driven still because it turns out KV caching and routing is actually still very systems-like.
These are very systems-heavy problems.
But yeah, a little bit more GPU performance, that kind of stuff.
We're starting to build up a research team.
We're very excited about moving into...
stuff around post-training and distillation and better methods for quantization.
For your customers or for internally?
Both.
I think it's a little bit like with the FTEs.
I think we initially will do a lot of stuff with our customers to optimize their models.
But over time, figure out how do we turn those into products.
I think we'll sort of arguably fail in a certain way if every time a customer needs to optimize a model, work with them and, you know, long-term it has to be turned into products.
And so with the FDs and with the research team, initially you're going to have to do a lot of work with the customers and we are that.
But over time, we're also building a lot of internal tooling and a lot of, over time, internal products that are fully self-serve.
So we're working on a lot of stuff right now in the post-training space, but also in the GPU performance space.
So a lot of cool stuff.
A lot of cool stuff.
Back to the...
product strategy stuff that you were talking about.
Yeah.
Yeah.
Like, what are your thoughts?
Like, what do we need over the next year, two years?
I think it's incredibly hard to say.
And if I said, like, I know exactly what we need to build, like, I think I would be like delusional.
I think what we've seen so far, you know, and what I kind of believe in on a more general level is like, we need better building blocks.
Like, this is a new era of software.
We're unlocking a whole new type of applications that could not be built a few years ago.
Doing all the JNI stuff, code that, LMs that output code that needs to run in an isolated way.
There's so many new primitives that are needed to work with GPUs and work with LMs.
And we built some building blocks so far, and that's unlocked a bunch of applications that the world has seen over the last few years.
Not just us, of course.
But I think over the next few years, there's going to be so many more cool things.
And so I mentioned some stuff.
I'm very bullish on training.
I'm very bullish on best jobs.
I'm very bullish on certain things around agents and low latency and things like that.
But in the end, we consider ourselves like an infrastructure shop.
We're not trying to build very narrow things.
We try to build very general purpose building blocks and put them in front of customers.
And then those customers will combine those building blocks.
and build some incredible applications that we could have never anticipated.
I want to go through some of your tweets.
This will be the last part of it.
And we can just like, maybe you want to double click on anything.
A lot of long running persistent sandbox stuff right now.
Today feels lift and shift.
I suspect sandboxes will evolve from dev box in the cloud to something more ephemeral.
One environment for every command and snapshotting in between.
So you can pause, resume clone.
Yeah, I mean, we talked about this a lot.
Yeah, we talked a bit about it, right?
I think the median sound box in modal today...
is like eight seconds long or something like that, which is kind of incredible when you think about it.
And over time, I think it might get even shorter.
We want to support long-running sandboxes too.
I think there are some very valid use cases around long-running sandboxes.
But my vision is the world needs also, we need to figure out this.
How can we just massively paralyze things and reducing the overhead of starting and stopping sandboxes?
I don't know if I ran an IPO-ready startup engaged in CapEx arms race with a competitor, it would be nice to coordinate and pace the arms race a bit.
No comment.
The biggest downside of GPU scarcity is not that it's hard to get GPUs, but that almost all capacity is sold as a three-year rectangle starting three to six months in the future.
That's not what demand looks like for most users.
I think we talked about that a little bit as well.
Yeah, and maybe just to go a little bit deeper now.
One thing I think Model has always been very, very good at is...
fully on-demand capacity, right?
Like if a customer comes to us and needs 100 GPUs, like we can typically give them that like immediately.
You don't even have to talk to a salesperson.
And a lot of workloads in real life, like they don't look like these like flat, you know, rectangular workloads.
Like they scale up and down throughout the 24-hour cycle.
They maybe grow over time.
They maybe have certain burst periods.
And to me, that is a challenge with a lot of customers today.
And I do think it's a legit problem for...
for the space is like the only the prime way to get capacity is to buy these rectangular blocks.
It's not great.
I think the world needs to evolve.
And that's fundamentally, I mean, I'm very biased, but like, that's why I think modal can play a very large role in that sort of, you know, whatever you want to call it, sort of duration transformation of offering more flexible capacity.
And we can do that because we can aggregate many, many thousands of customers and the demand gets very smooth in aggregate.
So that's a lot of the value prop of modal is exactly that.
Would you say that's a differentiator?
I think so.
Oh, really?
Okay.
Yeah, massive differentiator.
Actually, in fact, I think...
Modals, if you want to be very sort of reductive, you can break down Modal's value prop into two things.
One is the developer experience, the ability to iterate and build things and not have to think about infrastructure.
The other thing is the capacity stuff.
The more and more I think about Modal and where we're going in the long run, we're aggregating the world's compute capacity, and we're very good at slicing it out very granularly because we built all this work around, you know.
scaling up and down extremely fast, you know, all this stuff around GPU snapshotting, working some ways to make it much, much faster.
And that model works at very large scale, like really, really well, because you can aggregate lots of customers.
Every month I keep saying our sandbox revenue might apply to it, but it keeps going up 30% every month.
It's kind of nuts.
Like, I don't understand, you know, like every month I'm like, well, you know, sandboxes grew a lot, but like clearly they kind of plateaued.
And then they keep growing even more.
So I don't know.
And a lot of VCs, like they're like, How did you know sandboxes was going to be big?
And the truth is, I didn't.
I thought it was going to be bigger than it was in 2023, for sure.
But the fact that sandboxes is a third of our revenue today, it's insane.
And we're obviously very happy about it.
We have a very large team investing in sandboxes.
I don't want to trivialize it.
I do want to give ourselves a lot of credit for seeing sandboxes for what it is today, a little bit, back in even 2023.
I probably would have never taken a bet that revenue would be this large from sandboxes and the market demand would be so much.
There's an interesting structural reason why inference providers should exist separately from model builders.
The best model keeps changing a lot.
Inference providers can easily reallocate resources between models since overall demand is quite smooth.
So, I mean, if you think about all the Chinese labs and, you know, in the future, hopefully more U.S.
labs too, every time...
a new lab releases, you know, the latest and greatest open source models.
Like you see big shifts in demand, you know, for these models.
And so I think a challenge with, you know, if all these labs independently like held capacity, they would see when they launch a new model, demand would go up a lot.
And then another lab launches a better model and then the demand goes down, you know, but of course, like in the background, they're working on the next version.
So like, I think, you know, there's like a structural reason, like I said, like why.
you're going to start you're seeing demand kind of shifting to like the latest and greatest Chinese lab model.
I mean, not like it's not like, you know, this is like everything just moves overnight because because a lot of models and prompts and stuff like like a lot of things that get sort of there's like a certain stickiness to it.
But I do think, you know, there's an argument that it's very easy for modal to like, you know, right today we're running, you know, X number of thousand GPUs for one model.
Tomorrow we need to shift like, you know, 50% of that to another model.
Sure.
That's just like, that's what the system was built to handle.
No one even needs to tell us to do that.
It just magically does that.
So you agree that basically the LLMs are commodities?
And if you agree, then where do you think the business for the big labs is going to be?
I'm not sure if that's necessarily true, right?
Is Taylor Swift a commodity?
Like she releases a big album and goes on a tour and makes a lot of money.
And then, you know, then there's like a down year when she goes and like records, I don't know if this is the best analogy.
And then she releases a new album, you know.
So I don't know, like she still has like a lot of brand and there's a lot of, you know, power and like makes a lot of margins.
So like as long as the labs like repeatedly can launch new models.
And as long as the margin that they have on those models are such that they can sort of pay off, amortize the cost of training those models, it could still be a decent business, I think.
So you don't think that the intelligence is plateauing?
No, I don't think so.
I mean, I think it remains to be seen, right?
Models today are very good at doing things that can be trained very efficiently using reinforcement learning.
So we've seen that initially with coding and writing simple snippets.
Over time, it's gotten really good at also writing production-level code.
It's gotten really good at math.
It's gotten really good at cybersecurity.
These are all quite verifiable things.
I still think it remains to be seen.
Our model is going to be really good at whatever, cooking food or...
I don't know, like things that have like more like diffuse targets, maybe longer feedback loops or whatever.
I think humans probably like, my feeling is like will be quite good and quite competitive with models for a long time in those domains.
But, you know, certainly, you know, AI models, they're getting very, very good.
As I'm sure everyone can agree with.
Yeah.
So obviously like the models are getting really good at coding.
They're already really good at coding.
Other applications, do you think, maybe that aren't as big right now, are going to become huge over the next few years for the LLMs?
I don't know, but I think anything that has kind of a verifiable...
A computational bio, I think you mentioned.
Yeah, a computational bio.
I think those are not exactly verifiable, but there's certain ways you can run...
You can use an LLM to output predictions.
Then you can do computational methods to simulate the molecular dynamics and get feedback loops.
I mean, I think like material science is like maybe another area where like you have a little bit of that loop where you can sort of, you know, synthetically manufacture certain materials and measure the properties and you just kind of put an agent in the loop and like, you know, do things.
So, you know, I have a physics background.
I'm pretty excited about that.
So drugs, materials, what else?
I'm drawing a blank, but I'm sure there's many other things.
Cool.
I mean, those are all the questions that I had.
Is there anything you wanted to talk about that I haven't?
I'm good.
This is great.
This is a lot of fun.
Awesome.
Thank you.
