can-i-run-this-llm

Can I run this LLM?

Can a MacBook Air/Pro M5 (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 · 6–9 tok/s on a MacBook Air/Pro M5 (24GB).

Every quantization on this machine

QuantSizeSpeedFit
Q3_K_M14.7 GB6–9 tok/sTight / slow
Q4_K_M18.3 GB5–8 tok/sWon't fit
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 (24GB)? Add your real numbers →