Can I run Phi-4?

Microsoft's 14B that reasons above its weight, especially at math. 16K context.

reasoninggeneralcoding · sizes: 14B · MIT

What runs it

machinebest fitverdictspeed
Apple M1 · 8GB 14B Q3_K_M ❌ Won't fit
Apple M1 Pro · 16GB 14B Q5_K_M 🐢 CPU-only (slow) 1–2 tok/s
Apple M2 · 16GB 14B Q5_K_M 🐢 CPU-only (slow) 0.6–1 tok/s
Apple M3 Pro · 18GB 14B Q3_K_M ✅ Runs (tight) 9–15 tok/s
Apple M2 Pro · 32GB 14B Q8_0 ✅ Runs (tight) 6–10 tok/s
Apple M4 Pro · 48GB 14B Q8_0 ✅ Runs comfortably 8–14 tok/s
Apple M3 Max · 36GB 14B Q8_0 ✅ Runs comfortably 11–18 tok/s
Apple M2 Max · 64GB 14B Q8_0 ✅ Runs comfortably 11–18 tok/s
Apple M4 Max · 128GB 14B Q8_0 ✅ Runs comfortably 14–25 tok/s
Apple M2 Ultra · 192GB 14B Q8_0 ✅ Runs comfortably 15–25 tok/s
NVIDIA GeForce RTX 3060 · 12GB VRAM 14B Q4_K_M ✅ Runs (tight) 14–25 tok/s
NVIDIA GeForce RTX 4070 · 12GB VRAM 14B Q4_K_M ✅ Runs (tight) 19–30 tok/s
NVIDIA GeForce RTX 4090 · 24GB VRAM 14B Q8_0 ✅ Runs comfortably 25–40 tok/s
NVIDIA GeForce RTX 5080 · 16GB VRAM 14B Q5_K_M ✅ Runs (tight) 30–55 tok/s
NVIDIA GeForce RTX 5090 · 32GB VRAM 14B Q8_0 ✅ Runs comfortably 45–75 tok/s
AMD Radeon RX 7900 XTX · 24GB VRAM 14B Q8_0 ✅ Runs comfortably 25–40 tok/s

Shopping for a machine? What hardware do I need to run Phi-4? →

Check your exact rig: open the checker →

$npx runlocal-sh can-i-run phi-4