章鱼总结
00:00 / 28:07

LangChain · 28:07

说话人 0

thank you for being here Erik excited to have you.

感谢你来到这里,Erik,很高兴请你来。

说话人 1

here yeah it's awesome to be.

在这里,是的,我很荣幸能来。

说话人 0

here modal has been one of my favorite companies to watch grow up you guys do a lot of stuff now would you maybe could you talk a little bit about all the things you do and how you think they fit.

Modal一直是我最喜欢观察成长的公司之一,你们现在业务很多。你能不能谈谈你们做的所有事情,以及你认为它们如何结合在一起?

说话人 1

together yeah so modal for you who have not tried us out we build ai infrastructure roughly is how i would put it we power a lot of customers like cognition decagon suno runway a lot of inference a lot of training a lot of sandboxes it's a fairly general purpose platform you can use it for pretty wide range of stuff though but we've. Obviously, seeing with all the Gen AI stuff, a lot of demand for in particular inference like LM audio video inference, but also sandboxes has been kind of more recently in the last 12 months something that's been exploding.

在一起,是的。对于还没试用过我们的朋友,我大致会这样说:我们构建AI基础设施。我们为许多客户提供支持,比如Cognition、Decagon、Suno、Runway。很多推理、很多训练、很多沙箱。这是一个相当通用的平台,可以用于相当广泛的场景,但我们…… 显然,随着各种生成式AI的兴起,对推理的需求很大,尤其是LLM、音频和视频推理,而沙箱在最近12个月里也呈爆发式增长。

说话人 0

And you guys started before ChatGPT, right? Like when was the company founded?

你们是在ChatGPT之前就开始的,对吧? 公司是什么时候成立的?

说话人 1

A little bit before. So we started the company early 2021 and then kind of struggled a little bit to figure out what we're doing. It's funny actually, we started just a few blocks from here. And we but then ChatGPT came in late 2022. Stable Diffusion also came actually right after and and Stable Diffusion in particular ended up being like a killer app for for us in the first year or two.

稍微早一点。 我们在2021年初成立公司,然后花了一段时间摸索我们到底要做什么。 说来有趣,我们就是在离这里几个街区的地方起步的。 然后ChatGPT在2022年末出现了。 Stable Diffusion也紧随其后出现,而Stable Diffusion在头一两年里对我们来说成了一个杀手级应用。

说话人 0

Did you did you know that like when you were building modal this again like 2021 year or two before ChatGPT did you know enough about like what the ai workloads would look like so that you were building for that or were you just building generic kind of infrastructure that was really easy to adapt to that as it became clear what it would.

你在2021年构建Modal时,也就是ChatGPT前一两年,你是否已经足够了解AI工作负载的样子,从而专门为其打造?还是说你只是构建通用基础设施,等到需求明朗后再轻松适配?

说话人 1

look like i mean more the latter actually like i think one of the benefits of building an infrastructure i mean we're like very deep in the infra layer we think a lot about file systems and container runtimes and scheduling and. and that kind of stuff. and i always thought like one of the benefits of being in that layer is like you don't necessarily have to, you know, move like super fast with every trend. you have to take a little bit more of a longer term perspective and think about the building blocks and the primitives. we launched a serverless function product in 2021. it took actually one to two years to see product market fit. and then we launched a sandbox product. Um, in 2023, and we didn't see that growing until 2025. So I always thought of like, you know, infrastructure is like a little bit more like slightly more longer term. You kind of build the right primitives and the right building blocks. And then, you know, we were obviously very lucky with all this Gen AI stuff. That's been tremendous for us. Um, we're quite well positioned. AI was something we thought about, but we always thought of models like AI, data, machine learning, compute intensive stuff, HPC. y luego llegó la IA y nos jaló con fuerza en esa dirección.

我想更像是后者。我认为构建基础设施的一个好处是,我们深入基础设施层,考虑很多文件系统、容器运行时和调度等问题。 以及诸如此类的东西。 我一直认为,处于这一层的一个好处是,你不一定需要跟着每个潮流快速行动。 你需要采取更长远的视角,思考构建模块和基本原语。 我们在2021年推出了无服务器函数产品。 实际上花了一到两年时间才找到产品市场契合点。 然后我们推出了沙箱产品。 嗯,2023年的时候,我们直到2025年才看到它增长。 所以我一直觉得,基础设施属于稍微更长期的东西。 你要做的是打造正确的基础原语和构建模块。 然后,你知道,我们在所有这些Gen AI的东西上显然非常幸运。 这对我们来说非常了不起。 嗯,我们的位置相当不错。 AI是我们考虑过的事情,但我们一直把它看作模型、AI、数据、机器学习、计算密集型的东西,也就是HPC。 然后AI来了,并猛烈地把我们拉向了那个方向。

说话人 0

Let's talk about sandboxes for a little bit.

我们先聊聊沙盒吧。

Maybe I think you tweeted at some point that was your fastest growing product. What happened to make it take off?

我想你好像在某个时候发推说,它是你们增长最快的产品。 是什么让它起飞的?

说话人 1

There's a bunch of stuff. So sandboxes again, we launched it actually back in 2023. And the observation back then was basically something like, it's like me and Akshat, my cofounder, were kind of talking over lunch one day and we're like, there's all these people using LLMs to generate code. Well, clearly they need a place to run that code. And we realized we actually had almost all the infrastructure to do that really well. So we launched that product. Um, like I mentioned, it didn't really take off until two years later. What started happening back in about a year ago is like customers started initially doing a lot of vibe coding. So, so companies like Lovable or or many other ones, um, were starting to, you know, basically like build apps, you know, from from prompts and they needed a place to execute that code. So that that was like the first use case. After that, uh, a lot of people started using Model for background agents. so we have some customers like ramp. they run the ramp inspect on Modal, which is basically their own internal background agent for coding. and then the third major use case that's actually been crazy large for us has been reinforcement learning. not like a massive amount of customers, but the customers that use us run us at like absurd scale. so we're talking about some millions of sandboxes, constant rollouts, and a lot of the reinforcement learning models, especially for coding. They need a way to execute that. So we've empowered reinforcement learning for Meta and some other customers.

原因有很多。 所以说回沙盒,我们其实早在2023年就推出了它。 当时的观察大致是这样的:有一天我和联合创始人Akshat边吃午饭边聊天,我们发现有很多人在用LLM生成代码。 很明显,他们需要一个地方来运行这些代码。 我们意识到,我们其实几乎已经具备了把这件事做得非常好的全部基础设施。 所以我们推出了这个产品。 嗯,正如我刚才提到的,它直到两年后才真正起飞。 大约一年前开始发生的事情是,客户最初大量地进行“氛围编程”(vibe coding)。 所以,像Lovable这样的公司,或者其他许多公司,开始基本上根据提示词来构建应用,而它们需要一个地方来执行这些代码。 所以那是第一个用例。 之后,呃,很多人开始把 Modal 用于后台代理。 所以我们有一些客户,比如 Ramp。 他们在 Modal 上运行 ramp inspect,这基本上是他们自己的内部编程后台代理。 第三个主要用例,对我们来说规模大得惊人,就是强化学习。 客户数量不算多,但使用我们的客户规模大得离谱。 我们说的是数百万个沙箱、持续不断的 rollout,以及大量强化学习模型,尤其是编程方向的模型。 它们需要一种方式来执行这些任务。 所以我们为 Meta 和其他一些客户提供了强化学习支持。

