AI CompendiumA public chart of the language
Home / Adoption & Ops / Time to First Token
Adoption & Ops

Time to First Token

also called TTFT

How long before anything appears on screen.

Definition

The delay between sending a request and receiving the first token of the response. Driven by prompt length, model size and queueing, not by how long the answer is.

TTFT is what makes a product feel fast, because it is the wait before any feedback. Once tokens start streaming, perceived speed is dominated by tokens per second.

It is the metric to instrument first, because it is what users experience as responsiveness and it is driven by things you control: prompt length, tool-call count before the first visible output, and skipping work on the critical path.

How people use it
A chat interface feeling sluggish.
"TTFT is four seconds because the prompt is thirty thousand tokens. Trim the context, not the response."
Worked example

Streaming the answer you were not ready to show

A three-step pipeline shows nothing for twelve seconds.

Move the parts that must happen before any output off the critical path, or stream a status while they run. Perceived responsiveness changes completely even though total completion time is nearly identical, because the user sees something happening.

Sources
  • docsLatency optimisation ↗OpenAI API docs · 2026

    The four levers that matter: fewer output tokens, fewer requests, parallel independent work, and streaming. Also defines throughput in tokens per second.

  • docsPricing ↗OpenAI API docs · 2026

    The current per-token and per-service prices. The right kind of source for token economics — and the reason no cost figure should be hard-coded without an access date.

Related terms