llama.cpp on the M4 16GB
On the M4 16GB, llama.cpp runs Gemma 4 26B · 4B active at 4-bit at a median 30.9 tokens per second for generation, from 1 plain run (64K context).
Speed by model on the M4 16GB
Plain runs only: one device, one request, no speculative decoding, the whole model in memory. Each row is one model size at one bit class, with the other engines' plain runs of the same model on this card beside it. Context length and build still differ between runs, and each side shows its own.
| Model | llama.cpp | Other engines |
|---|---|---|
| Gemma 4 26B · 4B active 4-bit | 30.9 t/sone report, 64K context | no other engine reported |
10 llama.cpp reports on the M4 16GB
Newest first. A run on several cards, with speculative decoding, with part of the model in system RAM or with batched requests says so, since each describes a different setup.
- Qwen3.5 · Q8_090.1 t/s
- Qwen3.5 · Q4_K_M28.3 t/s
- Qwen2.5 · Q4_K_M47.4 t/s
- Gemma 4 · Q4_K_M13.1 t/s
- Qwen3.5 · Q4_K_M17.7 t/s
- Qwen3.5 · Q4_K_M29.7 t/s
- Qwen3.8 · UD-Q4_K_M5.8 t/s(2 cards)
- Llama 3.1 8B · Q4_K_M21.0 t/s
- Gemma 4 26B · 4B active · IQ4_XS30.9 t/s
- Qwen3.6 35B · 3B active · 4-bit25.0 t/s(2 cards)
Frequently asked
How fast is llama.cpp on the M4 16GB?
On the M4 16GB, llama.cpp runs Gemma 4 26B · 4B active at 4-bit at a median 30.9 tokens per second for generation, from 1 plain run (64K context).