说话人 0

And when you think about these three different use cases, the coding agent, the background agent, reinforcement learning, are the sandbox primitives the same across all of them or are there differences in terms.

当你考虑这三种不同用例(编程代理、后台代理、强化学习)时,沙箱的基础原语在它们之间是相同的,还是在……方面存在差异?

说话人 1

of what's fairly similar?

……大体上是相当相似的?

I mean, at a core, like you need a programmatic way to like, you know, create a container from an image, run code in it, interact with it from the outside without, you know, obviously the agent sort of escaping the sandbox. i've seen some news about that. so the interface is pretty simple. there's some more advanced stuff, like there's some cool stuff around, like snapshotting sandboxes, cloning sandboxes. we're working on stuff like that. but i think, to me, the differentiation in the space has primarily been around, can you do that at very large scale? can you do that with good performance? can you do that reliably? We're like infra geeks, so for us, like those are just things we're like very good at.

我的意思是,本质上,你需要一种可编程的方式,从镜像创建容器、在其中运行代码、从外部与之交互,当然还要确保代理不会逃出沙箱。 我看到过一些相关新闻。 所以接口相当简单。 还有一些更高级的功能,比如围绕沙箱快照、克隆沙箱的一些很酷的特性。 我们正在开发这类功能。 但我认为,在我看来,这个领域的差异化主要在于:能否在非常大的规模上做到这一点? 能否在良好的性能下做到这一点? 能否可靠地做到这一点? 我们是基础设施极客,所以对我们来说,这些都是我们非常擅长的事情。

And I think that explains why in the sandbox space, we've seen really strong adoption and very solid. I don't know the market share number, but I imagine we're by far the biggest vendor in the sandbox space. So I think that's been more to sort of the differentiation. And from the outside, it's like going back to your point, it's. it's fairly similar, and that's why i think sandbox has been this kind of nice fundamental building block for a lot of these applications.

我认为这解释了为什么在沙盒领域,我们看到了非常强劲的采用率,而且非常稳固。 我不知道具体的市场份额数字,但我想我们很可能是沙盒领域遥遥领先的最大供应商。 所以我认为这更多是在于我们的差异化。 从外部看,就像回到你刚才的观点,它…… 它们相当相似,这也是为什么我认为沙盒一直是许多此类应用的基础构建模块。

说话人 0

yeah, another thing i'm curious about is it seems pretty similar to a lot of the stuff you guys were doing even before that in terms of just spinning things up really quickly and provisioning. so how much sandbox-specific stuff did you have to build on top of the underlying primitives that you guys already had?

好的,我还好奇另一件事:它看起来和你们在此之前做的很多东西很相似,比如快速启动和配置资源。 那么,在你们已有的底层基础组件之上,沙盒专用的功能你们需要额外构建多少?

说话人 1

not not a whole lot to release the first version. akshat our cto and cofounder he built the first version of sandbox in like two days and then we kind of like put it out there and not a lot happened for two years. but once we started seeing some growth like we had to re architect some of the internal systems just to handle like very very large. rollouts and scale. so we've had to rebuild some of that, like the core infrastructure. but a lot of the foundational stuff, like i mentioned, we built our own file system, for instance. that file system powers sandboxes. it's very good for very fast loading of cold starts of containers. we've had to go and look at... running full virtual machines more recently, so that's a very sandbox specific thing. We previously used a runtime called GVisor. We're switching a lot to virtual machines right now.

发布第一个版本时,需要做的并不多。 我们的CTO兼联合创始人Akshat,大约用两天时间就构建了第一个版本的沙盒,然后我们就把它推了出去,两年里并没有什么大动静。 但是一旦我们开始看到一些增长,我们就不得不重构一些内部系统,以应对非常非常大规模的…… 部署和扩展。 所以我们不得不重建其中一部分,比如核心基础设施。 但很多基础性的东西,正如我前面提到的,比如我们自研了文件系统。 这个文件系统为沙盒提供支持。 它非常擅长快速加载容器的冷启动。 最近我们不得不考虑运行完整的虚拟机,这是非常沙盒专属的需求。 我们以前使用一种名为 gVisor 的运行时。 我们现在正大量转向虚拟机。

说话人 0

Why.

为什么?

说话人 1

out of curiosity? It's primarily because some customers want to run more full operating systems. So GVisor has some limitations, but with, in particular, running Docker, but also, I mean, with a full VM, you can do stuff like mess around with. I don't know firewall rules or whatever. Like you can do anything inside these sandboxes really. Plus a little bit of performance improvement. So we're also looking at actually like running like Windows sandboxes and stuff like that. Maybe Mac too. Like there's some interesting stuff there.

只是出于好奇吗? 主要是因为一些客户想运行更多完整的操作系统。 所以 GVisor 有一些局限,尤其是在运行 Docker 时,但另外,我的意思是,使用完整的虚拟机,你可以做一些事情,比如折腾一下。 比如我不知道的防火墙规则之类的。 你其实可以在这些沙箱里做任何事情。 另外,性能也有一点提升。 所以我们也在考虑运行 Windows 沙箱之类的东西。 也许还有 Mac。 这里面有一些很有意思的东西。

说话人 0

Interesting. One perception I had at least at the start was that there may be like different types of sandboxes. There was ones that were like really you'd set like maybe really quick to spin up but weren't super stateful. So you'd send like just simple kind of like. Yeah, code you want to evaluate, and then there's more like stateful ones for long running agents. Is that like a true distinction? Are they actually the same? How do you think about that? And what you guys want to be good at?

有意思。 至少在一开始,我有一个认知,就是可能存在不同类型的沙箱。 有一类是启动得很快,但不是特别有状态的。 所以你会发送一些很简单的东西,就像…… 对,就是你想评估的代码,而另一类则更像是为长时间运行的智能体准备的有状态沙箱。 这算是一个真正的区别吗? 它们实际上是一样的吗? 你们是怎么看待这个问题的? 还有你们想在哪方面做得出色?

说话人 1

I think that's roughly right. I will say though, like... We have seen a lot of people wanting long lived stateful sandboxes.

我觉得大致是对的。 不过我要说,我们确实看到很多人想要长期存活的有状态沙箱。

My view, this is a little bit of a hot take, is that a lot of that just reflects like kind of poor architectural choices from like the harnesses. Like we have this like kind of dominant architecture where like the harness often runs like with the code itself inside the sandbox. And so naturally people want to run that for like 24 hours inside a sandbox. I think the future of agent harnesses is actually decoupling where like you have a harness that's running for a very long time, but the sandboxes are more ephemeral, maybe one for every tool call even. I do think our median sandbox life cycle is something like 12 seconds, but we have a very long tail of like 24 hours and stuff like that. But yeah, I'm more of a you know long term. I think a lot of sandboxes will generally be very short lived.

我的看法有点像是个激进观点:很大一部分需求其实反映的是测试框架(harness)在架构选择上比较糟糕。 就像我们现在有这种比较主流的架构,即harness通常会和代码本身一起运行在沙箱里。 所以很自然地,人们会想让它在沙箱里连续运行24小时。 我认为智能体harness的未来实际上是解耦,即harness运行很长时间,而沙箱则更加短暂,甚至可能每次工具调用都对应一个沙箱。 我确实认为我们沙箱生命周期的中位数大约是12秒,但也有一条很长的尾部,比如24小时之类的情况。 不过,是的,我更偏向于你知道的长期视角。 我认为很多沙箱总体上都会是非常短命的。

