Throughput
Throughput is the total amount of work an AI serving system completes in a given time, usually measured in output tokens or requests per second across all users at once.
Speed in AI serving has two meanings that are easy to confuse. Latency is how long one user waits. Throughput is how much the whole system gets done. NVIDIA's benchmarking documentation defines system throughput as total output tokens across all simultaneous requests divided by the time taken, and also tracks requests completed per second. A server that answers one person very quickly but handles few people at once has low latency and low throughput.
The two pull against each other. Language model servers get their efficiency from batching: processing many users' requests together so that each trip of the model's weights out of memory serves many tokens instead of one. NVIDIA's documentation describes the pattern: as more requests run concurrently, total tokens per second climb until the GPUs are saturated, while each individual user's speed falls as latency rises. Push concurrency too far and even total throughput can drop.
Memory is usually what caps it. Each active conversation needs a key-value cache that grows as the text gets longer, and running out of memory limits how many requests can share a batch. In September 2023 Woosuk Kwon and colleagues introduced PagedAttention and the vLLM serving system, which manage that cache in small pages, much as an operating system manages memory. They reported 2 to 4 times higher throughput than earlier systems such as FasterTransformer and Orca at the same latency.
Throughput largely determines the cost of serving a model. A provider pays for GPUs by the hour, so the more tokens each GPU produces per hour, the cheaper each token is. That is why advances in serving software, quantization and chips that raise throughput translate directly into a lower cost per token.
When reading throughput claims, check what was measured. Total tokens per second for a whole server at heavy load and speed for a single user are different numbers, often by orders of magnitude, and NVIDIA's documentation warns that different tools define these metrics differently, so figures should only be compared when the definitions match.
It is the total output a serving system produces per unit of time, usually tokens per second or requests per second, summed across all users being served at once. It measures capacity, not how fast any one user gets an answer. Latency is the time one request takes, from the user's point of view. Throughput is how much work the whole system completes per second. Serving more users at once usually raises throughput but increases each user's latency, so operators have to balance the two. Mainly by batching more requests together on each GPU, managing key-value cache memory efficiently so more requests fit, and reducing the memory each model needs through techniques such as quantization. Faster chips and better serving software both contribute. Providers pay for hardware by the hour, so the number of tokens each GPU produces per hour sets the cost of each token. Higher throughput means lower cost per token, which gives providers room to cut prices.Common questions
What is throughput in LLM inference?
What is the difference between throughput and latency?
How is LLM throughput increased?
Why does throughput matter for AI prices?
Search for "LLM inference throughput", "throughput vs latency" or "continuous batching" to understand how serving systems are tuned. Benchmark documentation from hardware vendors and open-source serving projects explains the metrics, and research papers on arXiv describe the techniques. Treat vendor throughput figures as best-case numbers for the configurations they chose.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.