Overview
About
Microsoft's 14.7B-parameter small language model (December 2024), open-sourced on Hugging Face under the MIT license. Trained heavily on synthetic data, Phi-4 matches models 5x its size on math and reasoning, outperforming GPT-4o by ~6 points on GPQA and math while running on consumer hardware.
Strengths
- Matches models 5x its size on math and reasoning benchmarks
- Outperforms GPT-4o by ~6 points on GPQA and math
- 82.6 on HumanEval code generation
- Open weights under permissive MIT license
- Runs on consumer hardware (~12GB GPU)
Caveats
- 16K context smaller than larger frontier models
- Text-only (no vision or audio input)
- 14B capacity limits breadth versus frontier LLMs
Tags
Specs
- Company
- Microsoft
- Family
- Phi-4
- Version
- phi-4
- Modalities
- Text
- Context window
- 16,384 tokens
- Release date
- Dec 12, 2024
- License
- MIT
- Open weights
- Yes
- Streaming
- Yes
- Added
- Jul 6, 2026
- Updated
- Dec 5, 2026
Benchmarks (4)
| Benchmark | Score | Max | Source | As of | Notes |
|---|---|---|---|---|---|
HumanEval Curated | 82.6% | 100 | huggingface.coOpens in a new tab | Code generation (vs 78.9 Llama 3.3 70B) | |
LiveBench Coding Ingested from livebench | 30.7% | 100 | livebenchOpens in a new tab | Apr 7, 2025 | |
LiveBench Instruction Following Ingested from livebench | 54.8% | 100 | livebenchOpens in a new tab | Apr 7, 2025 | |
LiveBench Language Ingested from livebench | 29.3% | 100 | livebenchOpens in a new tab | Apr 7, 2025 |
Community
Reviews
Reviews
Comments