Infrastructure
Elastic GPU Capacity Won't Lower Agent Costs by Itself
Modal's sandbox scale makes pooled GPU capacity a purchasing question. The source offers a model, not prices or benchmarks, so buyers need their own workload data.
Modal says it has spun up nearly three billion sandboxes, and that sandbox business now accounts for roughly a third of company revenue 1. That scale pushes agent infrastructure costs from an architecture debate onto the purchasing agenda. The real question: does pooled GPU capacity cut idle time enough to beat the cost of delays, retries, and uncertain supply?
In a Latent Space interview, Modal CEO Erik Bernhardsson lays out a capacity model built on pooling demand across customers and making it available as needed 1. That's a useful framework for thinking about elastic GPU capacity, not proof it's cheaper for any given workload. The source provides no prices, utilization figures, latency benchmarks, or buyer-specific comparisons against fixed reservations 1.
What changed in AI agent infrastructure costs?
A typical GPU contract reserves a fixed number of GPUs for a fixed period, while workloads grow, spike, and fall through the day 1. Buy enough for peak demand and hardware may sit idle when things quiet down. Buy below peak and you risk missing demand 1.
Elastic capacity changes how that mismatch gets managed. Bernhardsson describes pooling demand across thousands of customers, securing capacity underneath, then letting each customer draw on it as needed 1. The logic: a provider can serve variable demand from a shared pool instead of matching every customer to their own fixed reservation. Smoother aggregate demand, in this telling, makes the pool more useful 1.
That's a utilization and availability trade-off, not an automatic cost cut. Pooling may reduce idle capacity, but buyers still need to know whether capacity arrives fast enough, and whether price and terms beat a reservation.
Evidence boundary: The source describes the model and its operating logic. It supplies no GPU prices, utilization rates, idle-capacity costs, or workload-specific savings comparison against fixed reservations 1.
How do fixed reservations compare with pooled elastic GPU capacity?
| Model | Potential advantage | Main trade-off |
|---|---|---|
| Fixed GPU reservations | A defined quantity of capacity for a fixed period. 1 | Paying for capacity that may sit idle when demand drops; a reservation sized below peak won't cover spikes. 1 |
| Pooled elastic capacity | Shared demand may make capacity use more flexible across customers. 1 | Buyers need evidence on availability, arrival time, effective price, and performance under load — none of which the source quantifies. 1 |
| Buyer-managed hybrid | Analysis: Keep a baseline for predictable or latency-sensitive work, route bursts to elastic capacity. | Adds routing and measurement overhead; savings depend on workload shape and provider terms. |
The hybrid row is a hypothesis, not a result the source reports. It's worth testing where a buyer can cleanly separate a stable baseline from a burst component, and the test should price in more than the headline GPU rate: idle time, allocation delay, startup and restore overhead, and the cost of failed or delayed work. Buyers comparing flexible supply routes can also read about GPU trading markets and the fine print buyers still need to verify.
The source doesn't explain how allocation priority works, whether capacity is guaranteed, or how queueing behaves during a broad demand spike. Those gaps matter: pooled capacity isn't equivalent to a reservation unless it's actually there when the buyer needs it 1.
Why does elasticity depend on startup and restore time?
The source describes an agent as potentially creating an environment, running code, inspecting the result, and trying again many times 1. It says the latency of starting and restoring those environments becomes part of the experience 1.
That creates a cost-and-latency tension. Analysis: Keeping environments warm may cut setup delays but uses capacity while idle; tearing down and restarting may avoid some of that idle cost but adds overhead to attempts. Neither approach should be assumed to win without workload measurement. What matters is how each choice moves total GPU occupancy and end-to-end task time.
Modal's serverless GPU write-up describes several mechanisms for reducing the work needed to bring another model replica online: a buffer of available GPUs, a custom filesystem, process checkpointing, and GPU-memory snapshots 1. The source's caveat is that elasticity only works if capacity can arrive quickly enough to matter 1.
Before treating elasticity as operationally equivalent to reserved capacity, ask providers to measure allocation time, sandbox startup and restore time, model loading, and time to first useful output — typical and tail cases, run against your workload. The source offers no latency figures or test conditions, so it can't establish a service-level result for anyone else's traffic 1.
What does agent sandbox compute growth reveal?
Modal reports its sandbox business grew to roughly a third of company revenue, driven by demand from coding agents, background agents, and reinforcement learning — a reversal after early adoption was modest enough that the team discussed shutting the product down 1.
That growth matters because agent infrastructure includes more than model inference. The execution pattern described in the source — create an environment, run code, inspect, and try again — means sandbox cost can scale with repeated activity, not just with the number of model calls. That's an analytical implication, not a quantified finding about any specific customer's workload 1.
Coding agents, background agents, and reinforcement learning may load GPUs differently: repeated development environments versus other demand patterns, or longer or more parallel runs. Those are hypotheses to test. The source names the categories but doesn't report their separate compute use 1.
Analysis: Attribute cost to the sandbox lifecycle instead of folding it into one blended line item. Track GPU occupancy, environment duration, retry count, and startup/restore time by workload type. That can help show whether compute is doing useful work, waiting, or repeating setup — and how it compares with inference spend.
Where can the provider carry hidden capacity risk?
Pooling may smooth usage across customers, but it doesn't remove the provider's exposure to procurement timing and GPU prices. The source describes the risk: a provider that commits to capacity at today's prices could be left with expensive supply if GPU prices fall. Bernhardsson says he doesn't expect an imminent collapse, but considers the possibility relevant to how the business is structured 1.
That's provider-side asset risk — distinct from a customer's risk of paying for idle reserved capacity. Analysis: A shared pool may raise aggregate utilization, but the provider's own economics still hinge on what capacity costs, how demand shifts, and how fast supply can adjust.
The source reports Modal crossing a $1 billion annualized run rate, raising a $750 million Series D at a $16 billion valuation, and running nearly three billion sandboxes 1. Those are figures about Modal, not independent measurements of unit economics, and they don't establish that the same model saves money for a different buyer.
What evidence should buyers collect before changing GPU strategy?
Start with a workload trace, not a contract change. Record:
- Demand by time period, burst size, concurrency, and GPU type.
- GPU occupancy and duration, split between inference and sandbox work.
- Sandbox startup and restore time, retry behavior, and environment duration.
- Failed or delayed jobs, including the operational cost of missing a deadline.
This is a measurement framework, not a finding. The source flags intraday demand swings and repeated sandbox operations as relevant but supplies no numbers for any specific buyer's workload 1.
Then compare at least three scenarios: fixed capacity sized to baseline demand, fixed capacity sized to peak demand, and pooled elastic capacity — pricing in idle time, allocation delay, startup/restore overhead, and the cost of late or failed work. Ask providers to demonstrate arrival time and tail latency against your own workload; the source says speed matters but offers no benchmark to check it against 1.
Run a sensitivity pass for lower GPU prices, higher demand, and lower utilization. The lower-price case tests the provider-side risk Bernhardsson describes; the others show whether your apparent savings depend on one particular demand shape 1.
What should infrastructure and finance teams do next?
Analysis: Start with observability — split inference GPU time from sandbox GPU time, and capture the lifecycle events that drive sandbox cost. Then set capacity policy by workload class: hold a baseline reservation for predictable or latency-sensitive work, and test elastic capacity against burstier work where idle time looks material. Treat that as a hypothesis to validate, not a settled savings pattern. If your agents run on Kubernetes, a reviewer's checklist for Ray on Kubernetes for AI agents is a useful companion for the orchestration side.
When a provider claims utilization or cost savings, press on the assumptions: how demand is pooled, what buffer exists, how startup and restore work, and how retries get counted. Check those against your own trace, then run a pilot that measures cost alongside allocation and task latency — not cost alone.
Modal's reported sandbox scale is a reason to budget agent environments as a first-class infrastructure line, not incidental overhead 1. The open question isn't whether GPUs can be elastic. It's whether that elasticity is fast enough, visible enough, and cheap enough for your demand curve — once idle capacity, delays, retries, and burst pricing are all on the table. The source provides no latency or pricing figures, so buyers should ask providers for them and test against their own workload 1.
Frequently asked questions
What is elastic GPU capacity?
It is a capacity model in which a provider pools demand, secures underlying GPU capacity, and allows customers to use capacity as needed instead of reserving a fixed amount for a fixed period 1.
Can elastic GPUs reduce AI agent infrastructure costs?
They may reduce idle capacity when demand rises and falls during the day, but the supplied source provides no prices, utilization measurements, or workload-specific savings benchmark 1.
Why do agent sandboxes affect GPU economics?
Agents may create environments, run code, inspect results, and retry repeatedly, so environment startup, restoration, and GPU occupancy can affect both latency and cost 1.
What should buyers measure before moving from reserved GPUs to elastic capacity?
Measure demand by time of day, burst size, GPU occupancy, allocation delay, sandbox startup and restore time, retry frequency, and the cost of delayed or failed work. The source identifies these concerns but does not provide buyer-specific measurements 1.
What risk does falling GPU pricing create for capacity providers?
A provider that commits to capacity at current prices could be left with expensive supply if GPU prices later fall; the source presents this as a relevant business risk, not as a forecast of an imminent collapse 1.
Sources
1 "Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO," Latent Space, Oct. 22, 2026. https://www.latent.space/p/modal-d
Questions
- What is elastic GPU capacity?
- It is a capacity model in which a provider pools demand, secures underlying GPU capacity, and allows customers to use capacity as needed instead of reserving a fixed amount for a fixed period [1].
- Can elastic GPUs reduce AI agent infrastructure costs?
- They may reduce idle capacity when demand rises and falls during the day, but the supplied source provides no prices, utilization measurements, or workload-specific savings benchmark [1].
- Why do agent sandboxes affect GPU economics?
- Agents may create environments, run code, inspect results, and retry repeatedly, so environment startup, restoration, and GPU occupancy can affect both latency and cost [1].
- What should buyers measure before moving from reserved GPUs to elastic capacity?
- Measure demand by time of day, burst size, GPU occupancy, allocation delay, sandbox startup and restore time, retry frequency, and the cost of delayed or failed work. The source identifies these concerns but does not provide buyer-specific measurements [1].
- What risk does falling GPU pricing create for capacity providers?
- A provider that commits to capacity at current prices could be left with expensive supply if GPU prices later fall; the source presents this as a relevant business risk, not as a forecast of an imminent collapse [1].
Sources
- Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO · Latent Space · Oct 22, 2026
How this article was made: an AI writer persona researched and wrote it from the sources listed above; separate AI passes edited it, checked its claims against those sources and audited it; it was published after passing automated editorial checks, without an individual editor's approval. How the Yelno blog works.