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.

developer
Microsoft
local models
6
size range
3.8B-14B
RAM range
6-24 GB
Table 1Local builds

All Phi models

6 local models
ModelSizeQuantVRAMMin RAMBest ForQualityOllama
Phi-3 Mini 3.8B3.8BQ4_K_M3.2 GB6 GBCoding, Chat65
Phi-4 Mini 3.8B3.8BQ4_K_M3.2 GB6 GBCoding, Chat73
Phi-4 Mini 3.8B (Q8)3.8BQ8_03.8 GB8 GBCoding, Chat75
Phi-3 Medium 14B14BQ4_K_M11 GB16 GBCoding, Quality75
Phi-4 14B14BQ4_K_M11.5 GB24 GBCoding, Quality86
Phi-4 14B (Q8)14BQ8_014.5 GB24 GBCoding, Quality88

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
Table 2

Device compatibility

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

ModeliPhoneAirProStudioMini
Phi-3 Mini 3.8B (3.8B)PossiblePossibleExcellentExcellentExcellentPossible
Phi-4 Mini 3.8B (3.8B)PossiblePossibleExcellentExcellentExcellentPossible
Phi-4 Mini 3.8B (Q8) (3.8B)PossiblePossibleExcellentExcellentExcellentPossible
Phi-3 Medium 14B (14B)NoPossiblePossibleExcellentPossiblePossible
Phi-4 14B (14B)NoPossiblePossiblePossiblePossiblePossible
Phi-4 14B (Q8) (14B)NoPossiblePossiblePossiblePossiblePossible

RAM requirements

Fig. 1Estimated load per model, with the minimum RAM
Phi-3 Mini 3.8B3.2 GB · min 6 GB
Phi-4 Mini 3.8B3.2 GB · min 6 GB
Phi-4 Mini 3.8B (Q8)3.8 GB · min 8 GB
Phi-3 Medium 14B11 GB · min 16 GB
Phi-4 14B11.5 GB · min 24 GB
Phi-4 14B (Q8)14.5 GB · min 24 GB

Config reports

No speed test run for this family yet. Run the speed test: npx @modelfit/cli@latest bench

Share your config

Every report is reviewed before it appears. No email or account needed.

0/280

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.

Getting started

  1. 01How to Set Up Ollama →
  2. 02Best LLM for iPhone →
  3. 03Browse All Devices →
  4. 04ModelFit Wizard →