Gemma 4 26B (4B active)
on M4 16GB · llama.cpp · 65,536 ctx
Summary
User reports a ~3.8x generation speed regression on Apple M4 Mac Mini (16 GB unified memory) with Gemma 4 26B A4B IQ4_XS. Master build (d12cc3d) achieves 8.14 tok/s versus 27.18 tok/s on tag b8680, both built from source with llama-server and identical flags. Setup uses Metal backend, --flash-attn on, q4_0 KV cache, 65536 context, and -ngl 99. The regression is reproducible and not explained by memory or swap pressure; prefill on b8680 was 55.7 tok/s.
Download this model
Gemma 4 26B-A4B on Hugging Face in the quant this report ran, IQ4_XS. The report doesn't say whose upload it used, so these are the most downloaded ones.
Compare this run
Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.
Gemma 4 26B · 4B active at 4-bit by hardware
- NVIDIA RTX 509032 GB255.7 t/s · 2 runs
- NVIDIA RTX 409024 GB149.6 t/s · one run
- AMD RX 7900 XTX24 GB142.8 t/s · one run
- NVIDIA RTX 5070 Ti16 GB137.7 t/s · one run
- 116.9 t/s · one run
- 95.2 t/s · one run
Bars are medians on one scale, 0 to 267.4 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Models most run on the M4 16GB
- Qwen3 8B4-bit16.6 t/s · 2 runs
- Qwen3.5 4B4-bit19.2 t/s · 2 runs
- 30.9 t/s · one run
- 64.0 t/s · one run
- Qwen2.5 3B4-bit47.4 t/s · one run
- Qwen3 14B4-bit12.7 t/s · one run
Bars are medians on one scale, 0 to 64.0 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Everything reported on the M4 16GB →Every Gemma 4 report →Estimate Gemma 4 on this card →