can-i-run-this-llm

Can I run this LLM?

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

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

Yes — it runs great.

Best fit: Gemma 4 31B at Q4_K_M · 18.3 GB · 15–22 tok/s on a MacBook Pro M5 Max (36GB).

Every quantization on this machine

QuantSizeSpeedFit
Q3_K_M14.7 GB18–26 tok/sRuns great
Q4_K_M18.3 GB15–22 tok/sRuns great
Q5_K_M21.7 GB13–19 tok/sTight / slow
Q6_K25.2 GB11–17 tok/sWon't fit
Q8_032.6 GB9–13 tok/sWon't fit
FP1661.4 GB5–7 tok/sWon't fit

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