Phi-4 14B hardware requirements

14.7B parameters. Needs about 11.2 GB at Q4_K_M with 8K context. Model card.

Memory needed at each quantization

QuantQuality8K context32K context
FP16Full quality31.7 GB36.7 GB
Q8_0Near-lossless17.9 GB22.9 GB
Q6_KExcellent14.3 GB19.4 GB
Q5_K_MVery good12.7 GB17.8 GB
Q4_K_MGood, most popular11.2 GB16.2 GB
Q3_K_MNoticeably degraded9.5 GB14.5 GB
Q2_KHeavily degraded7.8 GB12.8 GB

Run it with Ollama: ollama run phi4:14b (downloads Q4_K_M by default).

Run it in the cloud

Don't want to buy hardware? Run Phi-4 14B on a rented GPU today.

Rent a cloud GPU by the hour. No upfront cost, cancel any time.

Every GPU and Mac checked

GPURuns?Best fit
NVIDIA RTX 3060 12GBYesQ4_K_M · ~11.2 GB · ~24 tok/s
NVIDIA RTX 3070Yes, with heavy quantizationQ2_K · ~7.8 GB · ~49 tok/s
NVIDIA RTX 3080 10GBYes, with heavy quantizationQ3_K_M · ~9.5 GB · ~63 tok/s
NVIDIA RTX 3090YesQ8_0 · ~17.9 GB · ~36 tok/s
NVIDIA RTX 4060Yes, with heavy quantizationQ2_K · ~7.8 GB · ~30 tok/s
NVIDIA RTX 4060 Ti 16GBYesQ6_K · ~14.3 GB · ~14 tok/s
NVIDIA RTX 5060 Ti 16GBYesQ6_K · ~14.3 GB · ~22 tok/s
NVIDIA RTX 4070YesQ4_K_M · ~11.2 GB · ~34 tok/s
NVIDIA RTX 4070 Ti SuperYesQ6_K · ~14.3 GB · ~33 tok/s
NVIDIA RTX 4080YesQ6_K · ~14.3 GB · ~36 tok/s
NVIDIA RTX 4090YesQ8_0 · ~17.9 GB · ~39 tok/s
NVIDIA RTX 5070YesQ4_K_M · ~11.2 GB · ~45 tok/s
NVIDIA RTX 5070 TiYesQ6_K · ~14.3 GB · ~45 tok/s
NVIDIA RTX 5080YesQ6_K · ~14.3 GB · ~48 tok/s
NVIDIA RTX 5090YesFP16 · ~31.7 GB · ~37 tok/s
AMD Radeon RX 7800 XTYesQ6_K · ~14.3 GB · ~31 tok/s
AMD Radeon RX 7900 XTXYesQ8_0 · ~17.9 GB · ~37 tok/s
Apple M4 (16GB)Yes, with heavy quantizationQ3_K_M · ~9.5 GB · ~10 tok/s
Apple M1 (16GB)Yes, with heavy quantizationQ3_K_M · ~9.5 GB · ~6 tok/s
Apple M2 Pro (32GB)YesQ8_0 · ~17.9 GB · ~8 tok/s
Apple M3 Max (64GB)YesFP16 · ~31.7 GB · ~8 tok/s
Apple M4 Pro (48GB)YesFP16 · ~31.7 GB · ~6 tok/s
Apple M4 Max (128GB)YesFP16 · ~31.7 GB · ~11 tok/s
Apple M2 Ultra (192GB)YesFP16 · ~31.7 GB · ~16 tok/s