The three speed numbers
| Measure | What it is | When it matters |
|---|---|---|
| Generation speed (tok/s) | How fast the answer is written | Chat and coding: the speed you read at |
| Prompt speed (tok/s) | How fast the model reads your input | Long documents, big code files, agent tools |
| Time to first token | Wait before the first word appears | Every request; grows with prompt length |
What decides tokens per second on a Mac
For each token, the Mac reads the model's active weights from memory. So generation speed is roughly memory bandwidth ÷ GB read per token, scaled by how efficient the runtime is. Double the bandwidth and you roughly double the speed; double the model and you roughly halve it.
| Mac | Bandwidth | Speed | 500-token answer |
|---|---|---|---|
| Mac mini M6 32GB | 170 GB/s | ~6.4 tok/s | ~78 s |
| Mac mini M5 Pro 64GB | 307 GB/s | ~11.5 tok/s | ~43 s |
| Mac Studio M5 Max 128GB | 614 GB/s | ~23.0 tok/s | ~22 s |
Mixture-of-experts models read only their active parameters per token, which is why they're much faster than dense models of the same size. See mixture of experts, explained.
How fast is fast enough?
- Chat: 15+ tok/s feels comfortable to read along with.
- Coding: faster is better, because answers include whole functions and agents write a lot of tokens per task.
- Documents: prompt speed and time to first token matter more than generation speed.
- Batch jobs: overnight summaries can live with slow speeds if the answers are good.
Measuring it yourself
Ollama's generate API returns token counts and durations for the prompt and the answer, and mlx_lm.generate prints prompt and generation tokens per second plus peak memory (see MLX LM on a Mac). These are the same numbers we record on every LaneBench run.
FAQ
What does tokens per second mean?
Is 10 tokens per second good?
How do I get more tokens per second on a Mac?
See any model on the exact Mac you're considering.
Speeds come from published measurements (with source links) or labeled estimates. How we measure