Family · Microsoft
Phi: every size compared
5 Phi models, from Phi-3 Mini (3.82B) to Phi-3.5 MoE (41.9B). The weights go from 7.6 GB to 83.7 GB in BF16, 1.9 GB to 20.9 GB at 4-bit.
| Model | Params | Active | Layers | d | Heads / KV | FFN | Context | BF16 | 8-bit | 4-bit | KV / token |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Phi-3 Mini | 3.82B | – | 32 | 3,072 | 32 / 32 | 8,192 | 4K | 7.6 GB | 3.8 GB | 1.9 GB | 393.2 KB |
| Phi-3.5 Mini | 3.82B | – | 32 | 3,072 | 32 / 32 | 8,192 | 128K | 7.6 GB | 3.8 GB | 1.9 GB | 393.2 KB |
| Phi-4 Mini | 3.84B | – | 32 | 3,072 | 24 / 8 | 8,192 | 128K | 7.7 GB | 3.8 GB | 1.9 GB | 131.1 KB |
| Phi-4 | 14.7B | – | 40 | 5,120 | 40 / 10 | 17,920 | 16K | 29.3 GB | 14.7 GB | 7.3 GB | 204.8 KB |
| Phi-3.5 MoE | 41.9B | 6.64B | 32 | 4,096 | 32 / 8 | 16×6,400 | 128K | 83.7 GB | 41.9 GB | 20.9 GB | 131.1 KB |
Weights at 2, 1 and 0.5 bytes per parameter; KV cache in BF16 for one sequence. Each model's page has the full tensor list and the parameter count worked out.
What changes with size
- The smaller one ties the output head to the embedding (Phi-4 Mini), which saves V × d parameters where the vocabulary is a big share of the model.
- Phi-3.5 MoE is a mixture of experts: 41.9B stored, 6.64B used per token.
Which size fits your GPU
The biggest Phi model whose 4-bit weights and an 8K-token KV cache fit:
- 8 GB: up to Phi-4 Mini at 4-bit
- 12 GB: up to Phi-4 at 4-bit
- 16 GB: up to Phi-4 at 4-bit
- 24 GB: up to Phi-4 at 4-bit
- 48 GB: up to Phi-3.5 MoE at 4-bit
- 80 GB: up to Phi-3.5 MoE at 4-bit
Comparisons
Llama 3.2 3B vs Phi-3 Mini · Phi-4 vs Mistral NeMo 12B · Phi-4 vs Qwen3 14B
Other families: Llama 3 · Llama 4 · Qwen2.5 · Qwen3 · Gemma 2 · Gemma 3 · Mistral · DeepSeek · DeepSeek-R1 distills · gpt-oss · SmolLM · OLMo 2 · Granite · Falcon3