What is Time to first token?
In Turkish: İlk token süresi (TTFT) · Topic: Hardware and infrastructure
The time between sending a request to a language model and the first piece of the answer appearing on screen. It shows how quickly the model starts to respond.
How does it work?
Language models write their answers one small chunk of text, called a token, at a time. Before the first token appears, the model has to read and process the entire prompt, a stage known as prefill. The longer the prompt, the longer this stage takes. After that, tokens start to stream. Time to first token covers network delay, waiting in the queue and prefill. In a chat window, it matches how long the 'thinking' indicator stays on.
Why does it matter?
For users, an answer starting feels faster than an answer finishing; if the first words arrive quickly, the wait feels short. That makes it a core metric for chatbots, voice assistants and interactive apps. Providers often report it together with tokens per second.
Example
For someone who uploads a long document and asks for a summary, time to first token can be noticeably longer than for a short question, because the document has to be read first.
FAQ
Is time to first token the same as latency?
They are close but not identical. Latency is the general concept, and time to first token is the specific delay until the first part of the answer. Sometimes the time to finish the whole answer is also called latency.
Why do long prompts delay the first token?
The model must process the entire prompt before it starts answering. The longer the input, the longer that preparation takes.