At a glance
- Throughput counts work done; goodput counts work done inside the latency SLO.
- Batching raises throughput and can lower goodput once queues exceed the target.
- Plan capacity on goodput at the SLO, not on peak tokens per second.
- Report TTFT and TPOT separately; one SLO number hides which one is failing.
Every serving dashboard reports tokens per second, and every serving team can quote a peak number. What those numbers do not say is whether the service kept its latency promise while producing them. A fleet can be extremely busy and still fail most requests that had a deadline.
Goodput is the honest version of the metric: the rate of work that completed within the target. It is the number capacity planning should use, and the number a token service should publish.
Two stages, two targets
Language model requests have two latency stages. Time to first token (TTFT) is dominated by prefill and queueing. Inter-token latency, sometimes called time per output token (TPOT), is dominated by decode and batching. They fail for different reasons and should carry separate targets.
| Stage | Dominated by | Typical failure |
|---|---|---|
| TTFT | Prefill compute, queue depth | Long prompts, bursty arrivals |
| TPOT | Decode batching, memory bandwidth | Large concurrent batches, long outputs |
A single "requests per second at p95" figure blends these and hides which stage broke. Report both, and compute goodput as the share of requests meeting both targets.
Why batching moves the two in opposite directions
Continuous batching improves hardware utilization by combining decode steps across requests. That raises throughput. It also increases the number of requests competing for each step, which slows each request's inter-token latency and, at high concurrency, its first-token latency as queues form.
The result is a goodput curve that rises, flattens, and then falls as load grows. Past the peak, extra load produces more tokens and fewer satisfactory requests. For the batching mechanics, see Continuous Batching, Explained.
Measure goodput where the customer measures it
Goodput should be computed from request completion timestamps as the client sees them, not from server-side counters. Queue time inside a gateway is part of the customer's experience even if it never reaches the model. Depending on the deployment, network and transfer time can matter too; for separated prefill and decode, see KV Cache Transfer in Disaggregated Serving.
Report goodput per workload and per model, because the mix of prompt and output lengths determines where the curve peaks. A fleet tuned for summarization will have a different peak than one tuned for chat.
Capacity planning on goodput
Plan for the load at which goodput still meets the target, with headroom for variance. The headroom number should come from the arrival distribution, not from a rule of thumb. Bursty traffic needs more spare capacity than the same average load delivered smoothly.
When evaluating a provider or a new configuration, ask for the goodput curve rather than a single peak. A provider that reports only tokens per second is telling you about its hardware, not about its service. The procurement implications are in How to Evaluate an AI Token Provider.
What we watch
- Whether TTFT and TPOT targets are stated separately with percentiles.
- Whether goodput is measured end to end rather than at the server.
- Whether batch tuning is validated against the goodput curve.
- Whether capacity headroom is derived from arrival variance.
Throughput tells you what the fleet can do. Goodput tells you what the service delivered. For a product with a latency promise, only the second one is a number you can put in a contract — and the first one, quoted alone, is how busy fleets end up with unhappy users.
Questions buyers ask
What is goodput in LLM serving?
Goodput is the rate of requests, or tokens, that complete within the latency target. A fleet can process a high volume of tokens per second while a large share of requests miss their time-to-first-token or inter-token targets, in which case goodput is low even though throughput looks strong.
Does continuous batching always improve goodput?
No. Continuous batching raises throughput by keeping the hardware busy, but larger concurrent batches lengthen queues and slow individual requests. Goodput peaks at a batch size where throughput gains stop compensating for latency misses.
How should an SLO be written for a token service?
Separate the two stages. State a target for time to first token and a separate target for inter-token latency, each with a percentile and a measurement window. A single requests-per-second figure does not describe the experience.