Phi 4
AffordableRun locallyMicrosoft's compact research model with strong STEM reasoning.
Small language model excelling at math, coding, and scientific reasoning. Strong performance per parameter ratio for edge deployment.
▼
Phi 4 by Microsoft has a Capability Index of 64.6, making it comparable to the field average. It ranks #61 out of 92 models on the idapt capability leaderboard. Phi 4 is somewhat expensive at $0.07/M tokens input and $0.14/M tokens output. The model supports a 16K context window.
Benchmarks
Category Rankings
Specifications
Performance
Providers
Run locally
Run Phi 4 on your own computer with the Local AI Engine for free, with no rate limits and no third-party AI provider involved. idapt installs it and routes chat to your hardware automatically.
ollama pull phi4:14b-q4_K_M
Misc
Compare with
Frequently Asked Questions about Phi 4▼
When was Phi 4 released?
▼
Phi 4 was released on January 10, 2025.
Who created Phi 4?
▼
Phi 4 was created by Microsoft.
How capable is Phi 4?
▼
Phi 4 has a Capability Index of 64.6/100, making it comparable to the field average. It ranks #61 out of 92 models.
How much does Phi 4 cost?
▼
Phi 4 costs $0.07/M input tokens and $0.14/M output tokens.
What is Phi 4 API pricing?
▼
The Phi 4 API is priced at $0.07 per million input tokens and $0.14 per million output tokens. You can access Phi 4 through idapt.app alongside 200+ other AI models in one workspace.
Is Phi 4 a reasoning model?
▼
No, Phi 4 is not a reasoning model. It responds directly without an extended internal thinking step. For tasks requiring deep chain-of-thought reasoning, consider models like Claude, o-series from OpenAI, or Gemini Thinking.
Does Phi 4 support image or vision input?
▼
No, Phi 4 does not currently support image or vision input. It is a text-only model.
Does Phi 4 support audio?
▼
No, Phi 4 does not support audio input.
What is the context window of Phi 4?
▼
Phi 4 has a context window of 16K tokens, meaning it can process approximately 12,288 words of context at once.
Is Phi 4 open source?
▼
Phi 4 is a proprietary model developed by Microsoft. The model weights and training data are not publicly available.
Where can I use Phi 4?
▼
You can chat with Phi 4 on idapt.app — no separate API key required. idapt is an AI workspace with 200+ models, agents, computers, and tasks. You can also access Phi 4 through Microsoft's own API or platform.