How fast will Gemma 4 12B feel on the Mac Studio M5 Ultra 512GB?

Gemma 4 12B on the Mac Studio M5 Ultra 512GB

Gemma 4 12B is a 11.96B-parameter model. At Q4_K_M it needs about 7.9 GB of memory. The Mac Studio M5 Ultra 512GB has 384 GB usable, so it fits entirely in memory. Expect about 81 tokens/sec (69–93), with the first token after 0.3 s for a short prompt. This estimate is projected from the hardware specs; no benchmarks exist yet.

Speed by quantization

QuantizationFile sizeMemoryGenerationFirst tokenSource
Q4_K_M7.1 GBFits81 tok/s0.3 sProjected
Q8_012.7 GBFits46 tok/s0.3 sProjected
FP1623.8 GBFits24 tok/s0.3 sProjected

Gemma 4 12B on other hardware

Other models on the Mac Studio M5 Ultra 512GB

All models on the Mac Studio M5 Ultra 512GB · Gemma 4 12B 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.