PhiText LLMMITDec 2024

Phi-4 14B

Phi-4 14B is Microsoft's late-2024 release that pushes synthetic-data training to its limit — beats Llama 3.3 70B on MATH and GPQA Diamond despite being 5x smaller. The MIT license is permissive for commercial use. Fits in 16 GB VRAM at Q4_K_M with usable context. Weakness: only a 16K context window, and limited multilingual depth versus Qwen.

Parameters
14B
dense
Context
16K
tokens
Min VRAM (Q4)
8.5 GB
weights only
Run locally?
YES
fits ≤48 GB GPU
Quick answer

What hardware do I need to run Phi-4 14B?

Phi-4 14B needs at minimum 8.5 GB of VRAM at Q4_K_M quantization (30.8 GB at FP16). The cheapest GPU that comfortably fits with KV-cache headroom is the Intel Arc A580 12GB (variant) [VERIFY] (12 GB VRAM, $219 MSRP). Community benchmark submissions are open. This model fits a single consumer GPU under 48 GB, so a one-card build works.

Source: MyAIHardware model card: Phi-4 14B (Phi, 14B params)As of 2024-12-12

TL;DR, what to buy

Recommended GPU
Intel Arc A580 12GB (variant) [VERIFY]
12 GB VRAM · $219 MSRP
Min VRAM at Q4_K_M
8.5 GB
+ ~20-30% headroom for KV cache
Best measured speed
no community benchmarks yet
submit yours below

VRAM requirements by quantization

Weights only. Add ~20-30% for KV cache at typical context lengths.

QuantVRAMQualityNotes
FP1630.8 GBReferenceTraining-precision weights
Q8_015.4 GBNear-lossless8-bit, ~0.1% perplexity hit
Q6_K12.5 GBVery high6-bit, near Q8 quality
Q5_K_M10.6 GBHighStrong middle ground
Q4_K_M8.5 GBBalanced (recommended)Default for local deployments
Q4_08.7 GBLegacy 4-bitOlder GGUF, kept for compatibility
Q3_K_M6.6 GBLossyWhen VRAM is very tight
Q2_K4.9 GBExtremeRescue option, quality degrades visibly
Open the VRAM calculator with KV cache + batch size

GPUs that fit this model

Filtered from MyAIHardware's GPU database. FP16 needs 30.8 GB; Q4_K_M needs 8.5 GB.

At full precision (FP16)

  • Apple Mac mini (M4, 32 GB)32 GB · $999
  • AMD Radeon AI PRO R970032 GB · $1,299
  • Apple MacBook Air 13" (M4, 32 GB)32 GB · $1,399
  • Apple Mac mini (M2 Pro, 32 GB)32 GB · $1,699
  • Apple Mac mini (M4 Pro, 48 GB)48 GB · $1,799
  • NVIDIA RTX 509032 GB · $1,999
  • Apple Mac Studio (M1 Max, 32 GB)32 GB · $1,999
  • Apple Mac Studio (M2 Max, 32 GB)32 GB · $1,999
  • Apple Mac Studio (M4 Max, 36 GB)36 GB · $1,999
  • Apple Mac mini (M4 Pro, 64 GB)64 GB · $2,199

At Q4_K_M quantization

  • Intel Arc B57010 GB · $219
  • Intel Arc A580 12GB (variant) [VERIFY]12 GB · $219
  • Intel Arc B58012 GB · $249
  • NVIDIA GeForce RTX 2060 (12 GB refresh)12 GB · $299
  • Intel Arc Pro B5016 GB · $299
  • AMD RX 7600 XT16 GB · $329
  • Intel Arc A770 16GB16 GB · $329
  • NVIDIA GeForce RTX 3060 (12 GB)12 GB · $329
  • AMD RX 9060 XT 16GB16 GB · $349
  • Intel Arc B770 16GB [VERIFY]16 GB · $349
  • AMD RX 7700 XT12 GB · $399
  • NVIDIA RTX 5060 Ti 16GB16 GB · $429

Community benchmarks

We don't have community benchmarks for this exact model yet.

No benchmarks yet for this exact model. Submit your own measurement.

Where to download

Official weights + popular runtime tags.

Hugging Face
Official weights
Open on Hugging Face
Ollama
One-line install
ollama pull phi4
LM Studio
GGUF format
lms get bartowski/phi-4-GGUF

Related tutorials

Step-by-step guides that use this model.

Compare with other open models

Models in a similar size or capability class.

Cite this model card

Use these in papers, blog posts, or internal docs.

BibTeX
@misc{phi-4-14b-2024,
  title={Phi-4 14B},
  author={Microsoft Research},
  year={2024},
  url={https://huggingface.co/microsoft/phi-4}
}
APA
Microsoft Research (2024). Phi-4 14B [Model card]. Hugging Face. https://huggingface.co/microsoft/phi-4
Plain text
Phi-4 14B (Phi, Microsoft Research, 2024). Available at https://huggingface.co/microsoft/phi-4.
Browse the full model catalog
30 deep-dive pages covering every major open model.
All 30 models