Why capacity-plan an LLM service in tokens per second, not requests per second
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Your team sizes an LLM serving cluster by peak requests per second. Explain why tokens per second is the better unit and what requests/sec hides.
GPU work scales with tokens processed and generated, not with the count of requests — so capacity, autoscaling, and cost must be planned in tokens/sec.
Imagine a restaurant kitchen sizing its staff by counting customers walking in. But one customer orders a glass of water and another orders a ten-course banquet. Counting heads tells you nothing about how hard the kitchen has to work. What actually matters is the number of dishes being cooked per minute. For an LLM service, the 'dishes' are tokens — the chunks of text it reads and writes. So you plan capacity by tokens per second, because that's what the GPUs are actually cooking.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Take 6-8 minutes to lock in the tokens versus requests distinction and the prefill-decode split so you can size any LLM cluster in an interview without reaching for request counts.
| Aspect | Requests/sec | Tokens/sec |
|---|---|---|
| Tracks GPU work? | No — a request can be tiny or huge | Yes — maps to actual compute |
| Handles load variance | Hides it by averaging | Exposes it directly |
| Useful for autoscaling | Misleading triggers | Accurate triggers |
| Granularity | One bucket per call | Splits into prefill and decode |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Sizing a cluster by peak requests/sec, which treats a 30-token reply and a 5,000-token document summary as identical load.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.