< Will Bosler

Model Speed 101 ·

The speed at which a model responds is determined by two metrics: Time to First Token (TTFT) and Tokens Per Second (TPS). Each impacts the user experience differently, so understanding both is essential when selecting a model for a given application.

0:02 / 0:03

When a prompt is sent, there is a delay before any output is received. TTFT can be considered the latency of a model. It measures how long it takes to receive the first token from the endpoint.

0:02 / 0:13

This delay consists of three stages. Network, the time taken for the request to reach the datacenter. Queue, the time spent waiting for a free GPU. Process and Prefill, the time taken for the model to read the entire prompt, all at once. Together, these stages form the TTFT.

Network and queue time are largely independent of the prompt. Prefill, however, scales with prompt length, as the model has more to read. A one line question may return its first token in under half a second, while a 100 page document can take over two seconds.

0:02 / 0:06

Once the first token arrives, the remainder of the response is streamed. TPS measures the speed of this stream, that is, how many tokens the endpoint returns every second.

0:02 / 0:04

To illustrate, a model generating at 156 TPS returns 156 tokens within a single second of output.

0:02 / 0:06

TPS varies significantly between models. Artificial Analysis measures Claude Sonnet 5.5 (max) at 134 TPS and GPT-6 Astra (max) at 66 TPS.

0:02 / 0:06

For the same response, the faster model streams its answer in roughly half the time. TPS is therefore a key consideration for applications that generate long outputs.

The relative importance of each metric depends on the length of the response.

0:02 / 0:05

Assuming a TTFT of 5 seconds and 156 TPS, latency accounts for ~94% of the total time for a 50 token response, ~61% for 500 tokens and only ~14% for 5,000 tokens. Short responses are dominated by latency, long responses by speed.

0:02 / 0:05

In summary, TTFT is the latency, the wait before the first token arrives. TPS is the speed, how fast the remainder of the response streams out. Together, they determine how fast a model answers.

0:02 / 0:03

Consider a worked example. How long does GPT-5.2 (non-reasoning) take to return 500 tokens? Artificial Analysis measures a TTFT of 0.8 seconds and a speed of 68 TPS.

0:02 / 0:10

After sending the prompt, we wait 0.8 seconds before anything streams. The 500 tokens then stream at 68 TPS, requiring ~7.35 seconds of output time. Together, the total is ~8.15 seconds.

0:02 / 0:05

This generalises to a simple formula: time to generate = TTFT + (tokens ÷ TPS).