Ollama RAM, VRAM & Hardware Requirements Guide (Quick Reference) Expand table & FAQ
Running open-weight models locally depends on three bottlenecks: model weights + KV cache memory, memory bandwidth (GPU VRAM vs. CPU RAM), and sustained chassis cooling.
| Parameter Size | Typical Q4_K_M RAM/VRAM | Recommended Hardware | Popular Models |
|---|---|---|---|
| 1B – 4B | 1.3 – 4.5 GB | 4–8 GB RAM, MacBook Air (Fanless), Ultrabooks | llama3.2:3b, qwen3:4b, gemma3:4b, phi4-mini:3.8b |
| 7B – 9B | 5.5 – 7.5 GB | 16 GB RAM Mac/PC or 8 GB GPU VRAM | qwen2.5-coder:7b, qwen3:8b, deepseek-r1:8b, llama3.1:8b |
| 12B – 14B | 9.5 – 12.0 GB | 24 GB Apple Silicon or 12–16 GB GPU VRAM | gemma3:12b, qwen2.5-coder:14b, deepseek-r1:14b, phi4:14b |
| 22B – 32B | 15.0 – 23.5 GB | 32–48 GB Unified Mac or 24 GB RTX 3090/4090 | qwen3:32b, qwen2.5-coder:32b, devstral:24b, gemma3:27b |
| 70B+ / Large MoE | 46.5+ GB | 64–128 GB+ Mac Studio or Multi-GPU Workstation | llama3.3:70b, deepseek-r1:70b, qwen2.5:72b, llama4:scout |
Best Ollama model for 8 GB RAM?
Choose llama3.2:3b for general chat, qwen2.5-coder:1.5b for coding, or deepseek-r1:1.5b for reasoning—leaving ample OS headroom.
Why do 14B models overheat a MacBook Air?
Fanless laptops rely on passive dissipation. Continuous token generation above 10B parameters warms the chassis and reduces clock speeds.
How do I avoid saturating CPU RAM?
Pick a model whose runtime memory (weights + KV cache) fits inside your dedicated GPU VRAM or leaves at least 20% system RAM free.