[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...
Microsoft: Phi 4 — Microsoft. Context window 16,384 tokens. API pricing (per 1M tokens): Input $0.07, Output $0.14. License: Open-Weights. LMArena 1,217. GPQA Diamond 56.1%.
| Provider | Microsoft |
|---|---|
| API model ID | microsoft/phi-4 |
| Tier | Small |
| Context window | 16,384 tokens |
| Max output | 14,745 tokens |
| License | Open-Weights |
| API pricing (per 1M tokens) · Input | $0.07 |
| API pricing (per 1M tokens) · Output | $0.14 |
| LMArena | 1,217 (phi-4) |
| GPQA Diamond | 56.1% |
LMArena (CC-BY 4.0, best reasoning setting, 2026-10-02) · GPQA Diamond: Epoch AI (CC-BY 4.0)
Compare in the full catalog