Phi-4 Mini (3.8B) has 3.8 billion parameters. At standard 4-bit quantization with 8K context, it needs roughly 4.5 GB of VRAM — weights plus cache and runtime overhead.
VRAM by quantization
| Precision | Weights | Cache/Buffer | Total VRAM |
|---|---|---|---|
| 2-bit (IQ2_XXS) | 1.2 GB | 0.5 GB | 3.7 GB |
| 4-bit (Q4_K_M) | 2.1 GB | 0.5 GB | 4.5 GB |
| 8-bit (Q8_0) | 4.0 GB | 0.5 GB | 6.4 GB |
| 16-bit (FP16) | 7.6 GB | 0.5 GB | 10.1 GB |
Which GPU can run Phi-4 Mini (3.8B) (at 4-bit)?
| GPU class | VRAM | Phi-4 Mini (3.8B) (4.5 GB) |
|---|---|---|
| 8 GB · RTX 5060 / 4060 | 8 GB | Fits |
| 12 GB · RTX 5070 / 3060 | 12 GB | Fits |
| 16 GB · RTX 5070 Ti / 4080 | 16 GB | Fits |
| 24 GB · RTX 4090 / 3090 | 24 GB | Fits |
| 32 GB · RTX 5090 | 32 GB | Fits |
| 48 GB · 2×24 / RTX 6000 Ada | 48 GB | Fits |
| 128 GB · M-series / RTX Spark | 128 GB | Fits |
Microsoft's lightweight reasoning model with long context.
Get the exact number for your setup
Pick your model, quantization, and context length — the calculator shows the full VRAM math and tells you precisely which hardware fits.
Open the Local AI Calculator →
VRAM figures are reproducible estimates (weights + KV cache + overhead) and vary by runtime and quant format. Data current as of 2026-06-15.