Written by Jakub Rusinowski · Last updated January 6, 2025
Model library → Phi-4 Family → Phi-4 (14B)
A powerhouse for 12GB+ VRAM GPUs. Exceptional reasoning capabilities derived from synthetic textbook quality data.
Phi-4 (14B) needs about 9 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.
| Parameters | 14 Billion |
| Context window | 16,000 |
| Architecture | Dense |
| Provider | Microsoft |
| Licence | MIT |
| Specified at | Q4_K_M |
| System RAM | 16 GB |
| Record updated | 2025-01-06 |
MIT — commercial use permitted. Commercial use permitted. No usage restrictions beyond attribution.
Modelled on a reference NVIDIA RTX 4090 (24 GB), at 8K context. Speed figures are ESTIMATES from the memory-bandwidth roofline described on the methodology page, not benchmarks we ran — rows marked measured come from published or reader-submitted runs. VRAM here includes the KV cache, so it reads higher than the headline figure above, which does not.
| Quant | Weights | VRAM needed | Est. speed | Fit on 24 GB |
|---|---|---|---|---|
| Q2_K | 4.6 GB | 7.1 GB | ~106 tok/s (est.) | Fits comfortably |
| Q3_K_M | 6.0 GB | 8.4 GB | ~89 tok/s (est.) | Fits comfortably |
| Q4_K_M | 8.5 GB | 10.9 GB | ~69 tok/s (est.) | Fits comfortably |
| Q5_K_M | 9.9 GB | 12.4 GB | ~61 tok/s (est.) | Fits comfortably |
| Q6_K | 11.5 GB | 14.0 GB | ~54 tok/s (est.) | Fits comfortably |
| Q8_0 | 14.9 GB | 17.4 GB | ~43 tok/s (est.) | Fits comfortably |
| F16 | 28.0 GB | 30.5 GB | ~4 tok/s (est.) | Offloads to system RAM (slow) |
Want the memory numbers alone, at every quantization level and your own context length? Use the Phi-4 (14B) VRAM calculator.
or compare on Vast.ai from $0.35/hr (typical low · varies)
As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.
The cheapest catalogued GPU that runs Phi-4 (14B) is the Intel Arc B570 (10 GB).
Install Ollama, then run:
ollama run phi4
Weights on Hugging Face: microsoft/phi-4.
Pick a quantization and open it in LM Studio, Ollama, or Jan, or download the raw .gguf file directly. Quant list and sizes resolved from Hugging Face.
| Quant | Size | Download (.gguf) |
|---|---|---|
| Q3_K_M | 5.97 GB (est.) | phi-4-Q3_K_M.gguf |
| Q4_K_M | 8.45 GB (est.) | phi-4-Q4_K_M.gguf |
| Q5_K_M | 9.92 GB (est.) | phi-4-Q5_K_M.gguf |
| Q6_K | 11.48 GB (est.) | phi-4-Q6_K.gguf |
| Q8_0 | 14.88 GB (est.) | phi-4-Q8_0.gguf |
Download in LM Studio: lms get bartowski/phi-4-GGUF
Want this model on your phone? You can run it on your desktop with LM Studio and chat from your iPhone or iPad over an encrypted link — see Run LM Studio Models on Your Phone (LM Link).
Best for: reasoning, math, stem.
← All Phi-4 Family models | VRAM calculator | Build a PC for this model | Check your own hardware