run it locally
Run Phi-3 Medium 14B on RTX 4070 Ti
14B parameters on a 12 GB card. It fits at Q4_K_M — here's the VRAM math at every quantization, the speed to expect, and the quality you trade.
| quantization | vram needed | fits 12gb? | tokens/sec | quality |
|---|---|---|---|---|
| FP16 (full) | 33.6 GB | ✗ no | — | Reference quality — no quantization loss. |
| Q8_0 | 17.8 GB | ✗ no | — | Near-lossless; rarely worth the extra space over Q6. |
| Q6_K | 13.8 GB | ✗ no | — | Virtually indistinguishable from full precision. |
| Q5_K_M | 11.6 GB | ✗ no | — | Minor loss; an excellent quality-vs-size balance. |
| Q4_K_Mrecommended | 9.4 GB | ✓ yes | ~55 | Small but measurable loss; the popular default. |
| Q3_K_M | 7.2 GB | ✓ yes | ~71 | Noticeable degradation; only when you're tight on VRAM. |
Weights = params × bytes/weight, +20% for KV cache & runtime; usable VRAM is 95% of nameplate. Tokens/sec is a bandwidth ceiling (504 GB/s) — real throughput is lower with long context. Try other combinations →
Running Phi-3 Medium 14B on a RTX 4070 Ti
At Q4_K_M, Phi-3 Medium 14B's weights take about 9 GB, inside the RTX 4070 Ti's 11 GB of usable memory. Small but measurable loss; the popular default. Generation speed is bound by memory bandwidth — the GPU reads the whole model once per token — so expect on the order of 55 tokens/sec before context overhead.
Quantization is the lever
Each step down in precision shrinks the model: FP16 needs about 34 GB, Q4_K_M about 9 GB — a 72% reduction for a small, usually acceptable quality cost. Q5_K_M and Q6_K are near-lossless if you have the headroom; drop to Q3 only when you're genuinely out of VRAM. The quantization guide covers the tradeoffs in detail.
Frequently asked questions
Can a RTX 4070 Ti run Phi-3 Medium 14B?
Yes — Phi-3 Medium 14B fits on a RTX 4070 Ti at Q4_K_M (9 GB of the 11 GB usable), with roughly 55 tokens/sec. Higher-precision quants need more VRAM; the table above shows each option.
How much VRAM does Phi-3 Medium 14B need?
Phi-3 Medium 14B is a 14B-parameter model. At FP16 that's about 34 GB; at Q4_K_M (the popular default) about 9 GB, including ~20% for the KV cache and runtime. Quantization is the main lever — see the per-quant table above.
Other combinations
Phi-3 Medium 14B on other GPUs: RTX 3060 12GB, RTX 4080, RTX 3090, RTX 4090, NVIDIA L4
Other models on the RTX 4070 Ti: Llama 3.1 8B, Gemma 2 9B, Mistral 7B, Qwen2.5 7B, Gemma 2 27B, Qwen2.5 32B
Related
- VRAM calculator — any model, quant and GPU.
- Running models locally — the hardware reality.
- All run-locally combinations →