Microsoft
ChatCodingReasoningMulti-purpose14B
Chat

Phi-3 Medium 14B Instruct

Phi · MIT

14B model with capable reasoning and coding performance. Fits comfortably on 16 GB GPUs at Q4 and excels at structured output tasks. MIT license makes it attractive for commercial use.

Parameters
14B
Architecture
Dense
Context
128,000 tokens
Released
2024-05-21
Engines
llama.cpp, ollama, ONNX Runtime

Parameters

14B

VRAM

9.7 GB

Context

125K

Formats

4

GPUs

21

Phi-3 Medium 14B Instruct (14B) requires 9.7 GB VRAM at recommended quality (Q5_K_M). At efficient quality (Q4_K_M), it fits in 8.2 GB VRAM, making it compatible with the NVIDIA RTX 4060 Laptop (40-60W). On NVIDIA Grace Blackwell Ultra GB300, expect approximately 230 tok/s at Q8_0. For the best experience, Starter AI Desktop ($582) is recommended.

Source: OwnRig methodology

VRAM (Recommended)

9.7 GB

Quantization

Q5_K_M

File Size

8.4 GB

Max Context

125K tokens

Primary Use

Chat

Memory

VRAM Requirements

QualityQuantizationVRAMFile Size
fullQ8_015.2 GB14 GB
recommendedQ5_K_M9.7 GB8.4 GB
efficientQ4_K_M8.2 GB7 GB
compressedQ3_K_M6.7 GB5.5 GB
Scaling

Context Length Impact

KV cache VRAM at Q5_K_M quality. Longer context = more memory.

ContextKV CacheTotal VRAM
2K205 MB9.9 GB
4K410 MB10.1 GB
8K819 MB10.5 GB
16K1.5 GB11.2 GB
32K3.1 GB12.8 GB
64K6.1 GB15.8 GB

Compatible GPUs

21 devices
NVIDIA Grace Blackwell Ultra GB300Q8_0230 tok/sExcellent
NVIDIA GeForce RTX 4090Q8_055 tok/sExcellent
AMD Radeon Pro W7900Q8_059 tok/sExcellent
NVIDIA GeForce RTX 4060 Ti 16GBQ5_K_M28 tok/sGood
NVIDIA RTX 4080 Laptop (120-150W)Q3_K_M25 tok/sGood
AMD Radeon RX 7900 XTXQ8_047 tok/sGood
NVIDIA RTX PRO 6000 BlackwellQ8_070 tok/sGood
NVIDIA RTX PRO 6000 Blackwell Max-QQ8_064 tok/sGood
AMD Radeon RX 9070Q5_K_M50 tok/sGood
NVIDIA GeForce RTX 5060 Ti 16GBQ5_K_M31 tok/sGood
NVIDIA GeForce RTX 3080 10GBQ3_K_M32 tok/sAcceptable
NVIDIA RTX 4060 Laptop (40-60W)Q3_K_M12 tok/sAcceptable
NVIDIA RTX 4070 Laptop (80-115W)Q3_K_M14 tok/sAcceptable
NVIDIA GeForce RTX 4070 Ti 12GBQ3_K_M35 tok/sAcceptable
NVIDIA RTX 4090 Laptop (150-175W)Q5_K_M24 tok/sAcceptable
AMD Radeon RX 9060 XT 16GBQ5_K_M25 tok/sAcceptable
Apple M3 Pro (18GB Unified)Q3_K_M6 tok/sMarginal
NVIDIA GeForce RTX 4060 8GBQ3_K_M20 tok/sMarginal
AMD Radeon RX 7600Q3_K_M5 tok/sMarginal
NVIDIA GeForce RTX 5060 8GBQ3_K_M23 tok/sMarginal
AMD Radeon RX 9060 XT 8GBQ5_K_MNot viable

Showing 21 of 21 entries

Hardware

Recommended Builds

Complete PC builds that can run Phi-3 Medium 14B Instruct.

FAQ

Frequently Asked Questions

How much VRAM does Phi-3 Medium 14B Instruct need?
Phi-3 Medium 14B Instruct requires 9.7 GB VRAM at recommended quality (Q5_K_M). At lower quality settings, it can fit in as little as 6.7 GB.
What is the best GPU for Phi-3 Medium 14B Instruct?
The NVIDIA Grace Blackwell Ultra GB300 delivers the best performance for Phi-3 Medium 14B Instruct, achieving 230 tok/s at Q8_0 with an excellent rating.
Can I run Phi-3 Medium 14B Instruct on an RTX 4060 Ti?
Yes. On the NVIDIA GeForce RTX 4060 Ti 16GB, Phi-3 Medium 14B Instruct runs at 28 tok/s (Q5_K_M, good).
What quantization should I use for Phi-3 Medium 14B Instruct?
For the best quality, use Q5_K_M (9.7 GB VRAM). If your GPU has limited VRAM, Q3_K_M (6.7 GB) is the most efficient option with acceptable quality.
Is Phi-3 Medium 14B Instruct good for coding?
Phi-3 Medium 14B Instruct supports coding use cases. For the best coding experience, pair it with an embedding model for local RAG.
All models

Data confidence: verified. Source

VRAM requirements are calculated from model parameters and may vary by inference engine, context length, and batch size. Performance estimates are based on community benchmarks and should be verified for your specific configuration.Phi is a trademark of its respective owner. OwnRig is not affiliated with or endorsed by the model creator.