说话人 0

I feel like this like Anthropic wrote their blog post separating kind of like the hands from the brain. And I'd say I'd say like before that when I was talking to people who are building agents like it's maybe 50-50 whether they'd run it in the sandbox or do it in separate. Now I feel like it's maybe like 75 or 80 are running it outside and connecting. Is that like the trend you're seeing as well? It sounds like you think that's where it should go.

我觉得Anthropic在他们的博客文章里提出了类似的观点,把“手”和“大脑”分开。 我想说,在那之前,当我和正在构建智能体的人交谈时,大概是五五开,他们会把它放在沙箱里运行,还是分开来做。 现在我感觉大概有75%到80%的人把它放在沙箱外运行,再进行连接。 你看到的趋势也是这样吗? 听起来你认为这才是应该发展的方向。

说话人 1

I think that's where it should go because then you can do some really cool stuff like you can harness just like spin off like multiple sub agents like cloning things like explore kind of a whole branch like bring it back like. And you know, and snapshot things and kind of resume like restore things. So I think that's ultimately like where it kind of has to go. Just architecturally, it's harder to build these things. And I think you know, I mean, it's like crazy, right? Like you know, software engineering is like changed like so fundamentally. I mean, I think you write a lot of code still, right? Like I try to write a lot of code still. It's like so different in the last six months, twelve months. so my view is like ai is here. it's like changed a lot of the types of software we can build, but it's obviously also changed like how we build software. i kind of feel like a lot of the infrastructure and the tooling is still, you know, not quite, you know, has like caught up with all of that. so i think we're going to see a lot of churn and like architectures and infrastructure. i mean, like i think a lot about that with modal because we're an infrastructure company, but i also think it applies to the agents and the harnesses and. You know, maybe companies like you, there's just going to be so many changes in the next 12 months, 24 months. Like it's like when the mobile came, we had to come up with Objective C, and then when internet came, we had to come up with Kubernetes and all these things. Like I think it's the same thing with all these agent stuff. Like we're going to have to come up with completely new infrastructure and completely new frameworks and all this stuff. So I'm very excited about that.

我认为这就是应该发展的方向,因为这样你就能做一些非常酷的事情,比如harness可以分出多个子智能体,克隆一些东西,探索整个分支,再把结果带回来,等等。 还可以对状态做快照,并进行恢复和还原。 所以我认为这最终必然是发展的方向。 从架构上看,构建这些东西确实更难。 我觉得,你知道的,这真的很疯狂,对吧? 比如软件工程已经发生了如此根本性的变化。 我的意思是,你觉得你现在还会写很多代码,对吧? 我自己还是会尽量多写代码。 过去六个月、十二个月里,它变化太大了。 所以我的看法是,AI已经来了。 它极大地改变了我们能构建的软件类型,但显然也改变了我们构建软件的方式。 我总觉得,很多基础设施和工具仍然,你知道,还没有完全跟上这一切。 所以我认为我们会看到架构和基础设施发生大量变动。 我的意思是,我经常为此思考Modal,因为我们是一家基础设施公司,但我也认为这同样适用于智能体以及它们的运行框架…… 你知道,也许像你们这样的公司,未来12到24个月里将会有非常多的变化。 就像移动互联网出现时,我们不得不发明Objective-C;互联网出现时,我们又不得不发明Kubernetes以及其他各种东西。 我觉得智能体这些东西也是同样的情况。 我们将不得不发明全新的基础设施和全新的框架等等。 所以我对此非常兴奋。

说话人 0

Maybe one last question on sandboxes.

最后一个问题,关于沙箱。

Um, there's this idea of kind of like... Like lightweight pseudo sandboxes, so like Pydantic Monty or just Bash from Vercel or QuickJS, where they're like a subset of the runtime, where a lot of the premises you don't need a full sandbox, it kind of mocks it out. Do you have any thoughts on that and the usefulness or place for that?

嗯,有一种想法是轻量级的伪沙箱,比如Pydantic Monty,或者Vercel的Bash,或者QuickJS,它们只是运行时的一个子集,很多情况下你并不需要完整的沙箱,它其实是模拟出来的。 你对此有什么看法?它有什么用处或适用场景吗?

说话人 1

I mean, maybe like I think they could be useful for some stuff. Like I'm not my general feeling is like a lot of the agents like today, like they like to have like a. like linux box. like if anything, we've seen the pull in the opposite direction. we're moving from gvisor, which is like, has like most of the surface area for linux to, but we're moving away from it to virtual machines because there's like certain things that don't quite work with in gvisor. and gvisor is like way more, you know, full feature than a lot of these like, you know, if you go to like wasm or v8 isolates or some of the stuff you mentioned. I don't know. Like, I think for certain use cases, when you want to run like an insane amount of like, maybe they're good for like, you know, you take a small JavaScript snippet from a customer and you need to run it like a million times. I think something like WASM or V8 isolates or something like you mentioned could actually make sense. But I think for the general case, like my feeling is like you kind of want these like big fat VMs.

我觉得它们对某些事情可能有用。 我总体的感觉是,如今很多智能体都希望拥有一个类似的…… 类似Linux的主机环境。 如果说有什么趋势的话,我们看到的是相反的方向。 我们正从gVisor转向虚拟机。gVisor提供了大部分Linux的接口面,但某些功能在gVisor里运行不太正常。 而且gVisor比很多方案功能更完整,比如你提到的WASM或V8 isolates之类的东西。 我不太确定。 比如,我觉得对于某些使用场景,当你想运行海量的……嗯,也许它们对这类场景很合适,比如你从客户那里拿到一小段JavaScript代码片段,需要把它运行一百万次。 我觉得像WASM、V8 isolates,或者你提到的那类方案,可能确实有道理。 但我认为对于一般情况,我的感觉是你还是需要那种又大又重的虚拟机。

说话人 0

And does that also help with like computer use and things like that?

那这也有助于计算机使用之类的场景吗?

Like is that a driving force for these?

这是推动这些技术发展的主要动力吗?

说话人 1

Totally. Yeah. And I don't think we're seeing it quite yet, but like. One thought I'm very excited about is in general the big labs have obviously seen tremendous success with coding models because coding is quite verifiable. You can do the rollouts, you can run things and do post training very efficiently on coding sandboxes. I think you know, as we're moving into like, and you may have whatever thesis you want about this, but like automating white collar work more broadly, like we're probably going to see a lot of people doing rollouts in like Windows and Mac sandboxes, because you know, if you want to automate like computer use or browsers for that matter. Like you kind of need to train agents that kind of like click around in Excel and then Outlook and Slack and Teams and Zoom maybe even, I don't know, like and so I'm kind of excited about that too over the next few years. I'm sure we're going to see a lot of demand for those things.

完全是。 是的。 我觉得我们现在还没完全看到,但是,嗯。 我非常期待的一个想法是,大型实验室在编程模型上显然取得了巨大成功,因为编程是非常可验证的。 你可以进行推演,运行代码,并在编程沙盒上非常高效地进行后训练。 我觉得,随着我们逐渐进入更广泛的白领工作自动化阶段,你可能有你自己对此的看法,但我们很可能会看到很多人在Windows和Mac沙盒中进行推演,因为如果你想实现计算机使用或浏览器自动化,就需要这样做。 你需要训练的智能体能够在Excel、Outlook、Slack、Teams,甚至可能还有Zoom中点来点去,我不太确定,所以我也很期待未来几年的这些发展。 我相信我们会看到对这些东西的大量需求。

