Skip to content
TheAgent Ecosystem
Models & Cost

Serverless vs Dedicated GPU: The Inference Cost Breakeven

One formula, one measured number. Dedicated wins above 1 divided by the rate ratio, and cold starts decide the rest.

Muhammad Qasim HammadAI-assisted7 min read1,376 words

AI-drafted, reviewed by Muhammad Qasim Hammad on October 5, 2026. See our AI disclosure.

Serving economics: Serverless vs Dedicated
Table of contents
  1. What actually decides which one is cheaper?
  2. Why is idle time so much larger than people expect?
  3. What does a cold start actually cost you?
  4. Which workloads suit which option?
  5. How do you work out your own crossover?
  6. When is this the wrong question entirely?

Choosing between serverless GPU vs dedicated GPU inference cost is not a preference, it is arithmetic with one unknown. The unknown is your duty cycle, and almost nobody measures it before signing for a month of reserved capacity. Get that number and the decision makes itself, usually against whichever option you were already leaning toward.

What actually decides which one is cheaper?#

Utilization, meaning the fraction of wall clock time your GPU is genuinely computing. Dedicated capacity charges for every second you hold the card. Serverless charges only for seconds of work but at a higher rate per second. Above some duty cycle the always-on card wins, and below it you are paying rent on idle silicon.

The formula is short enough to do in your head. Let k be the serverless rate divided by the dedicated rate for the same class of card, per unit of compute time. Dedicated becomes cheaper once your utilization exceeds 1 divided by k. If serverless costs twice as much per second, the crossover sits at 50 percent utilization.

Two things make that more useful than a benchmark someone else ran. It uses your provider's current rates rather than a table that goes stale, and it forces you to state a utilization figure out loud, which is where most of the disagreement actually lives.

Comparison of serverless and dedicated GPU inference across what is billed, idle cost, cold start exposure and the workloads each suitsThe first row explains every other row. One bills for work done, the other for capacity held.

Measure utilization rather than estimating it. The intuition is reliably wrong because people think in requests per day and the card thinks in seconds of occupancy. A service handling 5,000 requests a day at 200ms each is busy for under 17 minutes in 24 hours, which is roughly 1 percent.

Why is idle time so much larger than people expect?#

Because traffic is bursty and GPUs are not shared the way web servers are. A card serving a business-hours product is doing nothing for two thirds of the day before you count weekends, and it is doing nothing between requests during the busy hours too. Reserved capacity charges for all of it.

Batching changes this and is worth doing regardless of which option you pick. Serving several requests concurrently raises occupancy without adding cards, so the same hardware absorbs more traffic and the utilization figure in the formula moves in your favour. It also makes dedicated capacity look better, since you are filling what you already rent.

Bar chart of modeled serverless cost at five utilization levels relative to a dedicated card held for the whole monthModeled at k equal to 2, so the crossover sits at 50 percent. Recompute with your own provider's k.

The pattern that catches teams is growth. A workload at 8 percent utilization is obviously serverless, and the same workload at 55 percent after a good quarter is obviously not, and nobody re-runs the calculation because the first answer felt settled. Put a date on it.

What does a cold start actually cost you?#

Tens of seconds, and it is the real price of scale to zero. A cold serverless GPU has to schedule a container, initialise the framework, pull multi-gigabyte weights into memory and warm up CUDA graphs. Reported figures for that sequence run from about 30 to 60 seconds, with production setups exceeding 40 seconds to a first token.

The components are worth seeing separately because they respond to different fixes. Weight loading is bandwidth bound, graph capture is compute bound, and container scheduling is queue bound. Only the first is helped by a faster disk, which is where most optimisation effort goes by default.

Cold start stageReported timeWhat it depends on
Pull weights from blob storage26s for a 130GB checkpoint at 5GB/sNetwork bandwidth
Load a 70B model onto 8 GPUsAbout 84 secondsInterconnect and memory
CUDA graph capture10 to 30 secondsModel complexity
First-run kernel compilation30 to 120 secondsCompiler, first run only
Steady state, once warmAbout 30ms per tokenModel and batch size

Set against those figures, a 40 second first token is not an edge case, it is the expected behaviour of a genuinely cold card. Systems that keep a warm pool or use tiered checkpoint loading report large reductions, but a warm pool is dedicated capacity wearing a serverless label, and it should be costed as such.

Which workloads suit which option?#

Batch and spiky interactive work suit serverless; steady interactive work suits dedicated. If a job runs nightly for 40 minutes, paying for 24 hours of card is indefensible. If a product answers users continuously through the working day, cold starts are a user-visible defect and reserved capacity is the cheaper way to avoid them.

