Phi · 14B

Can you run Phi-4 14B locally?

Phi-4 14B is a dense model with 14B parameters. At 4-bit or better it runs on 96 of the 120 hardware configurations listed here; the smallest is the RTX 5080 (16 GB). On a 128 GB DGX Spark it runs at Q8_0, at roughly 10 tokens per second (our est.).

Data as of 2 November 2026

Fastest machines for Phi-4 14B

Every machine that runs it, fastest first. Filter by type; your machine is marked. Compare machines running it side by side

  1. 1RTX 5090Graphics card · 32 GB~91 tok/s ModelFit est.Q8_0 · 15.9 of 31 GB
  2. 2RTX PRO 6000 BlackwellGraphics card · 96 GB~91 tok/s ModelFit est.Q8_0 · 15.9 of 95 GB
  3. 32x RTX 5090Graphics card · 64 GB~88 tok/s ModelFit est.Q8_0 · 15.9 of 62 GB
  4. 42x RTX PRO 6000 BlackwellGraphics card · 192 GB~88 tok/s ModelFit est.Q8_0 · 15.9 of 190 GB
  5. 5RTX 5080Graphics card · 16 GB~81 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  6. 6RTX 5070 TiGraphics card · 16 GB~77 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  7. 7RTX 4080 SUPERGraphics card · 16 GB~62 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  8. 8RTX 4080Graphics card · 16 GB~60 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  9. 9RTX 4070 Ti SUPERGraphics card · 16 GB~57 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  10. 10M5 UltraMac · 96–512 GB · 5 variants~56 tok/s ModelFit est.Q8_0 · 15.9 GB
  11. 11RTX 4090Graphics card · 24 GB~52 tok/s ModelFit est.Q8_0 · 15.9 of 23 GB
  12. 122x RTX 4090Graphics card · 48 GB~51 tok/s ModelFit est.Q8_0 · 15.9 of 46 GB
  13. 13RX 9070 XTGraphics card · 16 GB~50 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  14. 14RTX 3090 TiGraphics card · 24 GB~49 tok/s ModelFit est.Q8_0 · 15.9 of 23 GB
  15. 152x RTX 3090 TiGraphics card · 48 GB~48 tok/s ModelFit est.Q8_0 · 15.9 of 46 GB
  16. 16RTX 3090Graphics card · 24 GB~46 tok/s ModelFit est.Q8_0 · 15.9 of 23 GB
  17. 172x RTX 3090Graphics card · 48 GB~45 tok/s ModelFit est.Q8_0 · 15.9 of 46 GB
  18. 18RX 7900 XTXGraphics card · 24 GB~44 tok/s ModelFit est.Q8_0 · 15.9 of 23 GB
  19. 192x RX 7900 XTXGraphics card · 48 GB~44 tok/s ModelFit est.Q8_0 · 15.9 of 46 GB
  20. 20RTX 5060 TiGraphics card · 16 GB~40 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  21. 21RX 7900 XTGraphics card · 20 GB~38 tok/s ModelFit est.Q8_0 · 15.9 of 19.0 GB
  22. 22M3 UltraMac · 96–512 GB · 5 variants~38 tok/s ModelFit est.Q8_0 · 15.9 GB
  23. 23M2 UltraMac · 64–192 GB · 7 variants~35 tok/s ModelFit est.Q8_0 · 15.9 GB
  24. 24M1 UltraMac · 64–128 GB · 4 variants~31 tok/s ModelFit est.Q8_0 · 15.9 GB
  25. 25M5 MaxMac · 48–128 GB · 3 variants~31 tok/s ModelFit est.Q8_0 · 15.9 GB
  26. 26RX 9060 XTGraphics card · 16 GB~27 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  27. 27M4 MaxMac · 48–128 GB · 3 variants~26 tok/s ModelFit est.Q8_0 · 15.9 GB
  28. 28Tesla P100Graphics card · 16 GB~25 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  29. 29RTX 4060 TiGraphics card · 16 GB~25 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  30. 30M5 Max · 36 GB · 32cMac · 36 GB~23 tok/s ModelFit est.Q8_0 · 15.9 of 24 GB
  31. 31Tesla T4Graphics card · 16 GB~21 tok/s ModelFit est.Q4_K_M · 12.8 of 15.0 GB
  32. 32M3 MaxMac · 48–128 GB · 3 variants~20 tok/s ModelFit est.Q8_0 · 15.9 GB
  33. 33M4 Max · 36 GB · 32cMac · 36 GB~20 tok/s ModelFit est.Q8_0 · 15.9 of 24 GB
  34. 34M2 MaxMac · 32–96 GB · 5 variants~19 tok/s ModelFit est.Q8_0 · 15.9 GB
  35. 35M5 ProMac · 24–64 GB · 6 variants~17 tok/s ModelFit est.Q8_0 · 15.9 GB
  36. 36M1 MaxMac · 32–64 GB · 4 variants~17 tok/s ModelFit est.Q8_0 · 15.9 GB
  37. 37M1 Pro · 32 GBMac · 32 GB~15 tok/s ModelFit est.Q4_K_M · 12.8 of 21 GB
  38. 38M3 MaxMac · 36–96 GB · 2 variants~15 tok/s ModelFit est.Q8_0 · 15.9 GB
  39. 39M4 ProMac · 24–64 GB · 6 variants~14 tok/s ModelFit est.Q8_0 · 15.9 GB
  40. 40M5Mac · 24–32 GB · 4 variants~14 tok/s ModelFit est.Q4_K_M · 12.8 GB
  41. 41M3 Pro · 36 GBMac · 36 GB~14 tok/s ModelFit est.Q4_K_M · 12.8 of 24 GB
  42. 42Ryzen AI Max+ 395 · 64 GBAI mini PC · 64 GB~12 tok/s our est.Q4_K_M · 12.8 of 48 GB
  43. 43Ryzen AI Max+ 395 · 128 GBAI mini PC · 128 GB~12 tok/s ModelFit est.Q8_0 · 15.9 of 96 GB
  44. 44M2 Pro · 32 GBMac · 32 GB~10 tok/s ModelFit est.Q8_0 · 15.9 of 21 GB
  45. 45DGX Spark (GB10)AI mini PC · 128 GB~10 tok/s our est.Q8_0 · 15.9 of 122 GB
  46. 46M4Mac · 24–32 GB · 2 variants~10 tok/s ModelFit est.Q4_K_M · 12.8 GB
  47. 47M6Mac · 24–32 GB · 3 variants~10 tok/s ModelFit est.Q8_0 · 15.9 GB
  48. 48M3 · 24 GBMac · 24 GB~8.9 tok/s slow ModelFit est.Q4_K_M · 12.8 of 16.0 GB
  49. 49M2 · 24 GBMac · 24 GB~8.5 tok/s slow ModelFit est.Q4_K_M · 12.8 of 16.0 GB
