Model speed is the second most important parameter after intelligence, and in half of the real scenarios it is the one that decides: nobody needs a chatbot with a minute of latency, and generation at 24 tokens per second kills interactivity. We break down what tokens/sec and TTFT are, which speeds are typical, and how to measure your own configuration.
Two speed parameters
TTFT (time to first token) — the delay before the first token: how long you wait for the answer to start. Important for chats and voice interfaces. It depends on prompt processing: a long prompt on a weak platform means seconds of waiting before the first letter.
Tokens per second (generation) — the speed of reading the answer. Important for long outputs: 2000 tokens of code at 10 tok/s = three and a half minutes of contemplation. The practitioners’ comfort threshold is 15–20 tok/s for interactive work; below 10 it is a “patient overnight profile”.
The full breakdown of limits and metrics is in the limits glossary; here we cover the practical side: what to measure and on what.
Typical speeds from practice
| Configuration | Generation speed | Verdict |
|---|---|---|
| Ultra-fast platforms (Groq/Cerebras, small models) | Hundreds of tok/s | Voice, chats, bulk routine |
| MoE on home hardware (35B-A3B) | 80–100 tok/s | Interactive work locally |
| Dense 27B on a 32 GB card (Q8) | ~22 tok/s | Comfortable interactivity |
| Kimi K3.1 Pro (cloud) | ~24 tok/s | Noticeably slower than Opus (55+) |
| 70B on a CPU server | A few tok/s | Overnight profile |
| Diffusion-based Mercury | ~1000 tok/s | Industrial-scale generation |
| 4×V100 with NVLink + DFlash2 | 300–400+ tok/s | Local pipeline on server cards |
The key takeaway from the table: speed is a property of the “model + hardware/platform” pairing, not of the model by itself. The same open model on Groq and on a home CPU differs by orders of magnitude.
How to measure your own configuration
For local builds — llama-bench before any decisions:
llama-bench -m моя-модель.gguf -ngl 99
# вывод: pp (обработка промпта) и tg (генерация) в ток/сFor APIs — a simple measurement with python or curl plus a timer: record the time to the first token (TTFT) and the total response time at a known length. A practical measurement template: 5 identical requests with a fixed prompt, median time, token count from the usage field — speed = tokens/time. Measure on your own material: speed on “Hi” says nothing about speed on your 50-page context.
What speeds up generation
- Speculative decoding: a draft model proposes tokens and the main model verifies them in batches — on the 4×V100 setup it delivered 300–400+ tok/s versus tens.
- MoE architectures: few active parameters — fast generation with a large model “mass”.
- Quantization: fewer weights — faster reading; the boundary is Q4, below that quality suffers.
- Short context: prompt processing grows with its length — trim the excess before sending.
- The right platform: the same model on LPU inference is several times faster than on CPU hosting.
Where speed is a priority — a decision matrix
- Voice assistant: only hundreds of tok/s; everything else misses the mark.
- Website chatbot: 20+ tok/s, TTFT under a second.
- Agent pipelines: speed is secondary; throughput matters (parallel requests).
- Overnight report parsing: speed does not matter at all — set up a night queue.
- Vibe coding: 20+ tok/s mandatory — a slow model breaks the rhythm of iterations.
Mini-case: measuring a cloud API in ten minutes
The task: before subscribing or migrating, find out whether the platform can handle your production prompt. The methodology from the section above assembles into a simple script: a fixed prompt of real length, five identical requests, median time, token count from the usage field — speed equals tokens divided by time.
- Plug in your BASE_URL, your key, and a working prompt of the same length as in production: speed on “Hi” says nothing about speed on your 50-page context.
- Run five attempts and look at the median: a spread of several times between attempts is a sign of an unstable platform, and that is a selection factor too.
- Compare the medians of two or three candidate platforms on the same prompt and multiply speed by token price — you get the cost of a page of code in seconds and in money.
import time, requests
BASE = "ВАШ_BASE_URL/v1/chat/completions"
HEAD = {"Authorization": "Bearer КЛЮЧ", "Content-Type": "application/json"}
times = []
for i in range(5):
t0 = time.time()
r = requests.post(BASE, headers=HEAD, json={
"model": "МОДЕЛЬ",
"messages": [{"role": "user", "content": "ВАШ РАБОЧИЙ ПРОМПТ"}]})
dt = time.time() - t0
out = r.json()["usage"]["completion_tokens"]
times.append(dt)
print(f"попытка {i + 1}: {dt:.1f} с, {out} ток, {out / dt:.1f} ток/с")
print("медиана времени:", sorted(times)[2], "с")Interpretation: a median below 20 tok/s on your material means interactivity will suffer — for vibe coding the 20+ tok/s threshold is mandatory, otherwise a slow model breaks the rhythm of iterations. For TTFT, enable streaming mode and time the first chunk: in chats it is the first chunk, not the total time, that defines the feel of responsiveness. Overnight report parsing and agent pipelines are the exceptions: there speed is secondary — throughput and a night queue matter. The numbers in the tables above were obtained on other people’s “model + hardware/platform” setups — your own measurement on your own material always takes priority over someone else’s chart.
Frequently asked questions
What matters more — TTFT or generation speed? It depends on the scenario: for chats and voice interfaces the delay before the first token is critical, for long outputs it is the speed of reading the answer. 2000 tokens of code at 10 tok/s is three and a half minutes of contemplation, so in vibe coding generation moves to the foreground. Both parameters are measured on your configuration, not copied from other people’s tables.
What speed counts as comfortable? The practitioners’ comfort threshold is 15–20 tok/s for interactive work; below 10 tok/s the job turns into a “patient overnight profile”. For a website chatbot the benchmark is stricter — 20+ tok/s with TTFT under a second — and a voice assistant needs hundreds of tok/s.
Why does the same model answer at different speeds on different platforms? Because speed is a property of the “model + hardware/platform” pairing, not of the model itself: the same open model on Groq and on a home CPU differs by orders of magnitude. That is why other people’s numbers transfer to your configuration only as a reference point, and the final word always belongs to a measurement on your own material.
Can I speed up a model without switching to a new one? Yes — the levers from the section above: speculative decoding verifies a draft model’s batches (on the 4×V100 setup it delivered 300–400+ tok/s versus tens), quantization down to the Q4 boundary speeds up weight reading, and a short context cuts prompt processing time. Another path is changing the platform: the same model on LPU inference is several times faster than on CPU hosting.
Speed is measured, not discussed: llama-bench for local, a timed measurement for cloud. When choosing a model, build the table of your own configuration — and the matrix above will show where you stand. Numbers as of fall 2026.
