Can I run this LLM?
Can a MacBook Pro M4 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 Q4_K_M · 18.6 GB · 13–20 tok/s on a MacBook Pro M4 Max (128GB).
Every quantization on this machine
| Quant | Size | Speed | Fit |
|---|---|---|---|
| Q3_K_M | 13.2 GB | 16–25 tok/s | Runs great |
| Q4_K_M | 18.6 GB | 13–20 tok/s | Runs great |
| Q5_K_M | 21.9 GB | 12–18 tok/s | Tight / slow |
| Q6_K | 25.3 GB | 11–16 tok/s | Tight / slow |
| Q8_0 | 32.6 GB | 9–13 tok/s | Tight / slow |
| FP16 | 61.4 GB | 5–8 tok/s | Tight / slow |
Open the full calculator →Everything a MacBook Pro M4 Max (128GB) runsGemma 4 31B on other machinesWhat to buy to run it →
Ran Gemma 4 31B on a MacBook Pro M4 Max (128GB)? Add your real numbers →