Latency tolerance is the second axis and it often overrules cost. A voice interface cannot absorb 40 seconds under any billing model, so the choice collapses to dedicated or to a warm pool that costs like dedicated. An overnight document pipeline can absorb minutes without anyone noticing, which makes scale to zero close to free.

Checklist of six costs that do not appear in a GPU hourly rate, including warm pools, storage egress and engineering timeEvery item here has moved a real decision. None of them appear on the page you compared rates on.

The hybrid is legitimate and under-used. Hold a small dedicated floor for the traffic you always have, and let serverless absorb the peaks above it. That prices the predictable part at the cheaper rate and the unpredictable part at the flexible one, which is what both billing models are actually good at.

How do you work out your own crossover?#

Pull 4 weeks of request logs, multiply the request count by mean compute seconds, and divide by the seconds in the period. That is your utilization. Then take the ratio of the two rates your provider quotes, invert it, and compare. Two numbers, 10 minutes, and the answer holds until your traffic shape changes.

Four step calculation covering measuring occupancy, computing the rate ratio, comparing against the crossover and testing the latency budgetTwo numbers decide it. The rest of the argument is usually about which number nobody measured.

Include queueing in the compute seconds if requests wait. A card that is occupied but stalled is still rented, and a workload that looks like 30 percent utilization on paper can be considerably higher in practice once concurrency limits and retries are counted. Concurrency and rate limits shape this more than model choice does.

When is this the wrong question entirely?#

When a hosted API would serve the workload at less than either option. Self-hosting earns its keep on volume, on data residency, or on a model nobody hosts for you, and at low volume it usually loses to a metered endpoint by a wide margin once engineering time is counted.

Decision flowchart for serverless or dedicated GPU serving, testing whether a hosted API suffices, cold start tolerance, and utilization against the crossoverThe hosted API question comes first and removes this decision more often than people expect.

The honest sequence is to check the hosted option first, then compare serverless against dedicated only if self-hosting already made sense for a reason other than price. Working out the self-hosting breakeven answers that prior question, and it eliminates this one more often than people expect.

Frequently asked questions

How do I calculate the serverless versus dedicated GPU breakeven?
Divide the serverless rate by the dedicated rate for the same class of card to get a ratio k, then invert it. Dedicated is cheaper once your utilization exceeds 1 divided by k, so a serverless rate twice the dedicated rate puts the crossover at 50 percent utilization. Get utilization by multiplying your request count by mean compute seconds and dividing by the seconds in the period.
Why is my GPU utilization lower than I expected?
Because request counts feel large while GPU occupancy is measured in seconds. Five thousand requests a day at 200 milliseconds each occupy the card for under 17 minutes out of 1,440, which is about 1 percent. Traffic is also bursty, so a business hours product idles through two thirds of every day before weekends are counted.
How long is a serverless GPU cold start?
Reported figures run from about 30 to 60 seconds for the full sequence of scheduling a container, initialising the framework, loading weights and warming CUDA graphs, and production serverless setups have reported over 40 seconds to a first token. Individual stages vary: a 130GB checkpoint pulled at 5GB per second takes at least 26 seconds, and CUDA graph capture adds 10 to 30 seconds.
Can I avoid cold starts and still pay serverless rates?
Not really. Keeping a warm pool removes the cold start by holding capacity ready, which is dedicated capacity under a different name and should be costed that way. Tiered checkpoint loading and faster storage genuinely reduce the weight loading stage, but they do not remove container scheduling or graph warmup.
Should I mix both models?
Often yes, and it is under-used. Hold a small dedicated floor sized to the traffic you always have, and let serverless absorb peaks above it. The predictable part gets the cheaper rate and the unpredictable part gets the flexible one, which is what each billing model is actually good at.

Sources

Primary references and vendor documentation used while drafting and reviewing this article.

  1. Breaking the Ice: Analyzing Cold Start Latency in vLLM
  2. Enabling Efficient Serverless Inference Serving for LLM in the Cloud

Written by

Muhammad Qasim Hammad
Muhammad Qasim Hammad
AI agents & automationFounder · Cart Gaze LLCPMP-certified PM

Muhammad Qasim Hammad is an AI agent and automation expert and the founder of Cart Gaze LLC (cartgaze.com). He builds product for the love of it: when an idea lands, a working prototype is usually running within hours, built with the same AI agents and automations he sells. He puts his own output at roughly 20× what it was before agents, and the Agentic OS behind this site is the working proof, documented in public with the tools he actually ran and what they really cost.

AI & Automation Services

Want a pipeline like this running in your business?

I'm Qasim — I design and ship AI agents and n8n automations for solo operators and small teams. Tell me what's eating your team's week, and I'll scope a fix.

Related reading