Modal推出沙箱突发资源配置与按量计费
Modal为Sandbox引入活跃资源计费,CPU和内存可在工作负载出现峰值时扩展,并在任务结束后释放。沙箱默认申请0.125个CPU核心和128 MiB内存,系统按每秒实际使用量或申请量中的较高者计费,用户也可设置上限控制成本。Modal称一个示意性编程智能体任务可比固定资源预留节省58%,但相关节省和驱逐数据未获独立验证。
这一模式让编程智能体等波动较大的工作负载能够临时获取计算资源,而不必持续支付预留峰值容量的费用,但其节省比例和驱逐率仍属于厂商声明。
Across Modal, a typical Sandbox spends more than half its life using less than 6% of its peak CPU. Take a coding agent: the Sandbox sits nearly idle while the model reasons about what to do next, and spikes only when the agent installs dependencies, runs tests, or builds the project. The same pattern shows up in other common Sandbox workloads: RL rollouts, evals, and app builders.
Today, most sandboxes are priced based on a fixed-resource reservation model. Reservations are a poor fit for spiky work, for two reasons:
- You have to guess your peak. Agent resource usage varies greatly from task to task, and an undersized Sandbox can crash, so you end up reserving well above your real peak.
- You pay for the peak all the time. The Sandbox spends most of its life far below its reservation, but you pay for all of it.
We believe your bill should align with your workload, rising when it’s busy and falling when it’s idle. That’s why our Sandboxes burst: a Sandbox gets the CPU and memory it needs when your work spikes and gives them back when it is done. You pay for what you actually use.