说话人 0

Maybe maybe taking that and and and going into kind of like inference because you guys also play there. Yeah.

也许可以从这里延伸到推理方面,因为你们也在这一领域有所布局。 是的。

Um yeah, how how has your strategy for inference evolved over over time?

嗯,是的,你们的推理策略是如何随时间演变的?

说话人 1

Yeah, I mean, we support all the open source models. Pretty easy to deploy open source models on Model. We also launched a couple of features around making it even easier. So we have a thing called Auto Endpoints, which is basically you can like point, like one click deploy a single tenant, you know, Kame K3 or something like that. We also have shared endpoints now, which is like more resource efficient because they're shared across a lot of users. It's kind of off the shelf K3 models, et cetera. Um, so we see a ton of demand. I think I think the sort of the conversation has shifted a lot in the last 12 months. I would say like a year ago, open source models were just not nowhere, they were nowhere near the frontier models, right? And so the argument was more like you can save a lot of money, like you can fine tune, like and if you fine tune or post train, they're almost as good as you know on specific use cases, they're almost as good as the frontier ones. Now the like, you know, at least in the last three months, the open source models have been like basically as good as the frontier models. Well now, you know, OpenAI and Anthropic just launched a bunch of new models, so like now, I think they pulled ahead again, but you know, but but but I think what what's shifted the conversation a little bit has been. You actually don't need as much post training maybe. So like we still see a lot of people post training, but I think also a lot of people are just very happy to just like swap out, you know, Anthropic for for uh you know Kimi K3 or DeepSeek 4.1 or something like that, and save basically two thirds of the token cost, and the model is like basically as good.

是的,我们支持所有开源模型。 在Model上部署开源模型相当容易。 我们还推出了几项让部署更加便捷的功能。 我们有一个叫做Auto Endpoints的功能,基本上你可以一键部署单租户的服务,比如Kame K3之类的模型。 我们现在也有共享端点,这样资源效率更高,因为它们被大量用户共享。 基本上就是现成的 K3 模型之类的。 嗯,所以我们看到了大量的需求。 我觉得过去12个月里,大家的讨论重心变化很大。 我会说一年前,开源模型还远远不行,离前沿模型还差得很远,对吧? 所以当时的说法更多是,你可以省下很多钱,比如你可以微调,如果你进行微调或后训练,在特定用例上它们几乎能和前沿模型一样好。 而现在,至少在过去三个月里,开源模型基本上已经和前沿模型一样好了。 不过现在OpenAI和Anthropic刚发布了一批新模型,所以我觉得他们又领先了一些。但我认为,让讨论有所转变的,是另一件事。 也许你其实不需要那么多的后训练了。 所以我们仍然看到很多人在做后训练,但我觉得也有很多人非常乐意直接换掉,比如把Anthropic换成Kimi K3或DeepSeek 4.1之类的,这样基本能省下三分之二的token成本,而且模型效果基本相当。

说话人 0

How much of the inference going through you guys do you think is on like these custom fine-tuned post-trained models versus just off-the-shelf Kimi K3? If you had to guess to me.

你们平台上的推理请求,你觉得有多少是用定制微调、后训练的模型,多少是直接使用现成的Kimi K3? 如果让我猜的话。

说话人 1

I actually don't know. I would assume it's 50-50 at this point. But it's like, you know, 50-50 by volume. It's probably like by number of customers. I'm sure it's like 95% of customers just use off-the-shelf open-source models. And then you have a 5% of customer. You always have this like skew. Same with like reinforcement learning. It's like a very small amount of customers who drive insane amount of usage. Most customers do not need to do post training and stuff like that.

我其实不清楚。 我想到现在大概是五五开。 但按调用量来说,大概是五五开。 按客户数量来说可能不一样。 我相信大约95%的客户只是使用现成的开源模型。 然后剩下5%的客户会做定制。 总是存在这种偏态分布。 强化学习也是一样。 就像是极少数客户在消耗着大量的用量。 大多数客户并不需要做后训练之类的事情。

说话人 0

I think. How do you think about that like 5% versus the skew as as like a founder and and and product leader? Like are you building for the 5%? Do you want to do the long tail?

我想。 作为创始人和产品负责人,你如何看待这种情况:5%的客户与整体分布的偏斜? 你们是在为那5%的客户打造产品吗? 还是你们想服务长尾客户?

说话人 1

We're primarily building for sophisticated customers.

我们主要是为成熟的客户打造产品。

Like we've always considered models of uh. high code tool. We love engineers. We always wanted modal to be... you know, as powerful, if not more powerful than existing tools, you know, while getting rid of all the junk that previously sort of challenged people, you know, working with the cloud. i think, so to us, like the core, our core users are machine learning engineers, like researchers, like people building very sophisticated infrastructure or applications, i should say. We also have a long tail of like hobbyist early stage startups. But I think it's important. Like we we love also the power users, the people building very sophisticated stuff.

就像我们一直在考虑模型的……呃。 高代码工具。 我们热爱工程师。 我们一直希望Modal既强大,甚至比现有工具更强大,同时摒弃以往那些让人在云端工作时感到困扰的种种糟糕问题。 所以在我们看来,核心用户是机器学习工程师,比如研究人员,以及那些构建非常复杂基础设施或应用的人。我应该说的是构建非常复杂的应用。 我们也有大量爱好者和早期初创公司构成的长尾用户。 但我认为这很重要。 我们也很喜欢高级用户,也就是那些构建非常复杂东西的人。

说话人 0

Yeah, I think you guys have a great kind of like onboarding and very user friendly console as well. So I think that absolutely appeals to the long tail as well. Um for kind of like post training, like supervised fine turning versus RL, like what are you seeing people doing now? Has that changed over time?

是的,我觉得你们的上手流程和非常友好的控制台也很出色。 所以我认为这对长尾用户也同样有吸引力。 嗯,关于后训练,比如监督微调与强化学习,你们现在看到大家在做什么? 这种情况随时间有变化吗?

说话人 1

We definitely by number of users again we see like way more just supervised fine tuning SFT um than than reinforcement learning. But the very large customers like the very complex customers are doing reinforcement learning. Reinforcement learning is a mess though. Like it it's like you can get like better result than SFT but it comes at a very high cost today. Uh it's very sort of use case specific. You have to think about the rollouts. You have to think about, I mean, the infrastructure itself is very tricky. You have to think about the evals, like the judges. It's very complex. So I don't think I wouldn't suggest to anyone to do RL unless you really want to squeeze out those like, you know. x percent of extra accuracy. but for some of our customers, that's worth it, right? we have customers like cognition, for instance. they run very large-scale coding models. and for them, reinforcement learning is very much the right thing to do. i think for the average customer, fine-tuning is enough. or just running, frankly, just off-the-shelf models and just having better prompts.

按用户数量来看,我们发现监督微调(SFT)的使用远远多于强化学习。 但那些非常大的客户,比如非常复杂的客户,正在做强化学习。 不过强化学习是一团乱麻。 就是,你确实能得到比 SFT 更好的结果,但目前成本非常高。 呃,它非常依赖具体的使用场景。 你必须考虑 rollout。 你必须考虑,我的意思是,基础设施本身就非常棘手。 你还得考虑评估,比如评判模型(judge)。 这非常复杂。 所以我不认为,我不会建议任何人去做 RL,除非你真的想榨取那些,你知道的, 额外的百分之几准确率。 但对我们的一些客户来说,这是值得的,对吧? 比如我们有 Cognition 这样的客户。 他们运行非常大规模的编程模型。 对他们来说,强化学习确实是正确的做法。 我认为对普通客户来说,微调就够了。 或者直接坦白说,用现成的模型,配合更好的提示词就行。

