can-i-run-this-llm

Can I run this LLM?

Can a MacBook Pro M5 Pro (24GB) run Gemma 4 31B?

Gemma · Apache 2.0 · estimated for a 24.0 GB machine at 4K context.

Yes, but it's tight.

Best fit: Gemma 4 31B at Q3_K_M · 14.7 GB · 12–18 tok/s on a MacBook Pro M5 Pro (24GB).

Every quantization on this machine

QuantSizeSpeedFit
Q3_K_M14.7 GB12–18 tok/sTight / slow
Q4_K_M18.3 GB10–15 tok/sWon't fit
Q5_K_M21.7 GB9–13 tok/sWon't fit
Q6_K25.2 GB8–11 tok/sWon't fit
Q8_032.6 GB6–9 tok/sWon't fit
FP1661.4 GB3–5 tok/sWon't fit

Ran Gemma 4 31B on a MacBook Pro M5 Pro (24GB)? Add your real numbers →