Gemma 4 26B (4B active)
M3 Ultra 512GB · llama.cpp
- generation:
- 87.8 tokens/s
- prompt processing (prefill):
- 2595.3 tokens/s
- quant:
- MXFP4_MOE (GGUF)
- flash attention:
- on
- mtp (multi-token prediction):
- off
User reports Gemma 4 26B-A4B at 87.8 t/s generation and 2595.3 t/s prompt processing on an M3 Ultra Mac Studio with 512 GB of unified memory. Setup is llama.cpp build b8783 with the MXFP4_MOE quantization, Metal backend, F16 K and V cache, and -ngl 999, running one GPU. The figures come from separate llama-bench phases: PP2048 at 2595.28 t/s and TG32 at 87.81 t/s, each the mean of five repetitions at context depth 0.