Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO
Warm welcome to Basil Chatha, our newest cohost from the Forward Deployed side of the AI Engineering world! We’ll be ramping up a new show with him and couldn’t pass up an interview with Modal’s CEO Eric on the occasion of their monster Series D! Two y...
People
Notes
-
What Is Modal's Killer App? at 4:48
-
-
Why Are AI Hardware Prices Going Up? at 18:07
-
-
How Do Neoclouds Expand So Quickly? at 28:35
-
-
Is Smaller AI Training Underserved? at 37:20
-
Why Does Modal Snapshot Sandboxes? at 43:35
-
-
How Does Modal Treat Code Reviews? at 1:03:33
-
What Is the Best Use of New Cash at Modal? at 1:09:33
-
How Many People Work at Modal? at 1:11:39
-
Why Does AI Compute Come in Rectangles? at 1:18:32
Related notes
Full transcript
The episode notes above make this conversation easy to skim.
0:04
Thanks for coming on, Erik Verne Hartsen 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 Dekagon and Suno and Runway and Cognition and many others.
0:27
to essentially build AI applications. So what that means in practice is a lot of inference, a lot of sandboxes, sometimes training and fine-tuning, sometimes batch jobs and other things. So we have basically built a software SDK that enables customers to move really fast and build this. We manage all the capacity underneath, make it easy to deploy and scale and run these things in production.
0:50
So you were on Latentspace 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 stuff like that, yeah.
1:08
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, we're just hosting like a couple of models there. That's awesome. What do you think? Any feedback? I mean, I love it. Nice. Good. I mean, yeah, that's why I use it over like any competitors or anything.
1:25
Good. So before you started in modal, you were at Spotify and also like 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.
1:46
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.
2:11
Like, there's got to be a better way to do that. So a lot of sort of, you know, 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, long story about the company.
2:32
Talk about it separately. But I was the CTO for five years of Better and grew the tech team from, I think, two to three, 400. So I learned a lot about management and building teams and hiring and also learned a lot about developer productivity, thought a lot about tools and things like that. Did a lot more like full stack stuff. But yeah, I kind of came back to what's close to my heart, which is infrastructure and AI and machine learning after that.
2:56
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 the CTO. And the company was 10 people. And for whatever reason, the founder of Vishal... very interesting guy, very, very smart, all crazy in mostly positive ways.
3:21
We got very well along. So we, yeah, we started building it in 2015. And I spent five years growing that company. And then, you know, eventually, 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.
3:40
That was like 2020, 2021 when you left? Yeah, something like that, yeah. So, okay, you left before you had the idea for Modal? Or you left and then you started... It's hard to say. I had a lot of random ideas when I left Better, and I...
3:55
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 and... 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.
4:17
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.
4:35
Like I should do this. This is like, this could be a really cool platform. Were the other ideas, like, 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, yeah, 2021.
4:51
Oh, okay. So ChatGPT was late 2022, right? Then I started building, so maybe actually to rewind a little bit 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 category as Airflow and Prefect and Daxter, sort of dated category to some extent, like people don't talk about it as much, but for a while it was like, you know, it got a lot of attention.
5:12
Anyway, I never turned it into a business. But a couple 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 running code, like basically orchestrating code running in the cloud. And what I realized was, at the end of the day, a core puzzle piece is not just orchestrating the compute.
5:35
It's executing the compute. And I was like, that's kind of a bigger problem, actually, to solve. So in a way, I actually left it on the shelf and then said, actually, I'm going to go to this other thing over here. And I'll get back to the workflow scheduling in a little bit. But I never got back to it, long story short. And I ended up building modal, which the focus was more like, let's just figure out a way to make it easy to run code in the cloud.
6:00
And the focus was initially, like, fairly general purpose. And actually, in a way, like, it's always, we've kind of gone full circle more recently. But we focused on so many different applications. It was kind of, the idea was, like, let's just make it super easy to run code in the cloud. Could be GPU code, could AI, machine learning. It could also be, like, data stuff.
6:19
and focused 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 the stack and built our own file system, built our own 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.
6:45
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 StableFusion model. And that made us realize maybe GenAI inference is actually a really good use case for us. How were they finding you? I'm this compulsive tweeter.
7:04
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... Like a lot of what drove the growth is just like me just compulsively just like tweeting about modal and like what I was building and getting people excited and writing long blog posts about where the cloud is going and all these things.
7:25
And I call it a bit like founder-led marketing. I always like feel like you kind of have to lean into like what you're good at. And like what I'm good at is like, I guess like just shit posting and being terminally online. And so, you know, like work, 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.
7:43
Nice. How long until you had your first customer? It took a while. Also, did you raise 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.
8:06
At some point, it became a problem because I needed the money. But we didn't race for a while. And until early 2022, we raced the seed round. So at that point, I'd already been working on it for about a year. Akshay joined as the CTO and co-founder about five years ago, about now, August, maybe 2021.
8:25
But then it took until like basically like late 2022 for us to see any meaningful revenue. I guess that's when ChatGPT came out. Yeah, and Stable Diffusion then, in our case, was the main thing. So we went from like, you know, $100 a month in like, I think like November 2022. And the next month we did like $2,000 a month. And then like January 2023, we did like...
8:49
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 like diverse? Yeah.
9:11
It's just one. And I don't know if I ever talked about like 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 like a stable diffusion company. So at some point, you know, in the first, I think first quarter of 2023, I think there were like 80, 90% of our revenue.
9:30
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 like comfy UI.
9:48
I'm assuming a lot of people were using comfy UI, like running comfy UI workflows on it. Some people were, but I think the people that were using modal, they tended to be more like low-level stuff. They did complicated stuff. What they like with modal is it's always been pretty hackable. So they deployed their own custom workflows with adapters and custom inference and a lot of optimizations.
10:08
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 auto scaling turns out to be actually a very similar problem. Like you want to scale up containers up and down very fast. So we just happen to be like very well positioned to capture a lot of those workloads in the early days.
10:26
Did tools for auto scaling 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. You know, whether that's you look back, you know, like the web or the cloud or, you know, mobile or PCs or, you know, AI or whatever.
10:47
So I think, you know, it's often the case that tools exist, right? 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.
11:06
And in a similar way, 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 back-end workload, so you have an even steady number of requests, like running a pretty low utilization because CPUs are normally pretty cheap, and so people don't really worry so much about cost.
11:35
But now you're entering this new world, and you have, you know, 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 like a lot of these tools, like, you know, like 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 some really cool stuff around like CPU snapshotting, GPU snapshotting, and we built it on autoscaler and scheduler and all kinds of capacity management tools.
12:09
And we kind of feel like you have to do that because you can't build for this new generation of software on top of, you can't build like 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? I mean, capacity has always from time to time been a challenge.
12:35
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, doing that and kind of just biting the bullet and building it. We always thought of our capacity management as one big pool. It's like one big pool over the entire world.
12:55
We don't think of it as separate clusters running in each region. That was one of the very consequential decisions we made earlier to kind of think about it that way. I don't know if there's been specific issues. I mean, we've obviously had bugs and outages. As much as I would love for modal to be 100% uptime, and I think recently we've basically hit four or five nines, but throughout the history of modal, of course, we've had some run-up against scaling issues and things like that.
13:22
Yeah. 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 like cloud capacity because i think it's actually changed a lot like in in the first few years we did we got almost all the capacity pretty much from from the hyperscalers spot and on demand capacity mostly spot capacity running in all the different regions you know using Initially, AWS, but also GCP and over time, Azure.
13:53
We started renting some capacity from Oracle pretty early because we wanted 810s and 8100s, 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, like, renting it right there and then...
14:16
Exactly, yeah. And it's also preemptible, which we had to deal with. But it sort of works in aggregate because you can sort of just, you know, aggregate capacity from many, you know, 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, and so we needed more capacity.
14:33
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, we have to go and do three-plus-year deals.
14:56
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 have to spend the entire... you know, last six to nine months, like, you know, kind of rethinking how we get capacity. We had to build a whole procurement, like, desk. Like, we have, like, four guys working full-time, basically.
15:14
All they're doing is, like, procuring capacity, calling neoclouds, you know, 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.
15:34
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,
15:54
first of all, there's an obvious operational complexity of it. You have to deal with vendors and suppliers and power and cables and all kinds of stuff. But there's also financial complexity to it. How do you fund it? Should you raise equity? And you can raise a billion dollars and go buy hardware for it. That's a very diluted way to do it.
16:15
You can raise debt. But if you raise debt, you typically want to have locked-in long-term revenue to pay the interest rates. That's also not trivial. Yeah. But we look at the economics, we look at 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.
16:40
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. And I do think over time, I mean, there is a lot of...
17:01
These are very expensive assets, the hardware. And I think, I mean, it's kind of staggering. You're starting to see like... AI investments started to become like several percentage points of GDP of the US 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 neoclubs, like these are very, very sophisticated financial engineering companies.
17:25
And so, yeah, we look at that and, you know, we look at all the options and it's possible we might have to do similar things ourselves. I wouldn't want to. Like, I would rather focus on being, you know, like a very lean software company, like doing the things we're good at. I don't think it's good in general for software companies to own hard assets, you know, in the same way as like, should you own your office? Like, I don't think that's necessarily the right solution for most companies.
17:54
But of course, like in order to get the capacity we want, like, you know, everything is 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. Like, do you agree with that? Or do you think this is just like a moment in time? I don't necessarily agree with that. I mean, like NVIDIA is delivering, you know, several hundred thousand Blackwells, you know, a month, right? And I don't want to say like the market is like 100% efficient, but like, you know, in general, like if you're willing to pay a high price, right? you can get GPU capacity, right? Like if you're willing to pay more than everyone else, and of course,
18:26
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. The normal state of hardware is kind of like gravity. Eventually, hardware prices always go down.
18:48
So we're a little bit in a weird sort of 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 in order to... To me, that's a little bit to sort of...
19:10
Almost like the great toilet paper shortage of, you know, the pandemic or whatever, right? Like, you know, at least this like, you know, run on the bank type situations. But that being said, like, you know, capacity is going to be tight for a while. And, you know, prices are going up. And, you know, 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.
19:33
And the fact that we have a lot of reservations locked in at a rate means, to some extent, we're effectively long GPU prices already.
19:42
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.
20:02
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 happen anytime soon. But like I said, hardware prices in the very long run, they tend to go down. And so it's worth reflecting on that. Yeah. Right now, I think your capacity is constrained and that leads to sort of, you know, in economic terms, there's a scarcity rent, right? Like who captured the scarcity rent? I think that primarily goes to two places, mostly Nvidia, but of course, but also to some extent, Neoclouds.
20:36
Like Neoclouds and in general, like, you know, anyone owning capacity has better economics. Like that's undeniably true today with capacity being constrained. Long term, you know, in the very long run, I don't think that's necessarily entirely true, right? Like, there's always going to be a little bit of a premium you can get from owning GPUs.
20:56
But is it worth the risk? You know, is it worth the risk, like, holding this, like, very expensive assets on your balance sheet? I'm not so sure. But, you know, we're going to see. Like, 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, right? maybe some complex SPDs or whatever, everything is on the table.
21:19
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, like, to some extent, like, NVIDIA is, like, kind of prefer a little bit of a diversification.
21:41
Like, they don't want, like, you know, small amount of large buyers. Much in the same way as you see, you know, hyperscalers getting a little bit of a constrained allocation. I think, you know, also NVIDIA prefers to see, you know, a lot of neoclouds and a lot of alternative clouds, like, getting more allocation. And I think a little bit what we see in the market is also...
22:00
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
22:16
My feeling is they prefer to buy from the tried and true. Part of it is also because they do a lot of training runs, so they need to have very large blocks. But there's plenty of capacity out there. 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.
22:40
Pretty good prices. Is it pretty much just like if someone offers you like a certain number of GPUs, like that's all you care about? Is there nothing like, oh, you care about like how reliable it is? You know, is it just some like janky warehouse that someone has these in? Yeah. I mean, sometimes it's kind of a janky warehouse. It feels like, you know.
22:57
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, pass mark scores or whatever it is. We need to see, like, you know, minimum, you know, north-south bandwidth egress and ingress.
23:20
So we do have a list of requirements. Often we try to do an acceptance testing period where we get one node and run some tests. Over time, to some extent, it also involves a little bit of a leap of faith. Sometimes we sign very big commitments, tens or hundreds of millions of dollars, and we start working with the vendor that we still don't fully know.
23:39
And over time... We'll see. And I think there's a little bit of our own semi-analysis has a cluster max. I feel like we almost have our own modal max score internally. I know which vendors I like more than others. And we prefer to do additional deals with the vendors that we've seen very good reliability. Not just that also. It's not just reliability.
24:08
It's also reliability. Are they very responsive when we have support issues? Do they fix the issues we ask for, the turnaround time? If things go down, how quickly do they fix it? Things like that. Do you agree that the demand for intelligence is basically infinite? And if so, why wouldn't you just buy up as much capacity as possible? And then if you overbuy, you can just sell it to somebody else.
24:31
I think it's very easy to say when there's a scarce resource, let's just buy as much as you can. But I think, first of all, if we bought it today, we couldn't utilize all of it. We could utilize a lot of it, right? But you can sell it off to somebody else who wants to use it, right? I think the challenge is, if there was something in the market that happens...
24:51
there are a lot of correlations that happen at the same time. If, you know, price is 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.
25:16
And when those tail risks happen, like it could be get very bad. Part of it is maybe I'm just old and I've seen this in the past. 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. I want to build a company that is around for 20, 30, 50 more years. I think we can certainly go out and buy an insane amount of capacity right now and try to just corner the market.
25:42
But, you know, do you know about the Hunt Brothers? It's like a legendary story in trading. They tried to corner the silver market. It failed spectacularly. So cornering the market, I think, in general, can be not a good idea.
25:59
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 run rate. Are you only buying up NVIDIA stuff or also like, you know, maybe a capacity from other types of companies? I guess like Trinium and...
26:21
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.
26:41
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.
26:58
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.
27:17
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 alternatives. As much as I love NVIDIA, like to make that clear, like, I mean, they're obviously an amazing company with an amazing product.
27:39
I do expect to see a little bit more diversity in the market as well. Also things, you know, 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.
28:04
Oh, I haven't heard of that, actually. Yeah, and, you know, Grok too, like, because a lot of these things, you know, 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, there's a lot of, you know, opportunity in these sort of, you know, more complex hardware setups.
28:25
Are there any learnings that you get from some of these Neo clouds? 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.
28:52
How can Neoclouds 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, it's not big or open AI, some big buyer or whatever. And just 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.
29:11
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're going to raise the money. And then they like, you know, go to like Supermicro and Dell or whatever and Nvidia and like get the hardware and then they install it.
29:30
And then, you know, now they have like, you know, deliver it to the customer. So you have this like very nice sort of financial construct where you can basically 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 neoclouds is they can scale very, very well.
29:48
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, especially CoreWeave and those big ones.
30:11
Very, very savvy with how they raise money and how to 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.
30:38
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. Like I think with compute, like it does work. there are a number of challenges with compute as an asset class.
30:59
Like 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.
31:19
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. So I'm very happy that people are thinking a lot about this.
31:40
That being said, like I'm not entirely sure if we're going to see, you know, GPUs becoming sort of, you know, whatever it is, sort of Henry Hub, like, you know, Brent crude type, like, you know, super commoditized, like tradable assets. Yeah. I want to shift the conversation to modal sandboxes. Yeah. I guess like 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.
32:08
Then you have modal sandboxes. Is there anything else? I think of the two big products that we have as basically number one is modal functions, and number two is modal sandboxes. So with modal functions, we launched that back in 2021. It was the idea of serverless functions that are very easy to deploy and very easy to scale, and we manage all the capacity.
32:27
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, like, you know, dedicated, like, inference product or, like, a GPU product per se. Like, we never thought of modal as, like, a neocloud. And I think there's, like, a risk of, like, getting sucked in that direction and becoming a neocloud.
32:45
Like, just selling, you know, sort of what I think was like rectangular, like here's like a three-year, you get this many GPUs. Modal has always been very good at like you deploy something, you can kind of scale it up. You have this like very cyclical or like bursty stuff. Like we manage all the capacity. And the beautiful thing is like, because 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.
33:09
So modal functions was the core component. 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.
33:27
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, actually, we kind of have a lot of the infrastructure already to just take code and run it.
33:48
Because we've already built the primitives for managing containers and isolation. We already had GVisors and isolation primitive and things like that. So we got kind of excited about that idea. And actually, I 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 because we did see some growth like there were like some sort of you know it was 2023 so yeah it was 2023 and like you know like some people picked it up like we had some early users who kind of enjoyed it for certain things but like overall like it was like a pretty insignificant source of
34:24
revenue into going into the summer of 2023. So two years later, we even discussed like, do we even need this product? Like, should we shut it down? Then it just started exploding. So 2023, and I think what really happened in 2023 was like, 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 to generating full apps.
34:54
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.
35:15
We consider it basically like our second product. And to me, it's really exciting because even back in the early days of modal, I always knew that modal is about creating a whole toolkit of products. We always wanted to be almost like a cloud. 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 like now, where like, I think now it's like kind of clear, we have functions, we have sandboxes, we're working on a bunch of other stuff too, working on training, working on batch, we're working on a bunch of other stuff.
35:47
So to me, that sort of evolution into becoming like a multi-product company, I think has been amazing, because that was... 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 like that next product? Any predictions maybe about the market, anything like that? I mean, I'm very bullish on training.
36:12
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, a really interesting market. I think we see a lot of demand for customers that need a...
36:36
We had a customer the other day that needed to transcribe 5,000 years of audio. They had millions and millions of audio files, and we had a lot of capacity, so we let them do that. It took a few days. I think there's some really interesting use cases there. Very bullish on low-latency stuff. I think there's going to be a lot of, once we get the speech-to-speech models working, like the voice models, I expect that to be very interesting market.
37:00
Then, of course, all this agentic stuff, right? In a way, I have mixed feelings about the word agentic, because I feel like in certain ways, I think all software will become agentic. So it's almost like, to me, 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 projects software that seems to be sort of you know common across all the different use cases we're like you know the way i think about models like we're in the business of building building blocks you know we want to give you like amazing generalizable battle tested you know general
37:41
purpose uh composable building blocks and i think there's some really interesting stuff also like you know 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 like training you were not focused on like specifically like what changed in the market i mean we've been building a training product for multiple years so you know on and off so so we we i wouldn't say we're like we've never been focused on it but it's like it's like one of those things we're like i mean now we're like 150 engineers but you know a year or two ago we were a much smaller number of engineers and so
38:15
But just virtue of, you know, being smaller, we had to focus a little bit more. And so inference became like our sole focus and was our sole focus for many years, but we're bigger now. Like we do have opportunities to also place bets in other markets. I'm also really interested in, you know, kind of continuing the list of things. Post-training, reinforcement learning, I think there's some really exciting stuff around that.
38:38
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... 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.
39:00
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 sort of company and the product I want to build. When you say training, are you focused on more of like the bigger enterprises doing huge training runs? 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.
39:25
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. Competitional 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.
39:45
You can train on 64 GPUs or whatever. Recommendation system. A lot of sort of traditional machine learning. There's a lot of things 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.
40:03
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, maybe, like, KME 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 of years ago was like, yeah, you know, open source models, they're not quite as good.
40:28
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.
40:39
Today, I would say the open source models are so good that you can basically just swap them out and just run, instead of the Frontier ones, you can run Kimi K3 or whatever, DeepSeek 4.1 or GLM 5.3. And they're basically almost as good as the Frontier model at a much lower cost. So we still see a lot of demand for post-training. And I do think it's a really interesting space.
41:03
And we're working on some products in that space. you know, both sort of SFT and, but also reinforcement learning and things like that. I would also say, you know, fine tuning is no longer the thing that you kind of have to do. Like it's very optional. Like you can open source models, like work really well just off the shelf too. Back to sandboxes, actually, I forgot to ask you.
41:24
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.
41:52
Like we're just very good at running, you know, hundreds of thousands or even millions of sandboxes. Yeah. I will say, we've had to rewrite our systems a bunch of times in order to handle that scale. But we were always very good at it. There are other things over time. I mean, the sandbox space in general, it's not the most differentiated space.
42:11
But we're working on some really cool stuff. Over time, 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.
42:38
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.
42:58
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...
43:17
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 to be built there as well. You brought up snapshotting a couple 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.
43:45
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.
44:11
Like they're going to run, you know, 24 seven, you know, every once in a while, they're going to run commands and, and, you know, having the ability to like spin up a sandbox and in, you know, 100 millisecond, run a few commands, and then, like, shut it down and, like, snapshot it. I think the faster you can get that, like, you know, wake up, you know, go to sleep cycle, the more you can sort of create sandboxes that only run for, like, a very brief period.
44:34
And that will make compute much more efficient. And it will also enable you to do some really cool things, you know, like forking and moving things around and, you know, having, like, imagine, you know, like, cloud 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.
44:54
I think a lot about 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.
45:14
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 overhead around, like, you know, starting and stopping sandboxes.
45:32
So I think the more, like, you create, like, you know, frictionless, like, starting and stopping, the more you can enter a world where, like, you can do this, like, extremely bursty, like, large-scale, like, Run as much as you want in parallel. I'm an infra geek, 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 we previously could not do with software.
45:58
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...
46:23
Now each of those shards both need to do all the installs and the test setup. And that takes a long time. 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, the transaction cost.
46:48
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.
47:11
And so I think, you know, they make money from inference, right? 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.
47:30
Also, I feel like we have to bring up the Hugging Face incident. Are you okay talking about that? Yeah. It's all there. Yeah. Could you just briefly describe what happened? I think they were using the modal sandbox, but it wasn't a fault of the sandbox.
47:46
Yeah, exactly. I forget all the details of the exploit, but I mean, you know, I think what you're referring to is the fact that like modal was involved. And so, you know, just to comment on that, like basically the agents running inside, you know, that exploited hugging phase. They discovered a vulnerability in an app that was deployed on Modal.
48:10
And they used that as 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 on 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.
48:28
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 security restrictions by default. I think to use the AWS analogy, just as another analogy,
48:53
S3 used to be very easy to accidentally make an S3 bucket public, and AWS realized it doesn't necessarily 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 a similar way, it's like, we're exploring like, you know, can we make security a little bit more restricted by default without necessarily, you know, destroying the magic that makes modal good.
49:23
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, you know, 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.
49:50
So, you know, it's something we're exploring very actively right now. How exactly do you get the agents to like run through the code base? You're just like, hey, like find security vulnerabilities? Well, no, you just like, you just put them in a sandbox and tell them like, can you try to explain? Just run through the entire repo. Can you just try to escape from the sandbox? It's like escape the room, but for agents.
50:09
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.
50:27
So I think, you know, companies like Modal and many other companies right now, like I think, you know, if you go to talk to like pretty much every CISO, I'm sure, They're all thinking about the same thing. Like, how do we use agents defensively to, you know, fix all our vulnerabilities? So over time, actually, in a way, like I'm not that nervous.
50:44
I think if anything, like agents and cybersecurity, all the breakthroughs in cybersecurity will make the world safer, if anything. Do you think that like all of the cybersecurity, 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.
51:05
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, obviously, the core products are. But I think brand and things like that are actually arguably more valuable in the era of AI. So I wouldn't necessarily jump to the conclusion that they're cooked.
51:27
I think they have deep relationships with the enterprise customers and they have big sales teams who are very good at telling spooky stories and things like that. And I think they're going to continue to be very good at that. I just ask because, yeah, you're doing it yourself. You're not going to one of the Palo Alto networks or whatever.
51:45
But I guess it's only 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 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 like do on a regular cycle.
52:06
So maybe previously, you know, 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 i don't know but like i think with all of these things you know humans can also use them to get more efficiently so like you know like i i don't know i'm kind of a believer also that like humans with ai is even more powerful now so like maybe there's an argument that like we can bring in pen testers who are really good at using agents and you know find vulnerability even faster i don't know i'm not that you know I'm an optimist.
52:39
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.
52:59
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 like the thing you're talking about is like now with agents, right?
53:13
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. is kind of what we've seen in practice, which is things like having good docs, having descriptive error messages, having fast feedback loops, right? I do think certain things have changed.
53:37
The other day, I was setting something up with Cloudflare, and I find Cloudflare notoriously annoying to work with sometimes. And I threw an agent at it, and it was able to just configure a bunch of things in Pulumi for me. And so...
53:52
I will say agents do make it a little bit easier to work with things that are harder to work with in the past. The 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.
54:13
I think to some extent also like... infrastructure over time anyway becomes and needs to be more programmatic. I think that's always been the thesis about sandboxes is that, you know, like things that you previously had to configure using YAML, that should just be an SDK. That should be more like imperative, like launch a sandbox, like do stuff with it, tear the sandbox down, right? Like rather than sort of declarative using, you know, some sort of DSL.
54:37
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 most people are just running agents on it? We do. We actually do run a lot of internal tests where we tell agents to build a mobile app and run it.
55:02
A very concrete thing that is kind of funny is that we've actually seen that because of agent training data, it's very hard to deprecate things now. We see that agents often love using old versions of modal syntax, and it's kind of hard to nudge them away from that. So we've actually had to be a little bit more conservative going forward over the last year or so with how we deprecate and remove features.
55:29
We have to be very careful to update every single example that's out there online. You have skills, right? Yeah, there's stuff like that. But there's also an insane amount of modal code that's now online, too, that goes into the training data. I've seen that to be a little bit of an interesting example. Another thing, by the way, too, is obviously similar to search engine optimization, there's agent engine, whatever people call it, agent optimization.
55:57
We often run internal benchmarks where we're like, ask an agent, like, hey, can you deploy 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, rank all the sandbox vendors. So we spend a lot of time doing those things to make sure.
56:19
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, you know, it's like search engine optimization. I think it's primarily through content. It's like, you just have to put out a lot of content. Interesting.
56:36
You can also, to some extent, like sort of see the perception, I think, a little bit more. Like you can ask an agent, like, You know, how does, you know, rank all the sandbox vendors by reliability or rank all the sandbox vendors by price and sort of see. And it does feel like agents are a little bit more prone to like misunderstanding pricing and, you know, things like that.
56:59
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 like write a bunch of modal code in there? Have you tried that? Slop canon.
57:20
I think the truth is like that is probably something you can do. My guess is like LM training data today is probably quite insensitive to like what's like AI output in the first place. And you can probably like create a lot of slop. Yeah. 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.
57:45
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 you 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 FDEs a couple of years ago, but it's really been this year.
58:14
We've kind of scaled it up a lot. I think we started this year having like four FDEs. Now I think we have like 24 or something like that. So we've grown it a lot. And they do a, you know, it's more, it's not exactly the pound turn model, but they do a lot of like heavy, you know, sort of customer engagement. Like they work with a lot of customers on performance tuning, especially with LMs, right? we see that there's so much benefit from like, you know, sitting down with customers and training draft models and tweaking, you know, parameters and DLM and SGLang.
58:43
They often, you know, fix bugs or not fix bugs, but like, you know, when customers run into issues, like they often work with customers trying to figure out like, how do we work around that? Or another thing we've used FDs a lot for is like, you know, kind of proactively, you know, if we see certain customers, you know, over-provisioning with modal, Like customers requesting too much CPU or too much memory, for instance, like that's kind of expensive.
59:05
And like we try to catch those things and we try to sit down with those customers like, yo, like you're spending a lot of money on model right now. We can actually help you save money. And then, of course, like with with sort of active deals, you know, we help them migrate code from other platforms, things like that. I think, you know, we never have the intention of becoming like a service heavy business.
59:27
I think that the goal for FDEs is like, you know, A is to be part of, you know, the 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 is like bridging gaps in the product, right? that we later want to turn into like real features.
59:48
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 that 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. I think certainly on the more customer-facing side, they are.
1:00:12
But on the more inward, internal side, there's a separate part of product management, which is more like, what are the next building blocks Modo should invest in? And then there's something in between, looking at maybe 10, 20 different customers. They're all asking for slightly different things, but maybe what are the patterns? How do we turn this into product? We do have people doing product with us and it 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.
1:00:48
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 like eager product managers that just thought of like kind of like widget-y things and just ship them.
1:01:13
I think doing product management at an infra company really well is very, very hard. Because I think it takes like a very deep, you know, level of strategic thinking, thinking about like, 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 like...
1:01:32
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 Jenny and I, because I would assume, yeah, I mean, you obviously worked at like Spotify.
1:01:55
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 Jenny and 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 an IC that I actually think is very, very positive for the space as a whole.
1:02:19
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, right? 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, there's no difference in prestige.
1:02:45
Everyone is just a member of technical staff. It's about ultimately your contributions and we see a lot of ex-managers becoming ICs because they want to go back and build code. And there's been sort of shift away from non-technical managers. Everyone, including me, I still write a lot of code at Model and ArcShot 2 and pretty much everyone in the tech team and a lot of people who are not in the tech team still write code.
1:03:12
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.
1:03:36
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 merging things into production. And if you have that culture, then to me, that's a sign that you need to invest way more in CD and CI and things like that, or CI in particular, but also CD, continuous integration, continuous deployment.
1:04:03
We do code reviews. I mean, when I write code, occasionally, I'm asking authors, is this in line with how you think about things? I hope I'm not changing the architecture fundamentally. But we also make it clear internally that code reviews are quite optional. And if you're just changing docs, if you're just doing some basic stuff, don't wait for a human to look at it, especially in the era of AI.
1:04:25
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, you know, very good controls internally around, you know, testing things. Especially at an infra company. Yeah, exactly. Like, you know, infra companies, like we need one more nine than the average startup, right? In terms of uptime.
1:04:42
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. They 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.
1:05:04
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 open source ones? We experiment with everything.
1:05:25
But yeah, I mean, you know, initially it was a lot of Cursor, then, you know, of course, Cloud and Codex. And now a lot of people are using, you know, Night Shift and all these 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.
1:05:43
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 like, I don't know, a year ago, maybe like two years ago, you were saying that you didn't think that there was going to be like a big on-prem business for you guys.
1:06:07
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.
1:06:30
And then like six months later, I was doing it. And I think it took me six months to change my mind. It took probably enterprises another 15 to 20 years. But you look at vendors like Snowflake or AWS, and I think there's many examples of Datadog, et cetera. The cloud is clearly winning, and the multi-tenant systems are clearly winning. And, you know, to me, on-prem looks increasingly like sort of a legacy business model.
1:07:00
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.
1:07:27
And so to me, BYOC and those things, like they look increasingly as like 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.
1:07:49
It means we can iterate very fast and build a greater product. And I think that's very, very valuable versus 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, 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.
1:08:10
Like, we don't need to think about what customers have access to. So to me, multi tenancy is, is it has so many different benefits. I mean, that being said, like, you know, if we were to work with like, you know, some very large Fortune 500 customer in the future and, you know, they ask for BYOC, you know, we've done this in the past. We'll give them a number.
1:08:31
Like, you know, that number is very high and no one said yes to it so far, but like, who knows? Like, you know, at the right price, I would still build it. And I think there's like maybe separately, like another thing, which I think is interesting, which is like, in theory, BYOC might also be a way to work with and get capacity in certain ways.
1:08:49
Like we sometimes work with NeoLabs and those NeoLabs already have very large capacity reservations. And the question is, 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, we could maybe even run other people's stuff on that capacity.
1:09:09
So there's some fun stuff you could do in theory where you can aggregate all that capacity into one big pool. So we're excited about some of those ideas. But in general, I feel like on-prem, I don't know if we're ever going to do. But BYOC, maybe. Yeah. Bring your own cloud. I keep saying BYC. I should explain acronyms. Let's say, hypothetically, you are going to raise a shit ton more money soon.
1:09:33
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, you know, other types of deployment models in the future, ownership or whatever.
1:09:59
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.
1:10:18
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
1:10:52
ownership and renting? Should we go in 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.
1:11:25
We've been pretty good in general at 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 actually the third thing I think a lot about is more on culture and company building and stuff like that. I mean, we recently crossed 200 people. We're growing extremely fast.
1:11:42
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, people have like a very positive culture where they have this sort of, implicit trust to do a lot of stuff but also the accountability to like you know deliver the best
1:12:19
things and you know and be held accountable to like if they're not doing it to me those are like you know super critical things around this scale like when you're like 10 20 30 people you can all just like kind of sit in a room and like it's all kind of implicit and you kind of just like feel it people can sort of read read me like they can tell me when i get a little bit annoyed they can tell when i'm happy but like now we're 250 people and like people don't necessarily see it and Of course, there's a lot of new people that are maybe a little bit nervous to talk to the CEO and all this stuff.
1:12:49
So how do I remain approachable? There's the Dunbar number, which I think is more sort of fake than anything, at least the story behind it. But it is actually kind of real still. There's something around 150, 200 where 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.
1:13:14
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 growing. You start to see people doing very speculative things.
1:13:34
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 and like, is this really what you should spend time on? So growing very fast has that cost and it has the cost of ramping people up. So I don't know.
1:13:50
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 XOs. 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 opening up sales a lot too.
1:14:06
Okay. What kinds of engineers? It's primarily systems engineers. I mean, we've always been very deep into 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.
1:14:28
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 like GPUs and, and, and, and MFU, you know, like maxing out the tokens that you can get per GPU and, and, and a lot of that things. And, you know, even though I actually like, we'll say a lot of the work in that space, in my opinion, turns out it's like more systems driven still, because it turns out like KV caching and routing is actually like, it's still like very like systems like, like these are very like systems heavy problems.
1:15:01
But yeah, a little bit more like sort of GPU performance, that kind of stuff. We're starting to build up a research team. We're very excited about moving into stuff around like 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 FDEs. I think we initially will do a lot of stuff with our customers to optimize their models.
1:15:26
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, we have to go and work with them. And 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.
1:15:49
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.
1:16:08
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 I know exactly what we need to build, I think I would be delusional. I think what we've seen so far, and what I kind of believe in on a more general level, is we need better building blocks. This is a new era of software, and we're unlocking a whole new type of applications that could not be built a few years ago.
1:16:37
doing all the GNI stuff, 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, like there's going to be so many more cool things.
1:17:02
And so I mentioned some stuff like I'm very bullish on training. I'm very bullish on bath jobs. I'm very bullish on, you know, certain things around like agents and low latency and things like that. But like in the end, we consider ourselves like an infrastructure shop, right? Like we're not trying to build, you know, very narrow things like we try to build like very general purpose building blocks and put them in front of customers.
1:17:23
And then those customers We'll 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. Okay. And we can just like, maybe you want to double click on anything. A lot of long running persistent sandbox stuff right now.
1:17:41
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 now I'm shotting 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
1:17:56
think the median sandbox 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.
1:18:16
How can we just massively parallelize 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.
1:18:32
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 go a little bit deeper now. One thing I think Model has always been very, very good at is fully on-demand capacity.
1:18:52
If a customer comes to us and needs 100 GPUs, we can typically give them that immediately. You don't even have to talk to a salesperson. And a lot of workloads in real life, they don't look like these flat, rectangular workloads. They scale up and down throughout the 24-hour cycle. They maybe grow over time. They maybe have certain burst periods.
1:19:10
And to me, that is a challenge with a lot of customers today. And I do think it's a legit problem for the space. It's like 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 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.
1:19:36
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 models, if you want to be very sort of reductive, you can break down models, value prop into two things.
1:19:56
One is a 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 model and where we're going in the long run is we're aggregating the world's compute capacity, and we're very good at slicing it up very granularly because we built all this work around scaling up and down extremely fast, all this stuff around GPU snapshotting, working some ways to make it much, much faster.
1:20:21
And that model works at very large scale 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.
1:20:39
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
1:20:50
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.
1:21:12
But I think, you know, 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 keep changing a lot. Inference providers can easily reallocate resources between models since overall demand is quite smooth.
1:21:32
So, I mean, if you think about all the Chinese labs and, you know, in the future, hopefully more US 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.
1:21:56
And then another lab launches a better model, and then the demand goes down. But of course, in the background, they're working on the next version. So I think there's a structural reason, like I said, why you're seeing demand kind of shifting to the latest and greatest Chinese lab model. I mean, it's not like everything just moves overnight, because a lot of models and prompts and stuff, a lot of things get sort of...
1:22:20
There's 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 is built to handle.
1:22:37
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? Like, is Taylor Swift a commodity? Like, she releases a big album and goes on a tour and makes a lot of money.
1:22:58
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 margin. 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 increases, 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.
1:23:25
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.
1:23:48
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. Are models going to be really good at whatever? Cooking food or... I don't know. Things that have more diffused targets, maybe longer feedback loops or whatever. I think humans probably... My feeling is like we'll be quite good and quite competitive with models for a long time in those domains.
1:24:17
But, you know, certainly, you know, AI models, they're getting very, very good. Cool. 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. What 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.
1:24:35
But I think anything that has like 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 simulations. You can use an LLM to output predictions. Then you can do computational methods to simulate the molecular dynamics and get feedback loops.
1:24:56
I mean, like, 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.
1:25:11
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.