Can Granite Code 34B run on Mac Studio M2 Ultra 64GB?
YES — Runs Great
Granite Code 34B needs ~32.2 GB VRAM. Mac Studio M2 Ultra 64GB has 46.1 GB. With Q4_K_M quantization, expect ~22 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
24.2 tok/s
TTFT
7988 ms
Safe context
8K
Memory
32.2 GB / 46.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 | 22.4 tok/s | 4720 ms | 8K |
| Coding | A | Runs well | 22.4 tok/s | 8654 ms | 8K |
| Agentic Coding | A | Runs well | 22.4 tok/s | 12587 ms | 8K |
| Reasoning | A | Runs well | 22.4 tok/s | 10227 ms | 8K |
| RAG | A | Runs well | 22.4 tok/s | 15734 ms | 8K |
Quantization options
How Granite Code 34B (34B params) fits at each quantization level on Mac Studio M2 Ultra 64GB (46.1 GB usable).
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 13.3 GB | Low | A71 |
Q3_K_S | 3 | 16.7 GB | Low | A72 |
NVFP4 | 4 |
Get started
Copy-paste commands to run Granite Code 34B on your machine.
Run
ollama run granite-code:34bYour hardware
