GeForce RTX 4060
NVIDIA
ExcellentRuns Phi-4 Mini Instruct 3.8B Q4_K_M entirely in memory
Model · Microsoft
At Q4_K_M with an 8K context, Phi-4 Mini Instruct 3.8B needs about 4.3 GB: a GPU with 8 GB or more runs it entirely in VRAM.
Official specData updated 24 days agoSource: Hugging Face config.json + model card
| Quantization | File size | Memory needed | Minimum GPU memory | Quality |
|---|---|---|---|---|
| BF16 | 7.2 GB | ~9.4 GB | 10 GB | Reference (unquantized) |
| Q8_0 | 3.8 GB | ~5.9 GB | 8 GB | Near-lossless |
| Q6_K | 2.9 GB | ~5.1 GB | 8 GB | Near-lossless |
| Q5_K_M | 2.7 GB | ~4.7 GB | 8 GB | Very good |
| Q4_K_MMost used | 2.3 GB | ~4.3 GB | 8 GB | Good — the usual choice |
| IQ4_XS | 2.1 GB | ~4.2 GB | 8 GB | Good — the usual choice |
| Q3_K_M | 2 GB | ~3.9 GB | 8 GB | Noticeable loss |
| Q2_K | 1.6 GB | ~3.6 GB | 8 GB | Significant loss |
File sizes: not available until imported from the model repository. Memory = weights (estimated from bits per weight) + KV cache + runtime overhead + safety margin. (BF16 ≈ 16 bpw, Q8_0 ≈ 8.5 bpw, Q6_K ≈ 6.57 bpw, Q5_K_M ≈ 5.7 bpw, Q4_K_M ≈ 4.9 bpw, IQ4_XS ≈ 4.46 bpw, Q3_K_M ≈ 4 bpw, Q2_K ≈ 3.17 bpw)
Q4, Q5 or Q8: how to choose a quantization
| RTX 509032 GB · 64 GB RAM~4.5 GB · 244–425 tok/s estimate | Excellent |
|---|---|
| RTX 409024 GB · 64 GB RAM~4.5 GB · 172–272 tok/s estimate | Excellent |
| RTX 309024 GB · 64 GB RAM~4.5 GB · 164–255 tok/s estimate | Excellent |
| RX 7900 XTX24 GB · 64 GB RAM~4.5 GB · 131–216 tok/s estimate | Excellent |
| RTX 5060 Ti 16 GB16 GB · 64 GB RAM~4.5 GB · 94–134 tok/s estimate | Excellent |
| RTX 5070 Ti16 GB · 64 GB RAM~4.5 GB · 159–246 tok/s estimate | Excellent |
| RTX 508016 GB · 64 GB RAM~4.5 GB · 167–261 tok/s estimate | Excellent |
| RTX 4060 Ti 16 GB16 GB · 64 GB RAM~4.5 GB · 64–89 tok/s estimate | Excellent |
| RTX 4070 Ti SUPER16 GB · 64 GB RAM~4.5 GB · 129–192 tok/s estimate | Excellent |
| RX 9070 XT16 GB · 64 GB RAM~4.5 GB · 101–159 tok/s estimate | Excellent |
| RTX 3060 12 GB12 GB · 64 GB RAM~4.5 GB · 78–109 tok/s estimate | Excellent |
| RTX 407012 GB · 64 GB RAM~4.5 GB · 103–149 tok/s estimate | Excellent |
| RTX 507012 GB · 64 GB RAM~4.5 GB · 129–192 tok/s estimate | Excellent |
| RTX 40608 GB · 64 GB RAM~4.5 GB · 61–84 tok/s estimate | Excellent |
| M3 Ultra (80-core GPU) · 512 GBMac Studio~4.3 GB · 114–250 tok/s estimate | Excellent |
|---|---|
| M4 Max (40-core GPU) · 128 GBMacBook Pro 14, MacBook Pro 16~4.3 GB · 87–166 tok/s estimate | Excellent |
| M3 Max (40-core GPU) · 128 GBMacBook Pro 14, MacBook Pro 16~4.3 GB · 69–122 tok/s estimate | Excellent |
| M4 Pro (20-core GPU) · 64 GBMac mini, MacBook Pro 14~4.3 GB · 50–83 tok/s estimate | Excellent |
| M4 Max (32-core GPU) · 36 GBMacBook Pro 14, MacBook Pro 16~4.3 GB · 70–125 tok/s estimate | Excellent |
| M4 · 32 GBMacBook Air, MacBook Pro 14~4.3 GB · 24–37 tok/s estimate | Excellent |
| M5 · 32 GBMacBook Pro 14~4.3 GB · 30–47 tok/s estimate | Excellent |
| M3 · 24 GBMacBook Air, MacBook Pro 14~4.3 GB · 21–30 tok/s estimate | Excellent |
EstimateData updated 24 days agoSource: Run LLM Locally engine
The KV cache grows with context: at 32K it adds about 4 GB on top of the weights.
Prices and links follow the market you choose.
NVIDIA
ExcellentRuns Phi-4 Mini Instruct 3.8B Q4_K_M entirely in memory
AMD
ExcellentRuns Phi-4 Mini Instruct 3.8B Q4_K_M entirely in memory
Unified memory PC
ExcellentRuns Phi-4 Mini Instruct 3.8B Q4_K_M entirely in memory
No current offer imported for this market: the link opens a marketplace search.