How fast will Gemma 4 31B feel on the MacBook M4 Pro 24GB?

Gemma 4 31B on the MacBook M4 Pro 24GB

Gemma 4 31B is a 31.27B-parameter model. At Q4_K_M it needs about 19.1 GB of memory. The MacBook M4 Pro 24GB has 18 GB usable, so it doesn't fit, even at its smallest quantization.

Speed by quantization

QuantizationFile sizeMemoryGenerationFirst tokenSource
Q4_K_M18.3 GBDoesn't fitWon't run——
Q8_032.6 GBDoesn't fitWon't run——
FP1661.4 GBDoesn't fitWon't run——

Gemma 4 31B on other hardware

Other models on the MacBook M4 Pro 24GB

All models on the MacBook M4 Pro 24GB · Gemma 4 31B 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.