Limits and errors

Time to first token

Time to first token, or TTFT, is the time from sending a request to receiving the first token of the model's answer. It is the wait a user sees before text starts to appear.

Also called TTFT, First-token latency

Checked November 29, 2026

At a glance

Measures
From sending the request to the first token
Matters most
When you stream: chat windows and agents
Report it as
The median (p50) and the 95th percentile (p95)
Made longer by
Long new prompts, thinking, a busy provider
On /model
30 seconds a channel (90 for thinking models), 3 minutes in all

Anthropic defines it as the time the model takes to generate the first token of the response, from when the prompt was sent, and notes that it matters most when you stream (Anthropic). OpenAI times it until the first non-empty text arrives, and suggests comparing the median (p50) and the 95th percentile (p95) on real traffic (OpenAI).

What makes it long

  • A long prompt, especially one that is mostly new: OpenAI notes it can delay the first token (OpenAI).
  • Thinking: a model that reasons before it answers writes its reasoning first.
  • A busy model or provider.

A prompt cache helps: OpenAI suggests keeping the start of the prompt unchanged, and comparing TTFT for requests with and without cache hits.

Time to first token on /model

  • Each channel has 30 seconds to start answering, 90 for models that think first; then the next channel takes over, unseen. When no channel has started after 3 minutes, the request ends with a 504 timeout (Limits and timeouts).
  • The default strategy, Smart, puts first the channels doing well: a success rate of at least 95%, and a median time to first token within twice the fastest (Routing).
  • The speed strategy puts the shortest median time to first token first: add :nitro to the model id, or send x-sm-route: speed.
  • GET /v1/channels shows every channel's last 24 hours, with no key needed.

Where it applies on /model

Questions

Is time to first token the same as latency?

It is one part of it. Latency is the whole wait; time to first token is the wait before the first token, and the rest depends on how fast the model writes.

How do I get the fastest first token on /model?

Add :nitro to the model id, or send x-sm-route: speed, to try the channels with the shortest median time to first token first.

Sources

The makers' own pages, each opened on November 29, 2026.

One key for every model here.

Top up from $10, change one URL, and pay only for the tokens you use.