Phi-4
Microsoft's compact model. Surprisingly capable for its size, designed for efficient on-device deployment.
Specifications
| Lab | Microsoft |
|---|---|
| Context window | 16.4K tokens |
| Input price | $0.07/1M |
| Output price | $0.14/1M |
| Release | Jan 2025 |
Strengths
- Runs on-device
- Efficient
- Surprisingly capable for size
Weaknesses
- Limited knowledge breadth
- Weak on complex reasoning
Best for
- On-device AI
- Edge deployment
- Simple classification
In Depth: Phi-4
Summary
Phi-4 is an AI model from Microsoft.
Released in Jan 2025. It currently appears in the Overall category on LMRank. It takes text input and produces text output, with a context window of 16.4K tokens. Input pricing is $0.07 per 1M tokens and output is $0.14 per 1M tokens on OpenRouter.