Can Gemma 4 31B run on Mac Studio M3 Ultra 96GB?
YES — Runs Great
Gemma 4 31B needs ~44.6 GB VRAM. Mac Studio M3 Ultra 96GB has 69.1 GB. With Q4_K_M quantization, expect ~23 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
23.7 tok/s
TTFT
8181 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 | S | Runs well | 22.5 tok/s | 4685 ms | 43K |
| Coding | S | Runs well | 22.5 tok/s | 8590 ms | 43K |
| Agentic Coding | S | Tight fit | 22.5 tok/s | 12495 ms | 43K |
| Reasoning | S | Runs well | 22.5 tok/s | 10152 ms | 43K |
| RAG | S | Tight fit | 22.5 tok/s | 15618 ms | 43K |
Quantization options
How Gemma 4 31B (30.700000762939453B params) fits at each quantization level on Mac Studio M3 Ultra 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
