What is time to first token (TTFT)?
Time to first token (TTFT) is the time between sending a request to a large language model and receiving the first token of the response. It measures how long a user waits before anything appears on screen or is spoken. With streaming output, TTFT is what the user feels as the delay.
TTFT is different from the time to get the complete answer. A model can start quickly and write slowly, or pause for seconds and then produce text fast. Both matter, but the wait before the first word shapes whether a system feels responsive, which is why TTFT is the headline latency metric for chat and voice.
Key takeaways
Definition: the delay from request sent to first output token received.
What it captures: network, queueing, and the time the model spends reading the prompt.
Why it matters: it sets perceived responsiveness, especially in voice.
Main levers: model choice, prompt length, caching, and what runs before the model is called.
How time to first token works
Several things happen between the request and the first token, and each adds time.
Network transit. The request travels to the provider’s data center and the first token travels back.
Queueing. The request waits for capacity, which grows under load.
Input processing. The model reads every input token before it can produce one. Longer prompts take longer.
Reasoning. Models that think before answering spend extra time here, and none of it is visible output.
First token generation. The model produces the first token and the server streams it.
In an application, more work comes first. Retrieval, policy checks, and tool calling all run before the final model call, so the delay a customer experiences is usually longer than the model’s own TTFT. Measuring only the API number hides most of the wait.
TTFT vs tokens per second vs total latency
Metric | What it measures | When it matters most |
|---|---|---|
Time to first token (TTFT) | Delay before output starts | Chat and voice, where the user is waiting |
Tokens per second (TPS) | Speed of output once it starts | Long answers and summaries |
Total latency | Time to the complete response | Batch jobs and structured outputs |
Time to first byte (TTFB) | Delay before any server response | Web performance in general |
Time to first audio | Delay before a voice agent speaks | Phone and voice assistants |
Total latency is roughly TTFT plus output length divided by tokens per second. A short reply is dominated by TTFT, and a long one by generation speed. Inference time is the broader term for how long the model takes to compute.
What affects time to first token
Factor | Effect on TTFT |
|---|---|
Model size | Larger models usually start slower |
Prompt length | More input tokens means more processing before the first output |
Reasoning mode | Thinking steps add delay before visible text |
Caching | Cached input is processed faster |
Load and region | Busy or distant servers add queueing and transit time |
Steps before the call | Retrieval and tools add to the user-facing delay |
The size of the context window in use is the factor teams control most directly. Sending fewer AI tokens per request shortens the wait and the bill.
Why time to first token matters for customer support
People judge responsiveness early. In chat, a reply that starts within about a second feels attentive, and streaming keeps the reader engaged while the rest arrives. A blank screen for five seconds feels broken even if the full answer then appears at once.
Voice is stricter. Research on turn-taking across ten languages, published in PNAS, found that speakers typically respond within a few hundred milliseconds. A voice agent has to detect the end of speech, transcribe, call the model, and synthesize audio inside a budget close to that. Long pauses lead callers to repeat themselves or talk over the agent. Benchmarks for AI support agent response time and comparisons of platforms that cut response time and cost show where current systems land.
Time to first token example
A customer sends a chat message at 10:00:00.0. The support platform spends 300 milliseconds fetching the order and the relevant policy. It sends the prompt to the model at 10:00:00.3, and the first token comes back at 10:00:00.9. The model’s own TTFT is 600 milliseconds. The delay the customer feels is 900 milliseconds, because the lookup came first. The full reply of 120 tokens then streams over about two seconds. If the team reports only the 600 millisecond figure, it misses a third of the wait, and that third is the part that is easiest to shorten by running the two lookups in parallel.
How is time to first token measured?
Record a timestamp when the request is sent and another when the first streamed token arrives. The difference is TTFT. Measure it from the client’s side as well as the server’s, because network time is part of the experience.
Report percentiles instead of averages. The median (p50) shows the typical case, and p95 and p99 show the slow tail that customers remember. Break the numbers out by route, model, and prompt size. In voice, also measure time to first audio, which includes endpointing and speech synthesis on top of the model’s TTFT.
How AI agents reduce time to first token
Agents have more to do before answering, so they need more care. The common techniques are sending the model only the context it needs, using prompt caching so repeated instructions are processed faster, and routing simple requests to a smaller model through an LLM router. Running independent tool calls in parallel shortens the steps before the final call.
Voice agents add a few of their own, such as starting speech synthesis on the first sentence while the rest is still being written. Fini runs chat, email, and phone support, and Fini Voice is built for live calls where this budget is tight. For more on the tactics, see these 10 ways AI support agents reduce customer response time, the review of low-latency AI voice agents, and how voice agents handle messy, interrupted calls.
How to improve time to first token
Measure the whole path. Time each step from the customer’s message to the first token on their screen.
Shorten the prompt. Remove instructions and documents the request does not need.
Order the prompt for caching. Keep stable content at the top so the provider can reuse it.
Match the model to the task. Use a faster model for simple intents and reserve larger ones for hard cases.
Stream the output. Show or speak the first sentence as soon as it exists.
Parallelize the steps before the call. Fetch account data and knowledge at the same time.
Watch the tail. Set alerts on p95 TTFT, because averages hide the slow requests.
Common time to first token mistakes
The most common mistake is optimizing the model’s TTFT and ignoring the steps around it. A fast model behind a slow retrieval step is still slow. The second is choosing a reasoning model for every request, which adds seconds of thinking to questions that did not need it.
A third is chasing speed past the point of accuracy. A reply that starts in 300 milliseconds and is wrong creates a second contact. Speed targets should sit beside a resolution rate target, so one is never improved at the cost of the other.
Frequently Asked Questions
What does TTFT stand for?
TTFT stands for time to first token. It is the time from sending a request to a language model until the first token of the response arrives. It is the standard measure of how quickly an AI chat or voice system starts to respond.
What is a good time to first token?
It depends on the channel. For chat, a first token within about one second feels responsive. For voice, the whole pipeline from end of speech to first audio should stay under roughly a second, which leaves only a few hundred milliseconds for the model itself.
What is the difference between TTFT and tokens per second?
TTFT measures the wait before output begins. Tokens per second measures how fast output is produced once it has started. Short replies depend mostly on TTFT. Long replies depend more on tokens per second. Both are needed to describe a model’s speed.
What affects time to first token?
The main factors are model size, the number of input tokens, whether the model reasons before answering, caching, server load, and network distance. In an application, steps that run before the model call, such as retrieval and tool calls, add to the delay the user experiences.
How do you reduce TTFT?
Shorten the prompt, enable prompt caching, use a smaller or faster model for simple requests, stream the response, choose a nearby region, and run steps such as data lookups in parallel. Measure p95 as well as the median, since slow outliers do the most damage.
Why does TTFT matter for voice AI?
In speech, people expect a reply within a few hundred milliseconds. A voice agent must detect that the caller has finished, transcribe, generate, and synthesize audio in that window. A slow first token creates silence, and callers respond by repeating themselves or interrupting.

