can-i-run-this-llm

Can I run this LLM?

Can a MacBook Air/Pro M5 (32GB) run Gemma 4 31B?

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

Yes, but it's tight.

Best fit: Gemma 4 31B at Q2_K · 11.8 GB · 8–11 tok/s on a MacBook Air/Pro M5 (32GB).

Every quantization on this machine

QuantSizeSpeedFit
Q2_K11.8 GB8–11 tok/sTight / slow
Q3_K_M14.7 GB6–9 tok/sTight / slow
Q4_K_M18.3 GB5–8 tok/sTight / slow
Q5_K_M21.7 GB4–7 tok/sWon't fit
Q6_K25.2 GB4–6 tok/sWon't fit
Q8_032.6 GB3–4 tok/sWon't fit
FP1661.4 GB2–2 tok/sWon't fit

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