How fast will Gemma 4 26B A4B feel on the Mac Studio M5 Ultra 256GB?

Gemma 4 26B A4B on the Mac Studio M5 Ultra 256GB

Gemma 4 26B A4B is a 25.81B-parameter mixture-of-experts model (3.8B active per token). At Q4_K_M it needs about 17.7 GB of memory. The Mac Studio M5 Ultra 256GB has 192 GB usable, so it fits entirely in memory. Expect about 257 tokens/sec (145–368), with the first token after 0.3 s for a short prompt. This estimate is interpolated from benchmarks of similar setups.

Speed by quantization

QuantizationFile sizeMemoryGenerationFirst tokenSource
Q4_K_M16.9 GBFits257 tok/s0.3 sDerived
Q8_026.9 GBFits162 tok/s0.3 sDerived
FP1650.5 GBFits86 tok/s0.3 sDerived

Gemma 4 26B A4B on other hardware

Other models on the Mac Studio M5 Ultra 256GB

All models on the Mac Studio M5 Ultra 256GB · Gemma 4 26B A4B on all hardware

Estimates for a short prompt on a single device. Measured numbers come from community benchmarks (r/LocalLLaMA, localscore.ai and more); others are derived from similar setups or projected from specs. Open source on GitHub.