What is AI throughput?
Throughput is the number of requests a system completes or tokens it generates per unit of time; it shows total system capacity, not one user's speed.
It differs from latency in what it measures: latency is one request's response time, while throughput is the total across all requests served at once. Servers can raise total throughput by batching many users together, but the gain depends on load, request length and hardware.
- Topic
- Inference and performance
- Also known as
- Throughput rate, processing rate
How AI throughput works
- The unit is chosen as requests, completed requests or tokens per second; the time window and request profile are stated in the report.
- Batching and continuous batching run several requests in the same GPU step, raising total throughput.
- GPU memory, KV cache management and compute power set the ceiling.
- Total throughput is per-user speed times users: 20 concurrent users at 30 tokens per second each means 600 tokens per second in total (20 × 30).
In more detail
Separating input (prefill) and output (decode) throughput
LLM serving has two distinct throughput profiles: input (prefill) throughput, which is compute-bound (FLOPs) and scales with prompt length and output (decode) throughput, which is memory-bandwidth-bound as weights and KV cache are read at each step.
The throughput-latency curve as batches grow
As batch size grows, total system throughput increases until compute saturates, but per-user generation speed drops and time-between-tokens lengthens. Capacity planners plot this throughput-latency Pareto curve to find the maximum concurrency that still respects user-experience SLOs.
Techniques that raise throughput: quantisation, chunked prefill and disaggregation
Modern serving engines boost achievable throughput using FP8/INT4 weight and KV-cache quantisation (reducing memory traffic), chunked prefill (preventing long prompts from stalling active decodes) and prefill-decode disaggregation across separate GPUs.
Commonly confused terms
| Term | How it differs |
|---|---|
| Goodput | Raw throughput counts all completed requests or tokens regardless of delay, whereas goodput counts only requests or tokens delivered within defined TTFT and ITL service-level objectives (SLOs). |
| Per-user generation speed | System-wide output throughput is the sum of tokens generated across the entire GPU/cluster per second, whereas per-user generation speed (decode speed / TPOT inverse) is what one individual reader sees on screen. |
Why AI throughput matters for on-premises AI
In in-house capacity planning throughput is judged together with the organisation's accepted latency ceiling, never alone; high throughput can hide slow answers. Goodput, which counts only requests meeting the latency target, is therefore more meaningful. Measurements use prompt and answer lengths that resemble real use; otherwise results mislead. Throughput is also the basis for deciding when more GPUs are needed (capacity planning).
A telecoms company tracks throughput and 95th percentile latency together on its in-house complaint classification system and decides when to add an inference server from that data.
Common questions
Why are throughput and latency measured together?
High throughput alone can still come with slow answers. Together the two show service level; capacity decisions rest on both.
Do vendor benchmark throughput figures apply to my organisation?
Not directly. Results depend on prompt and answer length, concurrency, model and settings; load tests are run with the organisation's own request profile.
Related terms
Sources
- Efficient Memory Management for Large Language Model Serving with PagedAttention, SOSP 2023
- DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving, OSDI 2024
Related page on this site: Related FAQ · In the glossary: Glossary, R to Z