说话人 0

For just like inference, you guys have gone from kind of like really low level primitives to auto endpoints, and now it sounds like they're shared endpoints, which I just learned about now. Like, how do you think about like I'd say that's like going up the stack a little bit, a little bit, yeah, yeah.

至于推理方面,你们已经从相当底层的原语,发展到了自动端点,现在听起来还有共享端点,这个我刚刚才听说。 就是,你怎么看待这种……我觉得这算是往上层走了一点,一点点,对,对。

How do you think about that? How do you make that decision? Yeah.

你怎么看待这件事? 你们是怎么做这个决定的? 嗯。

说话人 1

yeah. I mean, we spent the first three, four years of the company building like very foundational stuff, like compute runtime, file systems, like stuff like that. I think over time, like we're always going to go up the stack to some extent, and when we see opportunities and we see a lot of demand for things, like we are in the infra layer very clearly, but I think you know with inference. You know, for a long time, like people would come to us and deploy LM inference themselves. Um, and these were relatively sophisticated customers and they wanted to deploy things like VLM or SG Lang, and we would help them with that. But I I I I would say like it's pretty hard to like tweak the performance of SG Lang and VLM. There's so many parameters and things like that. So I think it made a lot of sense for us to build. shared endpoints and auto endpoints and make that process a little bit easier. We're spending a lot of time on basically self optimizing performance, and the idea is like if you spin up an endpoint or model with some of these open source models. The performance gets better automatically over time because we can sort of monitor the system and and train, you know, draft models and tweak, you know, the batch sizes and all these things. There's so many different parameters. So some of that stuff, I think, makes a lot of sense for us to turn into product and package and sell that to a lot of customers.

对。 我的意思是,公司头三四年,我们主要在打造非常基础的东西,比如计算运行时、文件系统之类的。 我觉得随着时间推移,我们在一定程度上总会向上延伸到更上层。当我们看到机会,看到大量需求时,虽然我们明显处于基础设施层,但我觉得,你知道,在推理方面…… 你知道,很长一段时间里,人们会来找我们,自己部署大模型推理。 嗯,这些客户相当成熟,他们想部署VLM或SGLang之类的工具,我们会帮他们处理。 但我会说,要调优SGLang和VLM的性能其实挺难的。 参数非常多,诸如此类。 所以我觉得我们去构建这些东西非常有道理。 共享端点和自动端点,让这个过程变得简单一些。 我们花了大量时间在基本的自优化性能上,思路是:如果你用这些开源模型启动一个端点或模型。 随着时间推移,性能会自动提升,因为我们可以监控系统,训练草稿模型,调整批量大小等等。 参数非常多。 所以我觉得,其中一些东西很适合我们把它做成产品、打包并卖给很多客户。

说话人 0

Do you think you'll do that for fine tuning or RL? Like you talk about how complicated it is and how it's hard to do RL, right?

你觉得你们会针对微调或强化学习这么做吗? 就像你说的,这很复杂,强化学习很难做,对吧?

说话人 1

And is that something you're trying to make easier? I think so. I think the dream is over time, like you want to turn these things and like package them up into products. I would say with fine tuning, you see that a little bit. I think Tinker by Thinking Machines is an example of a product that's actually pretty exciting. Like they've actually been able to package it. It's relatively complex to use still, but it does take away a lot of the infrastructure challenges of doing SFT. I would love to figure out what that looks like for for reinforcement learning. There's a lot of companies obviously thinking about this. Um, today, like reinforcement learning is quite labor intensive, like it's very service heavy. But but the dream is like, can you package it up into like, you know, here's the thing, you know, here's a RL in a box. Uh, I would love to figure that out. I don't think we we're quite yet there. Continue learning is like another thing that would be even better. to do. maybe give it a year. like, i'm sure there's going to be stuff on the market. we're thinking a lot about it.

你们是想让这方面变得更容易吗? 我觉得是的。 我觉得长远的目标是,把这些东西打包成产品。 微调方面,你能看到一些这样的迹象。 我觉得 Thinking Machines 推出的 Tinker 是一个真正相当令人兴奋的产品的例子。 也就是说,他们确实把它打包成了产品。 使用起来仍然比较复杂,但它确实消除了进行 SFT 时的大量基础设施难题。 我很想弄清楚强化学习方面会是什么样子。 显然有很多公司都在考虑这件事。 嗯,如今强化学习相当依赖人工,很需要服务支持。 但梦想是,能否把它打包成类似这样的东东:这里有个东西,你看,这是一个 RL 盒子。 呃,我很想把这件事弄明白。 我不认为我们已经完全达到那个程度。 持续学习是另一件更好的事情。 要做到。 也许再给它一年时间。 我相信市场上肯定会出现相关产品。 我们一直在对此进行大量思考。

说话人 0

you mentioned that early on you built a lot of these foundational things that you're now packaging up a little bit more. are there like current foundational things that you guys are working on?

你提到,早期你们构建了许多基础性的东西,现在正在把其中一些进一步打包。 你们目前有没有正在研发的基础性项目?

说话人 1

we're working on a training product. i'm pretty excited about that. so you've always been able to train a model on single node, but we're building a product for multi-node training. basically the idea is like you can spin up like sort of a serverless cluster of you know 4, 8, 16 nodes so like you know 128 gpus or something like that fully interconnected with rdma so that's a product we have a number of design partners we're very excited we're going to launch that hopefully in next few weeks actually we're working on a batch product so the idea is like we have often you know periods of excess capacity and we also have customers who have. things that are very latency insensitive. maybe, you know, we had a customer the other day that was, they were transcribing 5,000 years of audio. so they had like millions and millions of audio files. and they just wanted to transcribe all of those audio files. and it's like one of those things you gotta just chuck through that like very long list of audio files. you can sort of do that during periods of, you know, like it takes like multiple, it took like a couple weeks. So we're launching a product where you can queue up sort of background jobs, and we'll kind of like go through that queue, and we'll give users a big discount, so up to 50% discount for background tasks, which is kind of exciting.

我们正在开发一款训练产品。 我对此相当兴奋。 所以,你们一直都能在单节点上训练模型,但我们正在打造一款多节点训练产品。 基本思路是,你可以启动一个类似无服务器的集群,比如 4、8、16 个节点,也就是 128 块 GPU 左右,并通过 RDMA 完全互连。这就是我们的一款产品,我们有一些设计合作伙伴,我们非常期待。我们希望能在未来几周内推出它。实际上,我们还在开发一款批处理产品,思路是我们经常会有一段时间的富余算力,同时也有一些客户…… 那些对延迟非常不敏感的任务。 比如,前几天我们有个客户,他们要转录5,000年的音频。 所以他们有数百万个音频文件。 他们就是想把所有这些音频文件都转录一遍。 这种事情就是得把那一长串音频文件一个个慢慢处理完。 这类任务可以在某些空闲时段进行,你知道,比如要花好几遍,大概花了几个星期。 所以我们正在推出一款产品,用户可以把一些后台任务排进队列,我们会逐个处理这个队列,并为用户提供大幅折扣,后台任务最高可享受50%的折扣,这点挺令人兴奋的。

