can-i-run-this-llm

Can I run this LLM?

Can a MacBook Pro M2 Max (64GB) run Gemma 4 31B?

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

Yes — it runs great.

Best fit: Gemma 4 31B at Q4_K_M · 18.3 GB · 13–19 tok/s on a MacBook Pro M2 Max (64GB).

Every quantization on this machine

QuantSizeSpeedFit
Q3_K_M14.7 GB15–23 tok/sRuns great
Q4_K_M18.3 GB13–19 tok/sRuns great
Q5_K_M21.7 GB11–17 tok/sTight / slow
Q6_K25.2 GB10–14 tok/sTight / slow
Q8_032.6 GB8–11 tok/sTight / slow
FP1661.4 GB4–6 tok/sWon't fit

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