LLM latency calculator

Estimate how long an AI response takes

ms

Total response time

6.5 s

Generating
6.0 s
About this many words a second
38

Runs in your browser. Nothing is uploaded.

Share LLM latency calculator

How it works

An AI response takes two steps: waiting for the first token, then generating the rest. Total time is the time to first token, plus the output tokens divided by tokens per second. With 500 ms to start and 300 tokens at 50 a second, a full answer takes about 6.5 seconds.

total time = time to first token + output tokens ÷ tokens per second

Streaming shows words as they arrive, so the time to first token is what people feel most.

Long prompts raise the time to first token, and long answers raise the total.

Worked example. With 500 ms to the first token and 300 tokens at 50 a second: 500 ms + 6 s = 6.5 s.

Advertisement

Examples

First tokenTokens a secondOutputTotal
300 ms1001001.3 s
500 ms503006.5 s
1000 ms30100034.3 s

What this tool doesn’t cover

  • Real speeds change with the model, the load and your network.
  • The words figure assumes about 0.75 words a token, which is rough.

Questions

What is a good time to first token?

Under a second feels quick for chat. Test your own model and region.

How can I make responses faster?

Ask for shorter answers, use a smaller model, or stream the output.

Where do I find tokens per second?

Measure it from your own calls, as published figures vary.

What affects AI response time?

The model size, the length of your prompt, how much it writes, and how busy the service is.

Why does streaming feel faster?

People see words as soon as they’re written, so they start reading while the rest is on its way. The total time doesn’t change.

Advertisement

Was this useful?

Built by QuickToolz.

Sources: OpenAI: latency optimization (opens in a new tab)

Submit ProductLoginAccountBlogAdvertise