Tur

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
Decode, 8 sequences, M3 Pro
+60%
Qwen3.6-35B 4-bit, burst of 8, M3 Pro
+26%
Qwen3.6-35B 4-bit, decode, 1 sequence, M3 Pro
+33%
Decode, 1 sequence, 4-bit, M3 Pro
+29%
Qwen3.8-27B 4-bit, decode, 8 sequences, M3 Pro
+28%
Prefill 2K, M3 Pro
+12%
Decode, 1 sequence, M3 Pro
+9%
Qwen3.8-27B 4-bit, prefill 2K, M3 Pro
−3%
Prefill 8K, M1
−1%
Show the numbers
TestTur (tok/s)llama.cpp (tok/s)Difference
Decode, 8 sequences, M3 Pro72945660%
Qwen3.6-35B 4-bit, burst of 8, M3 Pro94.87526%
Qwen3.6-35B 4-bit, decode, 1 sequence, M3 Pro47.235.633%
Decode, 1 sequence, 4-bit, M3 Pro18214129%
Qwen3.8-27B 4-bit, decode, 8 sequences, M3 Pro52.541.128%
Prefill 2K, M3 Pro3799338312%
Decode, 1 sequence, M3 Pro1231139%
Qwen3.8-27B 4-bit, prefill 2K, M3 Pro93.796.3-3%
Prefill 8K, M111291142-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

02004006008001248sequences729456
Show the numbers
sequencesTur (tok/s)llama.cpp (tok/s)
1123113
2240172
4420320
8729456

Source: Measured performance

Batched decode on a 16 GB M1

Qwen3.5-0.8B, Q8_0 weights, total tokens per second.

tok/s

0100200300400124816sequences367230
Show the numbers
sequencesTur (tok/s)llama.cpp (tok/s)
15851.6
211185.6
4186138
8317201
16367230

Source: Measured performance

A 27B dense model on an M3 Pro

Qwen3.8-27B, 4-bit weights, total tokens per second.

tok/s

0153045601248sequences52.541.1
Show the numbers
sequencesTur (tok/s)llama.cpp (tok/s)
18.67.3
215.211.8
42923.2
852.541.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

075150225300124sequences206198
Show the numbers
sequencesTur (tok/s)oMLX (tok/s)
19673.7
2114123
4206198

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.

1 at once
50.2 tok/s
2 at once
88.9 tok/s
4 at once
122 tok/s
8 at once
187 tok/s
16 at once
207 tok/s
Show the numbers
tok/s
1 at once50.2
2 at once88.9
4 at once122
8 at once187
16 at once207

Source: Measured performance

Gap between tokens

Median inter-token latency for one request in the same bursts. Lower is better.

1 at once
17.4 ms
2 at once
18.3 ms
4 at once
22 ms
8 at once
25.9 ms
16 at once
44.8 ms
Show the numbers
ms
1 at once17.4
2 at once18.3
4 at once22
8 at once25.9
16 at once44.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

02550751001248concurrent requests94.875
Show the numbers
concurrent requestsTur (output tok/s)llama.cpp (output tok/s)
137.831.3
24945.8
47062.1
894.875

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

050100150200148sequences142
Show the numbers
sequencesTur (tok/s)
147.2
494.3
8142

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.

Tur, Q4K artifact
47.2 tok/s
llama.cpp, unsloth UD-Q4_K_M
35.6 tok/s
oMLX v0.7.0.dev2, 4-bit
39.2 tok/s
Show the numbers
tok/s
Tur, Q4K artifact47.2
llama.cpp, unsloth UD-Q4_K_M35.6
oMLX v0.7.0.dev2, 4-bit39.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.

Tur, Q4K artifact
640 tok/s
llama.cpp, unsloth UD-Q4_K_M
665 tok/s
oMLX v0.7.0.dev2, 4-bit
632 tok/s
Show the numbers
tok/s
Tur, Q4K artifact640
llama.cpp, unsloth UD-Q4_K_M665
oMLX v0.7.0.dev2, 4-bit632

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

0153045603264128K tokens of context21.747.520.2
Show the numbers
K tokens of contextDense (tok/s)Sparse attention (tok/s)llama.cpp (tok/s)
3238.94636.8
6430.74829.2
12821.747.520.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

02505007501,0003264128K tokens of context165679159
Show the numbers
K tokens of contextDense (tok/s)Sparse attention (tok/s)llama.cpp (tok/s)
32481825471
64292733279
128165679159

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.

32K × 1
61.3 s
39.4 s
32K × 4
229 s
152 s
64K × 1
194 s
79.7 s
64K × 4
737 s
308 s
Show the numbers
Dense (s)Sparse attention (s)
32K × 161.339.4
32K × 4229152
64K × 119479.7
64K × 4737308

Source: Measured performance

Gap between tokens at long contexts

The same bursts, median inter-token latency. Lower is better.

32K × 1
25.3 ms
21.2 ms
32K × 4
44 ms
29.1 ms
64K × 1
32.4 ms
21.8 ms
64K × 4
78.2 ms
31.9 ms
Show the numbers
Dense (ms)Sparse attention (ms)
32K × 125.321.2
32K × 44429.1
64K × 132.421.8
64K × 478.231.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.

Prefix reuse off
9.46 s
New prompt, arriving together
1.69 s
Prompt already cached
0.56 s
Show the numbers
s
Prefix reuse off9.46
New prompt, arriving together1.69
Prompt already cached0.56

Source: Measured performance

Speculative decoding, one sequence

Greedy, 16 GB M1, Qwen3.5-0.8B. Output matched normal decoding in every run.

Novel prose
54.8 tok/s
58.1 tok/s
71.9 tok/s
Code
54.1 tok/s
54.5 tok/s
71.2 tok/s
Repetitive
52.8 tok/s
162 tok/s
155 tok/s
Show the numbers
Normal (tok/s)Prompt lookup (tok/s)Lookup + MTP head (tok/s)
Novel prose54.858.171.9
Code54.154.571.2
Repetitive52.8161.8154.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.

Q4K, converted at load
8.9 s
Q8_0, converted at load
1.58 s
Q4K GPTQ artifact
0.16 s
Mixed 5.5-bit GPTQ artifact
0.2 s
Q8_0 artifact
0.27 s
Show the numbers
s
Q4K, converted at load8.9
Q8_0, converted at load1.58
Q4K GPTQ artifact0.16
Mixed 5.5-bit GPTQ artifact0.2
Q8_0 artifact0.27

Source: Measured performance

Peak memory while loading

The same runs, from /usr/bin/time. Lower is better.

Q4K, converted at load
1.46 GB
Q8_0, converted at load
2.11 GB
Q4K GPTQ artifact
0.71 GB
Mixed 5.5-bit GPTQ artifact
0.8 GB
Q8_0 artifact
1.2 GB
Show the numbers
GB
Q4K, converted at load1.46
Q8_0, converted at load2.11
Q4K GPTQ artifact0.71
Mixed 5.5-bit GPTQ artifact0.8
Q8_0 artifact1.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.

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%
Show the numbers
%
Q8_098.4
Mixed 5.5-bit GPTQ88.6
Q4K GPTQ84.4
Q4K importance-weighted83.3
Q4K plain rounding79.7

Source: Measured performance