AI Dojo Open on the typewriterThe typewriter

Explainer

Time to first token

2 min read
Assumes: you know what a token is.
First published 19 November 2026. Last edited 19 November 2026.

The wait from sending a request to receiving the first piece of the reply, measured apart from how fast the rest arrives.

Time to first token, or TTFT, is the number to check when a reply is slow to start. It usually covers three waits: time in a queue while the server is busy, the network trip, and prefill, when the model reads the whole prompt. NVIDIA's benchmarking guide lists the same three. A long document in the prompt makes prefill longer, so the start comes later.

After the first token comes decode, which writes the rest one token at a time. Its speed has its own names:

  • Time per output token (TPOT). The average gap between tokens after the first.
  • Inter-token latency. The gap between pieces as they stream in. Some tools treat it as the same number as TPOT.
  • Tokens per second. Output tokens delivered each second, for one user or summed across a server.
  • End-to-end latency. From sending the request to the last token: TTFT plus the time spent streaming.

Reasoning models change what “first token” means. They write hidden reasoning tokens before the answer, so the first token may never reach the screen and the first visible word can come much later. OpenAI's reasoning guide says these tokens are not visible but are billed as output. When you compare models, say which first token you timed.

Going deeper

Tools differ in the details. NVIDIA's tool treats inter-token latency as another name for TPOT, while vLLM's metrics time each streamed chunk, which differs from TPOT when a chunk holds several tokens, as with speculative decoding. Compare two numbers only when they start and stop at the same events. OpenAI suggests asking a reasoning model for a short preamble to get a faster “time to first visible token”.

In the long read: How long until it starts? Then try Diagnose a slow answer.