What Models?

Pick the right model for your GPU — in seconds.

Phi-4 14B VRAM requirements: which GPUs can run it locally?

14.7B params 16K max context

The smallest GPU memory that runs Phi-4 14B well is 12 GB (Q4_K_M, e.g. GeForce RTX 5070). 86 of 132 GPUs run it well and 4 more are a tight fit.

MMLU 84.8 SWE-bench Verified 18.6

VRAM needed per quantization

QuantizationWeightsFull 16K
Q4_K_M8.4 GB11.5 GB
Q8_014.5 GB17.6 GB

Weights plus fp16 KV cache. Leave ~1 GB headroom for the inference engine.

Run it locally

Each command downloads the GGUF from Hugging Face, then Ollama starts a chat and llama.cpp starts an OpenAI-compatible server with a web UI on port 8080.

Q4_K_M 8.4 GB bartowski/phi-4-GGUF
Ollama ollama run hf.co/bartowski/phi-4-GGUF:Q4_K_M
llama.cpp llama-server -hf bartowski/phi-4-GGUF:Q4_K_M
Q8_0 14.5 GB unsloth/phi-4-GGUF
Ollama ollama run hf.co/unsloth/phi-4-GGUF:Q8_0
llama.cpp llama-server -hf unsloth/phi-4-GGUF:Q8_0

Cheapest GPUs that can run Phi-4 14B

Lowest launch MSRP among GPUs that run its smallest quantization (Q4_K_M) well, with at least 16K context.

As an Amazon Associate, I earn from qualifying purchases.

GPUs that can run Phi-4 14B

Best quantization that fits on each GPU, with the context and speed it gets. For chips with several memory sizes, the smallest that works is shown.

NVIDIA

AMD

Intel

Apple

  • M1 16 GB Q4_K_M 16K context · ~7 tok/s
  • M1 Pro 16 GB Q4_K_M 16K context · ~20 tok/s
  • M2 16 GB Q4_K_M 16K context · ~10 tok/s
  • M2 Pro 16 GB Q4_K_M 16K context · ~20 tok/s
  • M3 16 GB Q4_K_M 16K context · ~10 tok/s
  • M4 16 GB Q4_K_M 16K context · ~12 tok/s
  • M5 16 GB Q4_K_M 16K context · ~15 tok/s
  • M6 16 GB Q4_K_M 16K context · ~15 tok/s
  • M3 Pro 18 GB Q8_0 16K context · ~9 tok/s
  • M4 Pro 24 GB Q8_0 16K context · ~16 tok/s
  • M5 Pro 24 GB Q8_0 16K context · ~19 tok/s
  • M1 Max 32 GB Q8_0 16K context · ~24 tok/s
  • M2 Max 32 GB Q8_0 16K context · ~24 tok/s
  • M3 Max 36 GB Q8_0 16K context · ~18 tok/s
  • M4 Max 36 GB Q8_0 16K context · ~25 tok/s
  • M5 Max 36 GB Q8_0 16K context · ~28 tok/s
  • M1 Ultra 64 GB Q8_0 16K context · ~34 tok/s
  • M2 Ultra 64 GB Q8_0 16K context · ~34 tok/s
  • M3 Ultra 96 GB Q8_0 16K context · ~35 tok/s
  • M5 Ultra 96 GB Q8_0 16K context · ~51 tok/s
Check your exact setup in the full tool →