说话人 0

And I want to finish by maybe talking about like Modal the company a bit. Like you're building an incredible company. We have a lot of startup founders here as well. Maybe a few questions there, starting with like you come from an infra background. I think you described Modal as kind of like an infrastructure company at its core when it started. As you move like up the stack and you start to do things that are maybe like you mentioned RL, very services heavy, the people doing those services are probably different than infrastructure folks. Is that changing kind of like the DNA of the company? Are you guys evolving in some way there?

最后,我想稍微谈谈Modal这家公司。 你们正在打造一家很了不起的公司。 这里也有很多创业者。 也许可以提几个问题,首先是,你出身于基础设施背景。 我记得你曾描述过,Modal刚起步时本质上是一家基础设施公司。 随着你们向技术栈上层发展,开始做一些比如你提到的强化学习、服务密集型的事情,做这些服务的人可能与基础设施领域的人很不一样。 这是否在某种程度上改变了公司的基因? 你们是否在某些方面正在演进?

说话人 1

Yeah, I think that's right. I mean, we built up like a very large. team of ftes, forward deployed engineers. i think we had like three at the beginning of this year and now we have 25. and the truth is like building ai applications is pretty hard. like so, you know, we think it's very important to build up, you know, a team of, you know, really solid engineers that can work in a more, you know, customer engaged, like basically sit with customers and help them build model or like build really cool things and optimize things.

是的,我觉得你说得对。 我的意思是,我们已经建立了一支非常庞大的 前线部署工程师(FDE)团队。 我记得年初时我们只有三人,现在已经有25人了。 说实话,构建AI应用其实相当困难。 就像这样,你知道,我们认为很重要的是建立一支,你知道,真正扎实的工程师团队,他们能够以更多,你知道,与客户深度互动的方式工作,基本上就是和客户坐在一起,帮助他们构建模型,或者构建真正很酷的东西,并优化各种东西。

说话人 0

Can you maybe like double click on that? Because I think FD is like the hottest job thing. Like, what does it mean at Modal to be an FD?

你能不能再详细说说这一点? 因为我觉得FD现在是最热门的职位。 那么,在Modal做FD到底意味着什么?

说话人 1

Yeah, and by the way, I think it was Palantir that came up originally with the name. And there's an argument that like maybe everyone is like kind of not doing it the way Palantir do it. Because Palantir, it was like you would fly someone to Brazil for like three months. We don't quite do that. But you know, we have people go to like a customer and sit with them for a few days at a time maybe. And so it's about fixing bugs, like helping them optimize models, like sometimes helping them build things or helping them architect things. you know, helping them look at their code and see if you can structure it more efficiently. i mean, we're entering a new world of, you know, building applications in a fundamentally different way. i think in the long run, all software will, to some extent, be ai native. like, we won't talk about it. it's like software that's like internet native. like, or, you know, it's kind of a, you know, you don't talk about it that way. like, i think in certain ways, like, all software will become. You know, AI native in a certain way. So you need people to help customers with that. I'm sure you've experienced the same thing. We have a...

对了,我记得这个名称最初是Palantir提出来的。 有一种观点认为,也许大家并不完全像Palantir那样去做这件事。 因为在Palantir,他们会把某人飞到巴西待三个月。 我们不完全这样做。 但是,我们会让人去客户那里,和他们一起待上几天。 所以工作内容包括修复漏洞、帮助他们优化模型、有时帮他们构建东西,或者帮他们设计架构。 你知道的,帮他们检查代码,看看能不能让结构更高效。 我的意思是,我们正在进入一个以根本不同的方式构建应用程序的新世界。 我认为从长远来看,所有软件在某种程度上都将是AI原生的。 就像,我们不会再专门提这件事。 这就像互联网原生的软件一样。 或者说,你知道,你不会那样去谈论它。 就像,我觉得在某些方面,所有软件都会变得…… 你知道,在某种程度上变得AI原生。 所以你需要人来帮助客户应对这一点。 我相信你也有过同样的经历。 我们有一个...

说话人 0

Do you have 30, 40, probably more than that. We have a big deployed engineering team. Yeah. Um, what you mentioned kind of like uh coding and how that's changing. Like how how do you think that's changed for you, but also as a company? Like how do you try to make your own company more AI native in terms of coding and software development?

你们有30、40人,或者可能更多吧。 我们有一支庞大的工程团队。 嗯。 嗯,你刚才提到的像编程以及它正在如何变化。 比如,你觉得这对你个人有什么变化,对公司来说又是怎样的? 那你们是如何让自己公司在编程和软件开发方面变得更加AI原生的?

说话人 1

I mean pretty much every engineer at Modal. usam IA o tempo todo, inclusive eu mesmo, para escrever código. É obviamente um completo game changer para escrever código. I mean, is it like a 10x change? I don't know. But you know, it's like a 2x, 3x change is kind of what I feel like. I use it a lot myself. It gets, you know, it's like an intern. You can sort of delegate the boring tasks to. Sometimes you can delegate very complex tasks to. Interestingly, we've actually seen that the more experienced, the older engineers like are actually using it more because I kind of feel like they're actually like. maybe it's like kind of like thinking about as interns. like if you're like a new engineer, maybe it's like harder to delegate things. whereas like if you have like 20 years of experience and suddenly someone gives you 20 interns, you can like, yeah, you do that, you do that. so we've seen like some of our like, you know, more experienced people who like use agents like, you know, like crazy, like, you know, writing hundreds of thousands of lines overnight for some prototype or something. So that's been pretty cool to see.

我的意思是,Modal几乎每位工程师都在用。 大家一直在用AI写代码,包括我自己。 它对写代码来说显然是个彻底的游戏规则改变者。 我是说,这算是十倍的变化吗? 我不确定。 但你知道,我感觉更像是两三倍的变化。 我自己用得很多。 它就像一个实习生,你知道的。 你可以把枯燥的任务交给它去做。 有时你甚至可以把非常复杂的任务交给它。 有意思的是,我们发现经验越丰富、年纪越大的工程师反而用得更多,因为我觉得他们会把它当成实习生来看待。 也许就是把它当作实习生来考虑。 就像如果你是个新工程师,可能就更难把事情交给别人去做。 而如果你有像20年的经验,突然有人给你配了20个实习生,你就可以,对,你就这样做,你就这样做。 所以我们看到,我们的一些比较有经验的人,比如,你知道的,疯狂地使用智能体,比如为某个原型之类的东西,一夜之间写出几十万行代码。 所以看到这些还是挺酷的。

说话人 0

And what is the harness for doing that look like? Are you guys using cloud agents a bunch? Do you have some in-house harness that people are running locally?

那么,用来实现这些的harness(运行框架)是什么样的? 你们是不是大量使用云端智能体? 你们有没有内部自研的harness,让大家在本地运行?

说话人 1

No, we let people pick and choose. So initially it was all Cursor, now more recently it's been Claude and Codex, and some people are playing around with open source things like Nightshift and all the open code and all of those things. We don't mandate anything. I think our view is that this space is moving so fast, we kind of want people to... we want a little bit of internal competition. We thought about building our own harness internally, just as more of like a kind of a dog fooding, because we think long term Modal is a great platform for for hosting harnesses. So we thought about maybe we should build our own harness to learn what it feels like to host the harness on model. We'll see.

