Phi 4
by Microsoft
Phi 4 is a model from Microsoft, released on December 12, 2024. It has a 16K-token context window and can generate up to 16K output tokens. API pricing is $0.07 per 1M input tokens and $0.14 per 1M output tokens. It ranks #170 of 220 models by Intelligence Score with a score of 5.4.
phi-4 is a state-of-the-art open model built to excel at advanced reasoning, coding, and knowledge tasks. It leverages a blend of synthetic data, filtered web data, academic texts, and supervised fine-tuning for precision, alignment, and safety.
Key specs
| Provider | Microsoft |
|---|---|
| Release date | 2024-12-12 |
| License | open source |
| Context window | 16K tokens |
| Max output | 16K tokens |
| Input price | $0.07 / 1M tokens |
| Output price | $0.14 / 1M tokens |
| Intelligence Score | 5.4 |
| Coding index | 3.4 |
Quick answers
What is the context window of Phi 4?
Phi 4 has a context window of 16K tokens, with a maximum output of 16K tokens per response.
How much does Phi 4 cost?
Phi 4 costs $0.07 per 1M input tokens and $0.14 per 1M output tokens through the API.
Is Phi 4 open source?
Yes. Phi 4 is an open model released under the open source license.
When was Phi 4 released?
Microsoft released Phi 4 on December 12, 2024.
How does Phi 4 compare to Claude Opus 5.5 (Reasoning)?
Phi 4 scores 5.4 on the Intelligence Score versus 60.5 for Claude Opus 5.5 (Reasoning), the current #1. Input pricing is $0.07 vs $4 per 1M tokens.
Compare on the AI leaderboard · All AI models
More models from Microsoft
- MAI-Thinking-1 (Reasoning) — Microsoft
- MAI-Code-1-Flash (Reasoning) — Microsoft
- MAI-Code-1.1-Flash (Reasoning) — Microsoft
- Phi 4 Reasoning Plus — Microsoft
- Phi 4 Reasoning — Microsoft
- Phi 4 Mini Reasoning — Microsoft