Time to First Token (TTFT)
Also called: TTFT
What is Time to First Token (TTFT)?
In one sentence: Time to First Token is how long you wait between sending a request and seeing the first token of the answer.
It mostly depends on prefill time, network delay, and how busy the server is. Short TTFT makes an app feel responsive, even if the full answer takes longer.
Σ Quick math / rule of thumb: As a rough guide, under ~0.5 s feels instant in chat and over ~2 s feels slow. TTFT grows with prompt length—roughly linearly, and faster than linearly for very long prompts.
What does Time to First Token (TTFT) look like?
If a chatbot starts typing 0.4 seconds after you hit enter, its TTFT is 0.4 seconds.
Why does Time to First Token (TTFT) matter?
TTFT is one of the most important numbers for how fast AI feels.
Time to First Token (TTFT) vs. Time Per Output Token (TPOT)
TTFT is the pause before the first word appears on screen; TPOT is the pace between each streamed token after speaking begins.
| Dimension | Time to First Token (TTFT) | Time Per Output Token (TPOT) |
|---|---|---|
| What the user feels | Initial 'thinking' pause after hitting Enter | How smoothly and quickly text streams out |
| Driven mainly by | Prompt length, queueing, and prefill compute | Model weight size, batching, and VRAM bandwidth |
| Snappy target | < 300–500 ms for interactive chat | 15–35 ms/token (~30–65 tokens/sec) |
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/time-to-first-token-ttft/">Time to First Token (TTFT), explained simply</a> (The AI Math Dictionary)