没有,我们让大家自由选择。 一开始全都是Cursor,最近则更多是Claude和Codex,还有一些人在尝试Nightshift、各种open code之类的开源项目。 我们不强制任何工具。 我认为我们的观点是,这个领域发展得太快了,我们希望在内部保持一点竞争。 我们考虑过自己在内部构建harness,更多是一种自家产品的实际使用(dogfooding),因为我们认为长远来看,Modal是托管harness的绝佳平台。 所以我们考虑也许应该自己构建一个harness,以了解在Modal上托管harness是什么感觉。 我们看看吧。

说话人 0

Do you dog food some of like the inference stuff as well? Have you guys trained a model of your own?

你们是否也在自家使用一些推理相关的东西? 你们有没有训练过自己的模型?

说话人 1

No, we probably should do it. That's a good idea. Yeah.

没有,我们大概应该去做。 这是个好主意。 是的。

说话人 0

you have more than enough other things to do. Yeah, yeah.

你们有足够多的其他事情要做。 是的,是的。

说话人 1

yeah. But actually, a lot of people use our own Kimi K3 deployments for like Claude and things like that.

嗯。 不过说实话,很多人在用我们自己部署的 Kimi K3 来跑 Claude 之类的服务。

说话人 0

Awesome. How are you seeing kind of like AI transform other areas of the business besides software engineering? Like we talk about coding a bunch. Are you seeing the same in sales or go to market or people or other functions you guys have?

太棒了。 你们是怎么看待 AI 在软件工程之外,改变公司其他业务领域的? 我们已经聊了很多关于编程的事了。 你们在销售、市场拓展(go to market)、人力或其他部门,是不是也看到了同样的情况?

说话人 1

I think so. I mean, I've been using ChatGPT and Claude pretty efficiently like. we have internal mcp servers that hook up to our crm and our revenue data and all these things. and it's kind of cool. you can go into like the other day i was like, i was going to london for a few days. so i was like kind of tried it out. i'm like, ask claude, like, what are some customers i should reach out to? and it's like scan all the crm and everything. it's like, here's like a list of customers. and so i, you know, and i know the sales team does a lot of that. so i'm sure you see the same thing. there's some really cool stuff. in the market that you can do using these agents. i don't know about like other like hr and legal i would i feel like they're a little bit behind but you know eventually i'm sure we get there too.

我觉得是的。 我自己一直在相当高效地使用 ChatGPT 和 Claude。 我们有内部的 MCP 服务器,连接到我们的 CRM 和收入数据,还有各种其他系统。 这挺酷的。 比如前几天,我要去伦敦待几天。 所以我就试了一下。 我就让 Claude 帮我找找,有哪些客户是我应该去联系的。 它就扫描了所有 CRM 数据等等。 然后它给出了一份客户名单。 我知道销售团队也经常这样用。 所以我想你们也是一样的。 这方面确实有一些很酷的东西。 在市场上,你可以借助这些智能体做很多事情。 至于人力资源和法务之类的,我觉得它们稍微落后一些,但我相信我们最终也会走到那一步。

说话人 0

maybe last question i have for you you have an incredible kind of like view into the industry and vantage point what is something that like you're most excited about that you think is really about to kind of like take off.

最后一个问题,你在行业中有着很独特的视角和洞察,你最兴奋的、你认为即将真正爆发的是什么?

说话人 1

Like kind of a random thing. I was been very bullish on is like voice models. Like I feel like they're like not quite there yet, but like once you can really talk to computer the way you talk to human, my feeling is like that's gonna be a game changer for like how we are interact with with computer systems, not maybe for everything, but um. But I feel like so, like in terms of like what that means for infrastructure, we're very excited about like low latency inference for that reason, and then like streaming media, like audio and video. So that's like one thing that I'm very excited about.

算是个比较随机的东西。 我一直非常看好语音模型。 我觉得它们还没完全成熟,但一旦你能像跟人说话一样与电脑对话,我觉得这将彻底改变我们与计算机系统互动的方式。当然不是所有场景都会如此,但是,嗯…… 所以就基础设施而言,出于这个原因,我们对低延迟推理非常感兴趣,还有流媒体,比如音频和视频。 这就是我非常兴奋的一件事。

说话人 0

And does this mean kind of like voice to voice, the native multimodal stuff?

这是指语音对语音,也就是原生多模态的那些技术吗?

说话人 1

Exactly, voice to voice, right? Like, and it's like when you talk to a computer using voice to voice today, like it still doesn't have the same fidelity and the latency. it doesn't feel like a human, it's like very uncanny, but like i give it like six months, give it twelve months, i mean whispers work on some stuff, i have a feeling like the models will be very good.

没错,就是语音对语音,对吧? 就是说,如今用语音与电脑交流时,保真度和延迟都还不如人与人之间的交流,还是差很多。 它听起来不像真人,非常怪异。但我觉得再给它六个月、十二个月,我是说,Whisper他们在做一些相关工作,我感觉这些模型会变得非常好。

说话人 0

all right, we'll keep an eye out for that. well, thank you eric for joining us, thanks for all the wisdom, thank you.

好的,我们会持续关注这一点。 非常感谢Eric加入我们,感谢你分享的所有真知灼见。谢谢。

摘要

本次访谈由 Modal 联合创始人兼 CEO Erik Bernhardsson 讲述公司的产品版图与发展路径。Modal 早在 ChatGPT 出现前就从通用基础设施起步,沙箱业务在 2023 年推出后于 2025 年前后快速增长,主要来自氛围编程、后台智能体和强化学习 rollout 三类场景。访谈重点讨论了沙箱的架构演进,包括从 gVisor 转向虚拟��、将智能体 harness 放在沙箱之外、沙箱生命周期趋于短暂等判断。在推理侧,Modal 从底层运行时向上推出自动端点与共享端点,以降低开源模型部署门槛。在训练侧,访谈比较了 SFT 与 RL 的成本收益,并介绍了多节点训练和折扣批处理两项新产品。最后,Erik 谈到前线工程师团队、内部编码智能体的使用,以及他对语音到语音模型的看好。

章节

00:00 Modal 的产品版图与定位

Modal 定位为 AI 基础设施平台,覆盖推理、训练和沙箱三类工作负载。其客户包括 Cognition、Decagon、Suno 和 Runway 等,推理和沙箱是近一年需求增长最快的部分。平台也可支持较广泛的通用计算场景。

Modal 的核心定位:AI 基础设施平台

00:57 早期定位与基础设施路线

Modal 于 2021 年初成立,早于 ChatGPT,创立初期并不清楚 AI 工作负载的具体形态,而是从文件系统、容器运行时和调度等底层构建通用基础设施。2021 年推出的无服务器函数产品用了一到两年才达到产品市场契合。2023 年推出的沙箱产品直到 2025 年才明显增长。Erik 认为基础设施应着眼长期原语,而不必追逐每个短期趋势,Stable Diffusion 在早期成为重要的应用场景。

讲述 Stable Diffusion 成为早期关键应用,无明确可见画面,取代表性锚点

02:49 沙箱需求爆发的三类场景

沙箱最初由 CTO Akshat 在两天内做出第一版,推出后两年几乎没有增长。约一年前,氛围编程平台(如 Lovable)率先大量使用沙箱执行生成的代码,随后 Ramp 等公司把沙箱用于后台编码智能体 Ramp Inspect。第三类是强化学习,客户规模不多,但单个客户的 rollout 量极大,可达数百万个沙箱并发持续运行,Meta 等客户已在用。

