Benchmarks
Where the speed comes from, and where it runs out
Measured performance has the versions and methods behind these charts. Hover or tap a mark for its values, or open the numbers under any chart. Re-measure on your own Mac with just bench before relying on a figure.
Overall
The biggest lead appears when requests share a pass. Prefill is mostly compute, so Tur's savings on memory reads help less there.
Tur against llama.cpp
Percent difference in tokens per second, on the same Mac. Tur is ahead when requests share a pass, and level or behind on long prefill, which is mostly compute.
- Tur faster
- llama.cpp faster
Show the numbers
| Test | Tur (tok/s) | llama.cpp (tok/s) | Difference |
|---|---|---|---|
| Decode, 8 sequences, M3 Pro | 729 | 456 | 60% |
| Qwen3.6-35B 4-bit, burst of 8, M3 Pro | 94.8 | 75 | 26% |
| Qwen3.6-35B 4-bit, decode, 1 sequence, M3 Pro | 47.2 | 35.6 | 33% |
| Decode, 1 sequence, 4-bit, M3 Pro | 182 | 141 | 29% |
| Qwen3.8-27B 4-bit, decode, 8 sequences, M3 Pro | 52.5 | 41.1 | 28% |
| Prefill 2K, M3 Pro | 3799 | 3383 | 12% |
| Decode, 1 sequence, M3 Pro | 123 | 113 | 9% |
| Qwen3.8-27B 4-bit, prefill 2K, M3 Pro | 93.7 | 96.3 | -3% |
| Prefill 8K, M1 | 1129 | 1142 | -1% |
Source: Tur and other engines
Batching
Requests share one read of the weights, so total throughput climbs with each sequence added to a pass.
Batched decode on an M3 Pro
Qwen3.5-0.8B, Q8_0 weights, total tokens per second. The weights are read once per pass, so sequences added to a pass cost little.
tok/s
Show the numbers
| sequences | Tur (tok/s) | llama.cpp (tok/s) |
|---|---|---|
| 1 | 123 | 113 |
| 2 | 240 | 172 |
| 4 | 420 | 320 |
| 8 | 729 | 456 |
Source: Measured performance
Batched decode on a 16 GB M1
Qwen3.5-0.8B, Q8_0 weights, total tokens per second.
tok/s
Show the numbers
| sequences | Tur (tok/s) | llama.cpp (tok/s) |
|---|---|---|
| 1 | 58 | 51.6 |
| 2 | 111 | 85.6 |
| 4 | 186 | 138 |
| 8 | 317 | 201 |
| 16 | 367 | 230 |
Source: Measured performance
A 27B dense model on an M3 Pro
Qwen3.8-27B, 4-bit weights, total tokens per second.
tok/s
Show the numbers
| sequences | Tur (tok/s) | llama.cpp (tok/s) |
|---|---|---|
| 1 | 8.6 | 7.3 |
| 2 | 15.2 | 11.8 |
| 4 | 29 | 23.2 |
| 8 | 52.5 | 41.1 |
Source: Measured performance
Against oMLX, 4-bit
Qwen3.5-0.8B on a 16 GB M1. oMLX's figures are its published results, not a rerun here. From two sequences on the lead disappears.
tok/s
Show the numbers
| sequences | Tur (tok/s) | oMLX (tok/s) |
|---|---|---|
| 1 | 96 | 73.7 |
| 2 | 114 | 123 |
| 4 | 206 | 198 |
Source: Measured performance
Serving
These bursts go through the scheduler and the sampler, as a real client's requests do.
Output through the full server
16 GB M1, Qwen3.5-0.8B, Q8_0, sampled, total across the burst.
Show the numbers
| tok/s | |
|---|---|
| 1 at once | 50.2 |
| 2 at once | 88.9 |
| 4 at once | 122 |
| 8 at once | 187 |
| 16 at once | 207 |
Source: Measured performance
Gap between tokens
Median inter-token latency for one request in the same bursts. Lower is better.
Show the numbers
| ms | |
|---|---|
| 1 at once | 17.4 |
| 2 at once | 18.3 |
| 4 at once | 22 |
| 8 at once | 25.9 |
| 16 at once | 44.8 |
Source: Measured performance
Mixture of experts
Qwen3.6-35B-A3B has 35 billion parameters, of which 3 billion are active for each token: every layer routes a token to 8 of its 256 experts. Its 4-bit weights take 20.3 GB and load in 5.5 s on a 36 GB M3 Pro.
A 35B mixture-of-experts model, end to end
Qwen3.6-35B-A3B, 4-bit weights, bursts of 128-token prompts and 64 output tokens. At 16 requests llama.cpp finishes with every weight resident, while Tur runs out of GPU memory unless it uses its expert cache, so that row isn't plotted.
output tok/s
Show the numbers
| concurrent requests | Tur (output tok/s) | llama.cpp (output tok/s) |
|---|---|---|
| 1 | 37.8 | 31.3 |
| 2 | 49 | 45.8 |
| 4 | 70 | 62.1 |
| 8 | 94.8 | 75 |
Source: Measured performance
Decode as sequences share a pass
Qwen3.6-35B-A3B, 4-bit weights, at 128 tokens of context, total tokens per second.
tok/s
Show the numbers
| sequences | Tur (tok/s) |
|---|---|
| 1 | 47.2 |
| 4 | 94.3 |
| 8 | 142 |
Source: Measured performance
Decode against other engines
One sequence on an M3 Pro, with each engine's usual 4-bit weights. Tur and llama.cpp at 128 tokens of context. The oMLX row is a reported result at 1K, not a rerun here.
Show the numbers
| tok/s | |
|---|---|
| Tur, Q4K artifact | 47.2 |
| llama.cpp, unsloth UD-Q4_K_M | 35.6 |
| oMLX v0.7.0.dev2, 4-bit | 39.2 |
Source: Measured performance
Prefill against other engines
Tur and llama.cpp at 512 tokens, where llama.cpp is slightly ahead. The oMLX row is a reported result at 1K, not a rerun here.
Show the numbers
| tok/s | |
|---|---|
| Tur, Q4K artifact | 640 |
| llama.cpp, unsloth UD-Q4_K_M | 665 |
| oMLX v0.7.0.dev2, 4-bit | 632 |
Source: Measured performance
Sixteen concurrent requests don't fit with every expert resident: Tur runs out of GPU memory. With a 4 GiB expert cache the burst completes at 25.7 tok/s, while llama.cpp keeps its weights resident and reaches 81.4 tok/s.
Long contexts
With sparse attention, each token past 16K keys reads about 4,600 chosen keys instead of all of them, in prefill and in decode, so neither slows down much as the context grows.
Decode as the context grows
Qwen3.5-0.8B Q8_0 on a 16 GB M1, one sequence, against llama.cpp on the same GGUF weights. Past 16K keys each token reads about 4,600 chosen keys, so decode stays near its short-context speed.
tok/s
Show the numbers
| K tokens of context | Dense (tok/s) | Sparse attention (tok/s) | llama.cpp (tok/s) |
|---|---|---|---|
| 32 | 38.9 | 46 | 36.8 |
| 64 | 30.7 | 48 | 29.2 |
| 128 | 21.7 | 47.5 | 20.2 |
Source: Measured performance
Prefill after a long context
The same model, prompt tokens per second for one 2048-token chunk after the context. Dense, Tur's attention kernel trails llama.cpp's; with sparse attention each tile of 32 prompt tokens reads its own selection.
tok/s
Show the numbers
| K tokens of context | Dense (tok/s) | Sparse attention (tok/s) | llama.cpp (tok/s) |
|---|---|---|---|
| 32 | 481 | 825 | 471 |
| 64 | 292 | 733 | 279 |
| 128 | 165 | 679 | 159 |
Source: Measured performance
First token behind a long prompt
Bursts of long prompts through the full server, median time to first token. Lower is better.
Show the numbers
| Dense (s) | Sparse attention (s) | |
|---|---|---|
| 32K × 1 | 61.3 | 39.4 |
| 32K × 4 | 229 | 152 |
| 64K × 1 | 194 | 79.7 |
| 64K × 4 | 737 | 308 |
Source: Measured performance
Gap between tokens at long contexts
The same bursts, median inter-token latency. Lower is better.
Show the numbers
| Dense (ms) | Sparse attention (ms) | |
|---|---|---|
| 32K × 1 | 25.3 | 21.2 |
| 32K × 4 | 44 | 29.1 |
| 64K × 1 | 32.4 | 21.8 |
| 64K × 4 | 78.2 | 31.9 |
Source: Measured performance
Skipping work
Prefix reuse and speculation avoid passes altogether, and neither changes the generated text.
First token behind a shared 1.5K-token prompt
Eight users on a 16 GB M1, median time to first token. Lower is better.
Show the numbers
| s | |
|---|---|
| Prefix reuse off | 9.46 |
| New prompt, arriving together | 1.69 |
| Prompt already cached | 0.56 |
Source: Measured performance
Speculative decoding, one sequence
Greedy, 16 GB M1, Qwen3.5-0.8B. Output matched normal decoding in every run.
Show the numbers
| Normal (tok/s) | Prompt lookup (tok/s) | Lookup + MTP head (tok/s) | |
|---|---|---|---|
| Novel prose | 54.8 | 58.1 | 71.9 |
| Code | 54.1 | 54.5 | 71.2 |
| Repetitive | 52.8 | 161.8 | 154.9 |
Source: Measured performance
Loading and weights
Prepacked artifacts load as stored. Fewer bytes also cost some quality, which Choosing a quantization weighs up.
Time to load
A fresh process with a warm file cache, 16 GB M1. Lower is better.
Show the numbers
| s | |
|---|---|
| Q4K, converted at load | 8.9 |
| Q8_0, converted at load | 1.58 |
| Q4K GPTQ artifact | 0.16 |
| Mixed 5.5-bit GPTQ artifact | 0.2 |
| Q8_0 artifact | 0.27 |
Source: Measured performance
Peak memory while loading
The same runs, from /usr/bin/time. Lower is better.
Show the numbers
| GB | |
|---|---|
| Q4K, converted at load | 1.46 |
| Q8_0, converted at load | 2.11 |
| Q4K GPTQ artifact | 0.71 |
| Mixed 5.5-bit GPTQ artifact | 0.8 |
| Q8_0 artifact | 1.2 |
Source: Measured performance
What smaller weights cost in quality
How often a format's most likely token matches F32 on held-out prose. Calibrated GPTQ loses less than plain rounding at the same size.
Show the numbers
| % | |
|---|---|
| Q8_0 | 98.4 |
| Mixed 5.5-bit GPTQ | 88.6 |
| Q4K GPTQ | 84.4 |
| Q4K importance-weighted | 83.3 |
| Q4K plain rounding | 79.7 |
Source: Measured performance