Time to first token (TTFT)

Time to first token is how long a user waits between sending a request to an AI model and receiving the first piece of its response.

Chatbots stream their answers word by word, so the delay a user notices most is the pause before anything appears. Time to first token, or TTFT, measures exactly that. NVIDIA's benchmarking documentation defines it as the time from submitting a query to receiving the first token of a non-empty response, and notes that it generally includes time spent waiting in a queue, the prefill step and network latency.

The prefill step is the main variable. Before generating anything, the model has to process the entire prompt, so TTFT grows with the length of the input. A short question may get a first token in a fraction of a second; a request carrying a 100,000-token document takes far longer. Anthropic's measurements for prompt caching show the scale: chatting with a book held in a 100,000-token prompt took 11.5 seconds to the first token without caching and 2.4 seconds with it.

TTFT is one half of the user's experience. The other is how fast tokens arrive once they start, measured as tokens per second or as inter-token latency. The total time for a response is roughly TTFT plus the time to generate the rest. A model can be quick to start and slow to finish, or the reverse, and different uses care about different halves: a voice assistant needs a fast start, while a batch job summarising thousands of documents cares only about the total.

Reasoning models complicate the number. They spend time thinking before writing the answer, so the first token produced may be hidden reasoning. The independent benchmarker Artificial Analysis therefore reports TTFT at the first reasoning token and a separate time to first answer token, which includes the thinking time and allows fair comparison with models that answer directly.

For product builders, TTFT is the figure that most shapes whether an AI feature feels responsive. Keeping prompts short, putting repeated material where it can be cached and choosing models and regions with less queuing all reduce it.

Common questions

What is time to first token (TTFT)?

It is the delay between sending a request to a language model and receiving the first token of its reply. It covers queuing, the model's processing of the prompt and network time, and it is the main measure of how responsive an AI product feels.

Why is my time to first token so high?

The usual causes are a long prompt, which the model must fully process before it can start writing, a busy server where the request waits in a queue, or a reasoning model that thinks before answering. Prompt caching can cut TTFT sharply when much of the prompt repeats between requests.

What is the difference between TTFT and tokens per second?

TTFT measures how long it takes for a response to start. Tokens per second measures how fast the rest of it arrives. Together they determine the total response time, which is roughly TTFT plus the number of output tokens divided by the generation speed.

How is TTFT measured for reasoning models?

It depends on who is measuring. Artificial Analysis records TTFT at the first reasoning token and separately reports time to first answer token, which includes thinking time. Comparing reasoning and non-reasoning models fairly requires the second figure.

Finding more

Search for "time to first token", "TTFT LLM" or "LLM latency metrics" to learn how response speed is measured. Benchmarking documentation from hardware vendors and independent benchmarking sites that publish their methods are the most reliable guides. TTFT varies with prompt length, load and region, so compare figures only when those conditions match.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.