Skip to content
AI & Machine Learning

Time to First Token (TTFT)

Definition

Time to first token is how long a user waits between sending a request to a language model and seeing the first word of the reply. With streaming, it shapes how fast an AI feature feels more than the total time to finish the answer.

See the difference

0.0 s

Waits for the full reply

First word at 4.5 s

Streams as it is written

First word at 0.5 s

Both replies finish at the same moment, but the streamed one feels far faster because something useful appears almost at once. Long system prompts, retrieval and reasoning all happen before the first word, so they push time to first token up even when the reply itself is short.

Worked example