Architecture: Dense (14.7B total params · max context 16K). At 8K context, Q4_K_M needs ~12.6 GB VRAM (1x RTX 4060 Ti 16GB / RTX 4080 16GB / 24GB Mac) and FP8 needs ~20.6 GB VRAM.
| Precision / Format | Model Weights | KV Cache + Overhead | Total Est. VRAM | Recommended GPU |
|---|---|---|---|---|
| IQ3_XS (3-bit) | 5.6 GB | 3.7 GB | 9.2 GB | 1x RTX 3060 12GB / RTX 4070 12GB / 16GB Mac |
| Q4_K_M / AWQ (4-bit) | 8.5 GB | 4.1 GB | 12.6 GB | 1x RTX 4060 Ti 16GB / RTX 4080 16GB / 24GB Mac |
| FP8 / INT8 (8-bit) | 15.4 GB | 5.1 GB | 20.6 GB | 1x RTX 3090 or RTX 4090 24GB / 36GB Mac |
| FP16 / BF16 (16-bit) | 29.4 GB | 7.2 GB | 36.6 GB | 1x L40S / A6000 48GB or 2x RTX 4090 24GB |
| Hardware | Memory | Q4_K_M (8K Ctx) Fit |
|---|---|---|
| NVIDIA RTX 3090 / RTX 4090 | 24 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| NVIDIA RTX 5090 | 32 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| NVIDIA L40S / RTX A6000 | 48 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| NVIDIA A100 / H100 (Single) | 80 GB VRAM | Fits comfortably (headroom for 16K–32K ctx) |
| Apple Mac Studio (Unified) | 128 GB (approx. 96 GB GPU) | Fits comfortably (headroom for 16K–32K ctx) |
Phi-4 14B requires ~8.5 GB for 4-bit Q4_K_M weights plus ~4.1 GB for 8K KV cache and CUDA runtime overhead, totaling 12.6 GB VRAM.
Fits comfortably (headroom for 16K–32K ctx) at Q4_K_M and 8K context. For long-context serving or multi-user concurrency, consider an on-demand 48GB/80GB cloud GPU.
Total VRAM = (Total Parameters × Bytes per Parameter) + (KV Cache per 1K tokens × Context × Batch) + 15% runtime buffer. Even for Mixture-of-Experts models, all total weights (14.7B) must be loaded in memory.