Serverless GPU platforms: when they save money and when they cost more
How serverless GPU platforms bill and scale, the cost crossover against an always-on GPU, cold starts and how to shorten them, keeping weights close, concurrency settings, and a decision checklist, with a runnable cost model.
By Sandip Maity, Applied AI Engineer
Serverless GPU platforms run your container on a GPU when requests arrive and stop it when they do not, billing per second. For spiky or low-volume inference this can cost a fraction of an always-on GPU. For steady traffic it costs more, and every scale-up from zero adds a cold start. This lesson puts numbers on both.
#How they bill and scale
- You package an inference server (vLLM, llama.cpp, a custom handler) as a container or function.
- The platform starts containers on demand, routes requests to them, and stops them after an idle window.
- You pay per second while a container is up, usually at a higher hourly rate than a reserved or on-demand GPU, sometimes with a separate charge for memory or storage.
- Settings you control: GPU type, minimum and maximum containers, idle timeout, and requests per container.
Pro content
Keep reading with Inference Academy Pro
Unlock the rest of this lesson, plus every advanced lesson, hands-on lab, the larger playground models and completion certificates.
Still to come in this lesson
- A cost model
- Cold starts
- Concurrency per container
- Other things to check
- Decision checklist
- Exercises
You will be able to answer
- Traffic is a few hundred requests spread unevenly over the day. Which is usually cheaper?
- In the cost model, above roughly what GPU utilisation does a dedicated GPU become cheaper?
- What makes up most of an LLM cold start?
- How can you avoid cold starts for latency-sensitive traffic on a serverless platform?
- Why do per-container concurrency settings matter for LLM serving on serverless platforms?
Articles that build on this lesson