switch·Esc back

TTFT / TPS

You might say

Why do some AI tools take forever to show the first word while others answer right away?

Measures of time to first output and of token generation speed after output beginsTTFT measures time from sending a request to receiving the first token. TPS measures tokens produced each second afterward. A quick first token does not guarantee a short total response time.
TTFT & TPS
Where do three kinds of wait come from on one timeline?

These times and speeds are illustrative; they only compare how the metrics relate.

Send requestReceive first TokenAnswer complete
TTFT 1.2sInitial wait
40 TPSTokens generated each second after it starts
Total time 6.2s

B starts speaking sooner, but generates more slowly afterward, so its full answer finishes later.

Separate first output, speed, and total time

Wait for TTFTTTFT runs from send to the first text token.

Then watch TPSTPS is tokens per second after generation begins, not transactions per second.

Then measure total timeA longer answer can still take longer to finish even when it begins quickly.

Learn next
Further reading