AI fundamentals

Throughput

AI-assisted editorial review:

Throughput is a performance metric for AI model serving: how much work an LLM service completes per unit of time. It is usually measured as output tokens per second (TPS) across all simultaneous requests, or as completed requests per second (RPS).[1] It is reported alongside latency, which measures how long a single request waits.[1][5]

What does Throughput mean in simple terms?

Throughput is how many tokens (pieces of text) an LLM (large language model) service produces each second in total. Two numbers are often confused here: how fast one user gets an answer, and how much the whole system produces for all users at once. NVIDIA's benchmarking guide separates them as "TPS per user" and "total TPS per system". As more requests run at the same time, total throughput can rise until the GPUs are saturated, while each user’s speed may drop.[1] The same model can deliver very different throughput depending on the serving software and hardware.[2][3] For bulk jobs such as summarizing a large batch of support logs, throughput is usually the first number an operations team checks.

How can Throughput be explained with an analogy?

Throughput is the total number of reports a print shop turns out in a day, not how fast any single report comes off the press.

Where is Throughput used?

Case 1

vLLM — Less memory waste, more throughput

UC Berkeley researchers found that existing LLM serving systems wasted 60–80% of the KV cache memory (the memory that holds attention keys and values for each request) through fragmentation and over-reservation. Their PagedAttention method, inspired by virtual memory paging in operating systems, cut that waste to under 4%, so more requests fit into each batch.[3] In the SOSP 2023 paper, vLLM improved throughput by 2–4x at the same level of latency compared with FasterTransformer and Orca.[2] In the team's launch tests on ShareGPT-based workloads, vLLM delivered up to 24x the throughput of Hugging Face Transformers and up to 3.5x that of Hugging Face TGI.[3]
Result: 2–4x throughput at the same latency vs FasterTransformer and Orca (SOSP 2023 paper).[2]

Case 2

Cerebras and Groq — Specialized chips and per-user speed

Cerebras reported that its wafer-scale system ran Llama 3.1 405B at 969 output tokens per second on a 1,000-token prompt, and that it had pushed Llama 3.1 8B and 70B above 2,000 tokens per second in 2024.[7] In February 2024, Groq’s post reported that Artificial Analysis measured Groq's LPU (Language Processing Unit) serving Llama 2 Chat 70B at 241 tokens per second, more than double other hosting providers in that benchmark.[6] Note that these figures are output speed for a single request (closer to "TPS per user"), not the total throughput of a whole system serving many users.[1][6]
Result: Llama 3.1 405B at 969 output tokens/s on Cerebras (company figure, November 2024).[7]

Case 3

Kakao Brain KoGPT — More requests on the same hardware

Kakao Brain built KoGPT, a Korean GPT-3-based language model, and first served it on a Hugging Face implementation. Slow inference meant more servers and higher operating costs. After adopting NVIDIA FasterTransformer, which uses layer fusion, K/V caching and lower-precision formats such as FP16, inference on one NVIDIA V100 GPU became about 4x faster, and more than 11x faster on four V100 GPUs with tensor and pipeline parallelism.[8] By serving more requests on the same hardware, the team improved total cost of ownership by more than 15%.[8]
Result: Total cost of ownership improved by more than 15% (Kakao Brain, as reported on NVIDIA's technical blog, 2023).[8]

Try it today

  1. From a week of logs for the LLM API or server you use, divide total output tokens and completed requests by the elapsed wall-clock time of a clearly defined measurement window. Keep aggregate throughput separate from per-request token speed.[1]
  2. Classify each workload as interactive chat (low latency first) or batch processing (high throughput first), and set a target for each.
  3. If you host models yourself, test a separate staging deployment on an open-source serving engine such as vLLM and measure throughput on the same GPU.[2][3]
  4. Change the number of concurrent requests or the batch size (for example 1, 8 and 32) and record throughput and P95 latency together in a trade-off table.[1][5]
  5. Once a quarter, check public benchmarks such as Artificial Analysis and MLPerf Inference to see whether another provider or setup would serve you better.

Limits and direction

Throughput is not a single fixed number for a model. It depends on the GPU, model size, numeric precision, batch size and input/output lengths, and tools define the metrics differently, so compare results only when the definitions and conditions match.[1] Looking at throughput without latency mixes up two different goals: a chat experience where one user wants a fast answer, and batch work that needs as many tokens per second as possible.[1][5]

Serving has an asymmetry. The prefill phase processes the whole prompt at once and keeps the GPU busy but takes longer per step; the decode phase generates one token per request at a time, so with small batches the GPU sits partly idle. Batching more requests raises throughput but can make latency worse.[5] Memory is also a ceiling: the vLLM paper shows that KV cache waste limits batch size and therefore throughput.[2]

The field has moved along several paths. On the software side, Orca introduced iteration-level scheduling, which lets finished requests leave a batch and new ones join between steps, and reported 36.9x the throughput of FasterTransformer on GPT-3 175B at the same latency.[4] vLLM's PagedAttention and Sarathi-Serve's chunked prefills followed, the latter reporting up to 2.6x–5.6x higher serving capacity than vLLM under latency constraints in its tests.[2][5] On the hardware side, specialized inference chips from companies such as Cerebras and Groq compete on output speed.[6][7] Lower-precision formats and kernel optimizations have also helped real services, as the KoGPT case shows.[8]

Which concepts are related to Throughput?

  • Related concept
    LatencyLatency measures how long one request waits; throughput measures how much the whole system completes. The two usually have to be balanced.[1][5]
  • Related concept
    SWE-benchA benchmark of model capability (solving software issues), whereas throughput measures serving performance.
  • Related concept
    BenchmarkThroughput is one of the metrics that serving benchmarks report, and results are comparable only under the same conditions.[1]

Which sources explain Throughput?

  1. NVIDIA NIM Benchmarking Documentation — Metrics (v2.0.0, 2026) — https://docs.nvidia.com/nim/benchmarking/llm/metrics
  2. arXiv — Kwon et al., Efficient Memory Management for Large Language Model Serving with PagedAttention (SOSP 2023) (2023-09-12) — https://arxiv.org/abs/2309.06180
  3. vLLM Blog — vLLM: Easy, Fast, and Cheap LLM Serving with PagedAttention (2023-06-20) — https://vllm.ai/blog/2023-06-20-vllm
  4. USENIX — Yu et al., Orca: A Distributed Serving System for Transformer-Based Generative Models (OSDI 2022) (2022-07) — https://www.usenix.org/conference/osdi22/presentation/yu
  5. arXiv — Agrawal et al., Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve (OSDI 2024) (2024-03-04) — https://arxiv.org/abs/2403.02310
  6. Groq — Groq LPU Tops Latency & Throughput in Benchmark (2024-02-08) — https://groq.com/blog/artificialanalysis-ai-llm-benchmark-doubles-axis-to-fit-new-groq-lpu-inference-engine-performance-results
  7. Cerebras — Llama 3.1 405B now runs at 969 tokens/s on Cerebras Inference (2024-11-18) — https://www.cerebras.ai/blog/llama-405b-inference
  8. NVIDIA Technical Blog — Increasing Inference Acceleration of KoGPT with NVIDIA FasterTransformer (2023-04-25) — https://developer.nvidia.com/blog/increasing-inference-acceleration-of-kogpt-with-fastertransformer/