Phi Models: Small AI That Thinks Big

Microsoft's Phi family proves that size is not everything. The local lineup spans four variants: Phi-3 Mini and Phi-4 Mini at 3.8B, plus Phi-3 Medium and Phi-4 at 14B. Phi-4 Mini loads in about 3.2GB and runs on any 8GB Mac, making it one of the best low-RAM picks we track. At the top, Phi-4 14B needs a 22GB machine and delivers reasoning quality near much bigger models. If your RAM is limited, Phi gives you the most intelligence per gigabyte.

Microsoft4 local models
DEVELOPER
Microsoft
MODELS
4
SIZE RANGE
3.8B–14B
RAM RANGE
624 GB
Bar chart: maximum local LLM size by memory tier. 8 GB runs up to 9B, 12 GB runs up to 12B, 16 GB runs up to 14B, 24 GB runs up to 27B, 32 GB runs up to 35B, 36 GB runs up to 35B, 48 GB runs up to 35B, 64 GB runs up to 70B, 72 GB runs up to 70B, 96 GB runs up to 70B, 128 GB runs up to 70B, 192 GB runs up to 70B, 256 GB runs up to 70B, 512 GB runs up to 405B. Data from ModelFit's own catalog.
Key Features
Best quality-per-gigabyte at small sizes
Phi-4 Mini 3.8B loads in just 3.2GB (7GB min RAM)
Phi-4 14B delivers high reasoning quality from an 11.5GB load
Strong coding ability across the whole lineup
Runs on 8GB MacBook Airs and other low-RAM devices
Simple Ollama setup with phi4-mini and phi4 tags

All Phi Models

ModelSizeQuantVRAMMin RAMBest ForQualityOllama
Phi-3 Mini 3.8B3.8BQ4_K_M3.2 GB6 GBCoding, Chat
65
Phi-4 Mini 3.8B3.8BQ4_K_M3.2 GB6 GBCoding, Chat
73
Phi-3 Medium 14B14BQ4_K_M11 GB16 GBCoding, Quality
75
Phi-4 14B14BQ4_K_M11.5 GB24 GBCoding, Quality
87

Device Compatibility

Which Phi models can run on each device class, based on minimum RAM requirements.

ModeliPhoneAirProStudioMini
Phi-3 Mini 3.8B (3.8B)PossiblePossibleExcellentExcellentExcellent
Phi-4 Mini 3.8B (3.8B)PossiblePossibleExcellentExcellentExcellent
Phi-3 Medium 14B (14B)NoPossiblePossibleExcellentPossible
Phi-4 14B (14B)NoPossiblePossiblePossiblePossible

RAM Requirements

Phi-3 Mini 3.8B
3.2 GB · min 6 GB
Phi-4 Mini 3.8B
3.2 GB · min 6 GB
Phi-3 Medium 14B
11 GB · min 16 GB
Phi-4 14B
11.5 GB · min 24 GB

Frequently Asked Questions

What is the difference between Phi-4 and Phi-4 Mini?
Phi-4 Mini is the 3.8B model: a 3.2GB load and a 7GB RAM minimum, ideal for 8GB Macs. Phi-4 is the 14B model: an 11.5GB load and a 22GB minimum, so it wants a 24GB or 32GB machine.
What RAM does each Phi model need?
Phi-3 Mini and Phi-4 Mini both need 7GB minimum with loads around 3.2GB. Phi-3 Medium 14B needs 20GB and Phi-4 14B needs 22GB. All figures assume the standard Q4 quantization used by Ollama.
What Ollama command runs Phi?
Run `ollama run phi4-mini:3.8b` for the small model or `ollama run phi4:14b-q4_K_M` for the 14B. The previous generation is still available via `ollama run phi3:mini` and `ollama run phi3:medium`.
Is Phi good for coding?
Yes. Phi-4 Mini is a fast, surprisingly capable coding assistant on low-RAM Macs. Phi-4 14B offers high coding quality with slower throughput, making it a solid pick for 24GB machines.

Related Model Families

Getting Started