沙箱产品发布,作为需求爆发的起点
客户大量使用 vibe coding 的第一类场景
Ramp 在 Modal 上运行的内部后台编程代理
强化学习场景的超大规模沙箱运行量

04:29 沙箱的共性与竞争差异

不同场景下沙箱的核心接口相似:从镜像创建容器、在其中执行代码、从外部交互,同时防止智能体逃逸。快照和克隆等高级功能正在开发。Erik 认为真正的差异化在于能否大规模、高性能、可靠地运行,Modal 作为基础设施团队在这些方面有优势,他判断其很可能是沙箱领域规模最大的供应商。

沙箱快照与克隆等进阶功能的代表画面

05:09 大规模扩展与从 gVisor 迁移到虚拟机

沙箱增长后,Modal 重构了部分核心基础设施以应对大规模 rollout,同时保留了自研文件系统,它支撑沙箱的快速冷启动。过去使用 gVisor 运行时,现正大量转向完整虚拟机。主要原因是部分客户需要运行完整操作系统,gVisor 在运行 Docker 等场景存在限制,而虚拟机可以自由配置防火墙等,性能也略有提升。Modal 还在评估 Windows 和 Mac 沙箱,并认为未来计算机使用类智能体的强化学习 rollout 会需要这些环境。

沙箱领域的采用情况
沙箱领域的主要供应商
差异化说明
外部视角下的产品相似性
沙箱作为基础构件的相似性

07:47 智能体 harness 应放在沙箱之外

许多客户希望沙箱长时间保持状态,Erik 认为这主要反映了当前 harness 的架构缺陷,因为 harness 常与代码一起运行在沙箱内部。他主张将 harness 与沙箱解耦:harness 长期运行,沙箱则短暂存在,甚至每次工具调用对应一个沙箱。这样便于派生子智能体、克隆分支、快照和恢复。Modal 的沙箱中位生命周期约为 12 秒,但也存在长达 24 小时的长尾。他观察到,构建智能体的团队中,把智能体放在沙箱外部的比例从此前约一半,升至如今的 75% 到 80%。

讲者提出智能体 harness 与沙箱解耦的核心观点

08:51 基础设施需要随 AI 变化而重构

Erik 认为 AI 不仅改变了可构建的软件类型,也改变了软件开发方式,但现有的基础设施和工具尚未完全跟上。他以移动互联网时代需要 Objective-C、互联网时代需要 Kubernetes 为例,认为未来 12 到 24 个月内,智能体基础设施和框架都会经历大幅变革,Modal 与智能体 harness 都面临这种更替。

多子代理并行探索
快照与恢复机制
基础设施演进方向
架构构建难度
软件工程剧变

10:11 轻量沙箱与完整虚拟机之争

对于 Pydantic Monty、Vercel Bash、QuickJS 这类只模拟部分运行时的轻量沙箱,Erik 认为它们在某些场景有用,例如运行大量小段 JavaScript 代码,此时 WASM 或 V8 isolate 可能更合适。但对于一般场景,他认为智能体更需要完整的 Linux 环境,因此行业整体正在从 gVisor 转向更完整的虚拟机,而不是收缩运行时。

轻量伪沙箱方案示例
讨论轻量沙箱的适用价值
轻量沙箱的适用场景
当前智能体通常的运行环境倾向
智能体偏好完整 Linux 环境

11:30 计算机使用与白领工作自动化的训练需求

大模型实验室在编程模型上取得成功,是因为代码可验证,适合在沙箱中做 rollout 和后训练。Erik 认为,随着自动化范围扩大到白领工作,智能体需要在 Excel、Outlook、Slack、Teams 等桌面软件中操作,因此未来几年会对 Windows 和 Mac 沙箱产生大量需求。

训练代理在 Excel、Outlook、Slack、Teams 和 Zoom 等办公软件中点击操作

12:32 推理端点与开源模型的替换

Modal 支持所有主流开源模型,并推出自动端点,可一键部署单租户模型(如 Kimi K3),以及共享端点,以更高的资源效率提供现成模型。一年前开源模型与前沿模型差距较大,主要卖点是微调后成本更低;近几个月开源模型已接近前沿水平,许多客户可直接把 Anthropic 等模型换成开源模型,节省约三分之二的 token 成本。Erik 估计推理流量中定制后训练模型与现成模型大致各占一半,但从客户数看,约 95% 的客户只使用现成开源模型。Modal 的核心客户是机器学习工程师和研究人员,同时也服务有大量小型初创团队的长尾用户。

替换开源模型后可节省约三分之二 token 成本的代表性说法

14:58 强化学习的成本与适用场景

按用户数计算,SFT 远多于强化学习,但大型复杂客户主要采用 RL。RL 效果可以超过 SFT,但需要处理 rollout、基础设施、评估和评判器等复杂问题,成本很高。Erik 不建议一般客户使用 RL,除非需要挤出额外的准确率,例如 Cognition 这类训练大规模编码模型的客户。对多数客户而言,微调、现成模型加更好的提示词已足够。Modal 希望把微调和强化学习逐步打包成产品,Thinking Machines 的 Tinker 是其中的参考,而 RL 目前仍然服务密集,距离“RL 装箱即用”还有距离。

强化学习成本高、适用场景有限的讲解起点

17:20 多节点训练、批处理与前线工程团队

Modal 正在开发多节点训练产品,计划提供可扩展到 4 到 16 个节点、即约 128 张 GPU 的无服务器集群,节点间通过 RDMA 全互联,目前有若干设计合作伙伴,预计数周内发布。同时,批处理产品允许用户排队提交对延迟不敏感的后台任务,利用闲置容量,最高可享受 50% 折扣,例如一家客户需要转写 5000 年音频。在组织上,Modal 的前线工程师从三人增至 25 人,他们驻场帮助客户调优模型、修复问题和优化架构。团队内部工程师大量使用编码智能体,资深工程师使用率尤其高,Erik 估计效率提升约 2 到 3 倍。公司不强制统一工具,目前主要使用 Cursor、Claude 和 Codex,并考虑开发内部 harness 以验证在 Modal 上托管智能体的体验。Erik 还提到,内部 MCP 服务器接入了 CRM 和营收数据,供销售和管理者查询。他最后表示看好语音到语音模型,认为低延迟推理和流媒体音视频基础设施将变得重要,但目前语音交互在保真度与延迟上仍有差距。

微调产品 Tinker 的产品展示
多节点训练产品
128 块 GPU 互联集群的规模数据
后台批处理任务的折扣数据
前线工程师团队人数增长数据

结论

08:04 Erik 认为智能体 harness 应与沙箱解耦,沙箱应短暂存在,甚至每次工具调用对应一个沙箱,以支持子智能体、分支克隆和恢复等能力。

13:51 近几个月开源模型已接近前沿模型水平,许多客户可通过替换为开源模型节省约三分之二的 token 成本,因此推理需求的讨论从后训练转向直接替换模型。

16:15 强化学习能比 SFT 获得更好的效果,但基础设施、rollout、评估和评判器等环节复杂且成本高,只适合对准确率有极高要求的大型客户,多数客户用微调或现成模型即可满足需求。

20:05 Modal 正在推出多节点训练产品,通过 RDMA 互联的无服务器集群提供数十至一百多张 GPU 的训练能力,并推出可享受最高 50% 折扣的批处理产品。