Can Gemma 4 31B run on MacBook Pro M2 Max 96GB?
YES — Runs Great
Gemma 4 31B needs ~44.6 GB VRAM. MacBook Pro M2 Max 96GB has 69.1 GB. With Q4_K_M quantization, expect ~10 tok/s.
Operating mode
Choose the run profile you care about
Interactive favors responsiveness, while light API and scale-out lean harder on serving readiness. The fit stays the same, but the recommendation lens changes.
Current mode
Balanced
Balanced for general local use. Keeps the ranking neutral across personal and serving workflows.
Select quantization to explore
Fit status
Runs well
Decode
9.9 tok/s
TTFT
19638 ms
Safe context
43K
Memory
44.6 GB / 69.1 GB
Memory breakdown
See how fast it feels
What limits this setup
This setup is broadly balanced for this model.
Shared-memory contention still exists
The OS, browser, and inference runtime all compete for the same physical memory pool, so real-world headroom is less forgiving than raw capacity suggests.
Best improvement path
Performance by workload
| Workload | Grade | Fit | Decode | TTFT | Context |
|---|---|---|---|---|---|
| Chat | A | Runs well | 9.9 tok/s | 10712 ms | 43K |
| Coding | S | Runs well | 9.9 tok/s | 19638 ms | 43K |
| Agentic Coding | A | Tight fit | 9.4 tok/s | 29993 ms | 43K |
| Reasoning | S | Runs well | 9.9 tok/s | 23209 ms | 43K |
| RAG | A | Tight fit | 9.9 tok/s | 35706 ms | 43K |
Quantization options
How Gemma 4 31B (30.700000762939453B params) fits at each quantization level on MacBook Pro M2 Max 96GB (69.1 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 12.0 GB | Low | A78 |
Q3_K_S | 3 | 15.0 GB | Low | A79 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Gemma 4 31B on your machine.
Run
ollama run gemma4:31bYour hardware