Too big for 24 machines

M3 Pro · 18 GB, RTX 5070, RTX 4070 Ti, RTX 4070 SUPER, RTX 4070, RTX 3060, M2 Pro · 16 GB, M1 Pro · 16 GB, M6 · 16 GB · 12c, M6 · 16 GB · 10c, M5 · 16 GB · 10c, M5 · 16 GB · 8c, M4 · 16 GB, M3 · 16 GB, M2 · 16 GB, M1 · 16 GB, RTX 5060, RTX 4060, RTX 3070, RTX 3060 Ti, RTX 2070, M3 · 8 GB, M2 · 8 GB, M1 · 8 GB. Phi-4 14B needs about 12.8 GB at its smallest build.

Speeds are single-user decode estimates, not measurements. "ModelFit est." comes from ModelFit's model fitted on published runs (CC BY 4.0); "our est." is memory bandwidth divided by bytes read per token, times 0.55. Memory is what the best build needs, against what the machine can give a model. Method

About the model

Parameters
14B
Active per token
14B
Type
Dense
Good for
Coding, Quality

Builds and how to run them

QuantizationLoadMin. RAMCommand
Q4_K_M11.5 GB24 GBollama run phi4:14b-q4_K_M
Q8_014.5 GB24 GBollama run phi4:14b-q8_0

Load, minimum RAM and Ollama commands: ModelFit, CC BY 4.0. Load is memory with the model loaded, before long contexts.

Questions

Can I run Phi-4 14B on a Mac?

Yes on a Mac with enough memory: the smallest Apple configuration listed here that runs it at 4-bit or better is the M5 Pro · 24 GB · 20c.

How much memory does Phi-4 14B need?

About 12.8 GB at the smallest build in our data, including a margin for the runtime and an 8K-token context. Longer contexts need more.

Does Phi-4 14B run on a DGX Spark?

Yes, at Q8_0. The Spark has 128 GB of unified memory, about 121.6 GB usable.