Research-first AI inference comparisons How we evaluate
✳ ENGINEERING

TTFT vs. tokens per second: a measurement primer

A practical field guide for evaluating inference infrastructure.

Know what inference latency metrics mean and what they leave out.

Time to first token is only part of the experience

TTFT measures how quickly a streamed response begins. It matters in interactive applications, but it does not tell you how long the full response takes.

Generation throughput is a different measure

Output tokens per second describes generation speed after response begins. For long answers or code generation, completion time may matter more than an isolated TTFT result.

Percentiles beat simple averages

Averages mask tail latency. Measure at least p50, p95 and p99 at realistic concurrency, and report timeouts and failed responses separately.

Control for cache and prompt shape

Context length, prompt repetition, networking and warm-up can change outcomes. Never compare vendor benchmarks using different prompts as though they were standardized.

Recommended benchmark record

Record model ID, API region, tested date, concurrency, total requests, prompt/token distributions, caching conditions, reported percentile values and how failed responses are counted.

IMPORTANT LIMITATION

Verify on your workload

This article describes an evaluation framework, not an independently reproduced vendor ranking. Validate commercial terms and measured performance directly before choosing a provider.

Continue exploringCompare providers ↗Our method ↗