What is inter-token latency?

Inter-token latency is the time between two consecutive tokens a language model produces in the decode phase while generating an answer; it is what users feel as the flow speed of text in a streamed answer.

Unlike time to first token, which runs from the request to the first token and includes prompt processing, it measures each later step. Tokens per second for one request is roughly its inverse; calculation: 25 milliseconds inter-token latency gives 1 / 0.025 = 40 tokens per second.

Topic
Inference and performance
Also known as
ITL

How inter-token latency works

  1. Each generated token's time is logged; the difference between consecutive times gives inter-token latency.
  2. Beside the average, percentiles such as the slowest one per cent are tracked, since occasional long pauses look like stutter to users.
  3. It depends on model size, GPU memory bandwidth, quantisation and how many requests are batched together.
  4. A long prompt's prefill running on the same GPU can briefly raise other requests' inter-token latency.

In more detail

KV cache length and active parameters in mixture of experts

Autoregressive decoding is memory-bandwidth bound: at every generated token, the GPU must read the model's active weights and the entire KV cache for the sequence so far. Consequently, ITL degrades as context length grows (larger KV cache reads), whereas Sparse/MoE models (e.g. a 100B+ total parameter model with only 10 to 25B active parameters per token) achieve much lower ITL than dense models of the same total size.

ITL under speculative decoding and multi-token prediction

With speculative decoding or Multi-Token Prediction (MTP), a single verification step can emit multiple accepted tokens at once. This causes token bursts with near-zero intervals followed by a slightly longer step gap, lowering average TPOT while making raw step-by-step ITL distributions bimodal.

User perception and ITL in agent and reasoning models

A stream faster than reading speed usually feels comfortable in interactive chat, whereas very low ITL mainly benefits latency-sensitive voice pipelines, real-time code completion or long reasoning/agentic chains where the user waits for the full answer before acting.

Commonly confused terms

TermHow it differs
Time per output token (TPOT)TPOT is the per-request average time per output token ((end time - first token time) / (N - 1)), which smooths over mid-generation pauses, whereas ITL captures every individual step gap between consecutive tokens so P99 ITL exposes user-visible stutter.
End-to-end latencyE2EL is the total wall-clock time from request submission until the entire response finishes (TTFT + total decode time), whereas ITL governs streaming smoothness and reading pace while the response is being generated.

Why inter-token latency matters for on-premises AI

In in-house assistants user satisfaction often depends on text flowing at a readable pace without stutter, so inter-token latency is targeted in capacity planning alongside time to first token. Batching raises throughput as concurrency grows but can lengthen each request's inter-token latency; load tests find the balance. Methods such as chunked prefill and disaggregated serving reduce stalls caused by long prompts.

ON-PREMISES EXAMPLE

A bank requires the 99th percentile of inter-token latency in its internal analysis assistant to stay under a threshold at peak; when load tests breach it, it lowers the batching limit and enables chunked prefill.

Common questions

How does inter-token latency differ from time to first token?

Time to first token runs from the request's start until the first token arrives. Inter-token latency is the time between consecutive tokens after that.

Why is inter-token latency tracked by percentiles?

An average can look fine while occasional long pauses appear to users as stutter. The slowest percentiles reveal them.

Sources

In the glossary: Glossary, D to L

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.