Gemma 4 26B (4B active)
on M3 Ultra 512GB · llama.cpp
Summary
User reports Gemma 4 26B-A4B at 84.9 t/s generation and 2634.8 t/s prompt processing on an M3 Ultra Mac Studio with 512 GB of unified memory.
Setup is llama.cpp build b8783 with the UD-Q8_K_XL quant, Metal backend, F16 K and V cache, and -ngl 999 offloading to one GPU.
The figures come from llama-bench with -p 2048 -n 32 -ub 2048 -fa 1, five repetitions, batch 2048 and context depth 0; the article's llama-server, quality, VLM and long-context tests are separate.
Download this model
Gemma 4 26B-A4B on Hugging Face in the quant this report ran, UD-Q8_K_XL.
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 M3 Ultra 512GB
- 28.0 t/s · 2 runs
- Qwen3.8 27B4-bit31.8 t/s · one run
- 29.9 t/s · one run
- 20.0 t/s · one run
- 16.0 t/s · one run
- Gemma 4 26B · 4B active16-bit62.4 t/s · one run
Bars are medians on one scale, 0 to 62.4 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 M3 Ultra 512GB →Every Gemma 4 report →Estimate Gemma 4 on this card →