can-i-run-this-llm

Can I run this LLM?

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

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

Yes — it runs great.

Best fit: Gemma 4 31B at Q6_K · 25.2 GB · 14–22 tok/s on a MacBook Pro M5 Max (128GB).

Every quantization on this machine

QuantSizeSpeedFit
Q3_K_M14.7 GB23–34 tok/sRuns great
Q4_K_M18.3 GB19–28 tok/sRuns great
Q5_K_M21.7 GB16–25 tok/sRuns great
Q6_K25.2 GB14–22 tok/sRuns great
Q8_032.6 GB11–17 tok/sTight / slow
FP1661.4 GB6–10 tok/sTight / slow

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