In benchmarks, tokens per second measures what exactly?
T/s is generated tokens per second, but it splits into two metrics: single-stream T/s (one request's decode rate, user-facing) and system T/s (aggregate across all in-flight requests, capacity-facing).
Picture a chef plating dishes. Single-stream T/s asks how many bites this one diner gets per second. System T/s asks how many bites the whole restaurant serves per second across every diner at once. With one diner, both numbers are the same. With sixty-four diners, the kitchen sends out hundreds of bites per second across the room, even though any one diner is still getting bites at roughly their normal pace, maybe a bit slower. So if a vendor brags '4,000 T/s on H100', they are probably counting the whole restaurant. If your chat reply feels slow at 30 T/s, you are measuring your one plate. Both are real; they just answer different questions, and you have to know which the benchmark is reporting.
Detailed answer & concept explanation~7 min readEverything 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. 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.
5 min: define T/s as tokens per wall-clock second, distinguish single-stream from system T/s, explain why batching makes them diverge, give H100 numbers for both at low and high batch sizes, and name one canonical benchmarking tool.
Real products, models, and research that use this idea.
- Groq's LPU architecture publishes single-stream T/s benchmarks like '300 T/s on Llama 3 70B', targeting per-request speed at the cost of aggregate throughput.
- vLLM and TGI on H100 publish system T/s benchmarks like '4,000 T/s on Llama 3 70B' at batch sizes of 128 in-flight requests.
- NVIDIA's genai-perf tool reports both single-stream T/s and system T/s as a function of concurrency level on the same plot.
- Together AI, Fireworks, and Anyscale leaderboards compare hosted Llama inference primarily on system T/s/GPU at standardized batch sizes.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy does single-stream T/s on a 70B model max out around 50 T/s on H100?
QHow does Groq's LPU achieve 300+ T/s single-stream when H100 maxes around 50?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Comparing one vendor's single-stream T/s to another's system T/s without normalizing. Both numbers are called 'T/s' and they are not the same thing.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.