In benchmarks, tokens per second measures what exactly?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
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.
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.
What an interviewer would ask next. Try answering before peeking at the approach.
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.