Jargonautica
Cost, Speed and Service Levels

Latency, Throughput and Time to First Token

Also called: Latency, Throughput, Time to First Token, TTFT

The three numbers that decide whether something feels usable. Time to first token is how long before anything appears, which is what users perceive as speed. Latency is how long the whole response takes. Throughput is how many requests the system can handle at once. They pull against each other, and optimising the wrong one produces a system that benchmarks well and feels sluggish.

Technical view

Time to first token is dominated by prompt processing, so it scales with input length and is the main beneficiary of prefix caching. Inter-token latency governs the rest and is memory-bandwidth-bound. Throughput improves with batching, which increases individual latency, so serving configuration is an explicit trade between the two. Percentiles matter more than averages, since tail latency drives perceived reliability, and any agentic design multiplies all of it by the number of sequential model calls.


Part of AI Terminology Index, section: Cost, Speed and Service Levels.

How it connects

Latency, Throughput and Time to First Token links to 15 other terms, and the 12 closest are drawn here. The faint lines are links between those terms. See it in the full graph.

InferenceInferenceCachingCachingContinuous BatchingContinuous BatchingSpeculative DecodingSpeculative DecodingTokens Per SecondTokens Per SecondPaged AttentionPaged AttentionStreamingStreamingService Level ObjectiveService Level Objec…Prefill and DecodePrefill and DecodeLoad TestingLoad TestingThinking BudgetThinking BudgetField-programmable Gate ArrayField-programmable …Latency, Throughput and Time to First Token