Comprehensive side-by-side LLM comparison
Phi 4 leads with 26.8% higher average benchmark score. Phi-3.5-mini-instruct offers 224.0K more tokens in context window than Phi 4. Both models have similar pricing. Overall, Phi 4 is the stronger choice for coding tasks.
Microsoft
Phi-4 was introduced as the fourth generation of Microsoft's small language model series, designed to push the boundaries of what compact models can achieve. Built with advanced training techniques and architectural improvements, it demonstrates continued progress in efficient, high-quality language models.
Microsoft
Phi-3.5 Mini was developed by Microsoft as a small language model designed to deliver impressive performance despite its compact size. Built with efficiency in mind, it demonstrates that capable language understanding and generation can be achieved with fewer parameters, making AI more accessible for edge and resource-constrained deployments.
3 months newer

Phi-3.5-mini-instruct
Microsoft
2024-08-23

Phi 4
Microsoft
2024-12-12
Cost per million tokens (USD)

Phi 4

Phi-3.5-mini-instruct
Context window and performance specifications
Average performance across 7 common benchmarks

Phi 4

Phi-3.5-mini-instruct
Phi 4
2024-06-01
Available providers and their performance metrics

Phi 4
DeepInfra

Phi-3.5-mini-instruct

Phi 4

Phi-3.5-mini-instruct

Phi 4

Phi-3.5-mini-instruct
Azure