Skip to content
LiveNext 07:11:26

Definition

What is Time to first token?

Time to first token is Time to first token (TTFT) is how long an AI model takes to return the first piece of its answer after you send a request, the delay you feel before it starts responding.

Time to first token, or TTFT, is the wait between sending a request to a language model and receiving the first token of its reply. It is the pause before the text starts to appear, or before a voice starts to speak.

What is inside the wait

TTFT is not one thing. Benchmark vendors such as NVIDIA describe it as including several steps: the request waiting in a queue, the model reading your whole prompt (the prefill step, covered in prefill and decode), and network travel time. Only after that does the model begin generating.

Think of a restaurant. TTFT is how long you wait until the first dish reaches your table. It says nothing about how fast the kitchen cooks the rest of the meal.

Why prompt length matters

Before it can produce anything, the model has to process your entire input and build its KV cache. A longer prompt, such as a big document or a long chat history, means more work before the first token. That is why the same model can feel instant on a short question and sluggish on a long one. Reusing work through prompt caching is one common way to shorten it.

TTFT versus speed after it starts

TTFT is separate from how fast text streams once it begins. That second measure is usually reported as tokens per second or as the gap between consecutive tokens. A model can have a quick first token and a slow stream, or the reverse. Total latency for a request is roughly TTFT plus the time to produce the rest of the answer.

Why it matters to you

For chat, a short TTFT makes an assistant feel responsive, because you see something happening right away. For a voice agent, it matters even more: the delay before the first sound is the awkward silence a caller notices. For background jobs that run for minutes, TTFT barely matters, and total completion time or throughput counts more.

A caution on comparing numbers

Providers and testing tools do not all measure TTFT the same way. Some count the first token of any kind, others only the first non-empty one, and results depend on prompt length, server load and where the test runs. Compare two TTFT figures only when the tool, prompt size and measurement point match. A vendor's own number, taken under ideal conditions, will usually be better than what you see in production.

Questions people ask

What is a good time to first token?

It depends on the use. For chat, under a second feels responsive. For voice, a few hundred milliseconds is the goal. Compare only numbers measured the same way.

What is the difference between TTFT and latency?

TTFT is the wait for the first token. Latency usually means the whole wait until the response is complete, or the delay in general.

Time to first token in the news

#03

OpenAI opens its Decisions API, and output is free

OpenAI put its Decisions API in public beta on October 6, with gpt-6-luna at $0.10 per million input tokens and no charge for output. If you classify, route or grade at volume through a chat model, this is the endpoint to price against.

#04

Microsoft fences in Windows agents as Nvidia PCs ship

Microsoft made its agent containment layer generally available on Windows 11 and opened preorders for Nvidia RTX Spark PCs, from $2,599.99 for the Surface Laptop Ultra. The laptop gets the headlines, but the fence around your agents is the bigger change.