How to choose: memory first, then bandwidth
Decide the largest model you want to run, then make sure the hardware can hold it with room for context (see the memory calculator). Among options that fit, memory bandwidth decides speed. Everything else (CPU cores, storage) matters far less for running models.
The options compared
| Hardware | Memory for the model | Bandwidth |
|---|---|---|
| Mac mini M6 32GB | ~28 GB | 170 GB/s |
| Mac mini M5 Pro 64GB | ~60 GB | 307 GB/s |
| Mac Studio M5 Max 128GB | ~124 GB | 614 GB/s |
| Mac Studio M5 Ultra 512GB | ~508 GB | 1200 GB/s |
| PC with NVIDIA RTX 4090 | 24 GB | 1,008 GB/s |
| PC with NVIDIA RTX 5090 | 32 GB | 1,792 GB/s |
| NVIDIA DGX Spark | 124 GB | 273 GB/s |
| Hardware | Qwen3 32B (Q4_K_M) | Llama 3.3 70B (Q4_K_M) | gpt-oss 120B (MXFP4) |
|---|---|---|---|
| Mac mini M6 32GB | ~6.4 | doesn't fit | doesn't fit |
| Mac mini M5 Pro 64GB | ~11.5 | ~5.4 | doesn't fit |
| Mac Studio M5 Max 128GB | ~23.0 | ~10.7 | 87.9 |
| Mac Studio M5 Ultra 512GB | ~45.0 | ~20.9 | ~191 |
| PC with NVIDIA RTX 4090 | ~37.8 | doesn't fit | doesn't fit |
| PC with NVIDIA RTX 5090 | ~67.2 | doesn't fit | doesn't fit |
| NVIDIA DGX Spark | ~10.2 | ~4.8 | ~43.4 |
Picks by use
- Trying local AI, small models (7B–14B): a Mac mini M6 with 32 GB, or any recent Mac with 16 GB+.
- Daily assistant and coding (up to 32B, fast MoE): Mac mini M5 Pro, 48 or 64 GB.
- 70B dense, 100B+ MoE, long documents: Mac Studio M5 Max with 128 GB.
- The largest open models (200B+): Mac Studio M5 Ultra with 256 or 512 GB.
- Maximum speed on models ≤ 30 GB, or gaming too: an RTX 5090 PC.
- CUDA development and fine-tuning: DGX Spark (see DGX Spark vs Mac).
FAQ
What's the best hardware for running LLMs locally?
For most people running models up to 32B, a Mac mini M5 Pro with 48–64 GB is the best value: quiet, compact, and enough memory for 32B dense and fast 30B mixture-of-experts models. For 70B and 100B+ models, a Mac Studio with 128 GB or more fits what single consumer GPUs can't. An RTX 4090 or 5090 PC is fastest for models that fit in 24–32 GB of VRAM. NVIDIA's DGX Spark makes sense mainly if you need the CUDA stack.
Is a Mac or a PC better for local LLMs?
A PC with a high-end NVIDIA GPU is faster for models that fit in its VRAM (24–32 GB on consumer cards). A Mac with lots of unified memory can run much larger models on one machine, quietly, at lower speed per model size.
How much memory do I need for local AI?
About the model's size plus a few GB: 16–24 GB for 7B–14B models, 32–48 GB for 32B, 64 GB+ for 70B, and 128 GB for 100B+ mixture-of-experts models like gpt-oss 120B.
See any model on the exact Mac you're considering.
Sources
- Apple: Mac mini tech specs
- Apple: Mac Studio tech specs
- NVIDIA: NVIDIA RTX 4090
- NVIDIA: NVIDIA RTX 5090
- NVIDIA: NVIDIA DGX Spark
Speeds come from published measurements (with source links) or labeled estimates. How we measure