Gemma 4 26B (4B active)
on M4 Max 128GB · llama.cpp
Summary
User reports Gemma 4 26B-A4B at 88.1 t/s generation and 1408.1 t/s prompt processing on an M4 Max 128GB.
Setup is llama.cpp with UD-Q4_K_M, flash attention and F16 K/V cache, single sequence, GPU layers 99.
The headline is depth 0; at prefix depth 4096 generation is 79.77 t/s and at 16384 it is 75.49 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.
Download this model
Gemma 4 26B-A4B on Hugging Face in the quant this report ran, UD-Q4_K_M.
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 Max 128GB
- 57.2 t/s · 2 runs
- Qwen3.8 27B3-bit23.9 t/s · 2 runs
- Qwen3.8 27B2-bit24.5 t/s · 2 runs
- Falcon-H1 1.5B4-bit147.5 t/s · one run
- Falcon-H1 3B4-bit86.4 t/s · one run
- Falcon-H1 7B4-bit52.7 t/s · one run
Bars are medians on one scale, 0 to 147.5 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 Max 128GB →Every Gemma 4 report →Estimate Gemma 4 on this card →