Microsoft
General LLM
High Value Pick
Microsoft: Phi 4
microsoft/phi-4 · Synced 2026-11-27 12:24
[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...
Leaderboard Rank
#431
Context
16K tokens
Input Price
$0.0700 / 1M
Output Price
$0.1400 / 1M
Technical Specifications & Pricing
| Model ID | microsoft/phi-4 |
|---|---|
| Provider | Microsoft |
| Context Window | 16K tokens |
| Max Output Tokens | 14K tokens |
| Modality | text->text |
| Input Price (per 1M tokens) | $0.0700 / 1M |
| Output Price (per 1M tokens) | $0.1400 / 1M |
| Tokenizer | Other |
| Knowledge Cutoff | 2024-06-30 |
| Release Date | 2025-01-10 |
Estimated Monthly API Cost
Assumes 2,000 input + 500 output tokens per request (30 days); cached column assumes 70% static prompt prefix cache hits.
| Workload | Monthly Volume | Standard Cost | With 70% Cache |
|---|---|---|---|
| Light / Prototype (1K calls/day) | 60M in + 15M out | $6.30 / mo | — |
| Production App (10K calls/day) | 600M in + 150M out | $63.00 / mo | — |
| High-Volume Agent (100K calls/day) | 6B in + 1.5B out | $630 / mo | — |
Side-by-Side Peer Comparison
| Model | Provider | Context | Input | Output | Intelligence | Coding |
|---|---|---|---|---|---|---|
| Microsoft: Phi 4 | Microsoft | 16K | $0.0700 / 1M | $0.1400 / 1M | — | — |
| Anthropic: Claude Fable 5.2 | Anthropic | 1M | $8.00 / 1M | $40.00 / 1M | 64.8 | 0.0 |
| OpenAI: GPT-6.2 Astra | OpenAI | 1.1M | $8.00 / 1M | $40.00 / 1M | 62.2 | 0.0 |
| Google: Gemini 4 Neon | Google DeepMind | 1.0M | $3.00 / 1M | $15.00 / 1M | 61.5 | 0.0 |
| Google: Gemini 4 Carbon | Google DeepMind | 1.0M | $2.00 / 1M | $10.00 / 1M | 60.1 | 0.0 |
| Anthropic: Claude Opus 5.5 | Anthropic | 1M | $4.00 / 1M | $20.00 / 1M | 59.1 | 0.0 |
Capabilities & Modalities
Function Calling / Tools
Reasoning
Vision
✓ Structured Outputs
PDF / File Input
Audio
Video
Image Generation
Web Search
FAQ
What is the context window of Microsoft: Phi 4?
Microsoft: Phi 4 supports a 16K-token context window (modality: text->text).
How much does Microsoft: Phi 4 API usage cost?
Input tokens cost $0.0700 / 1M and output tokens cost $0.1400 / 1M (indexed hourly from OpenRouter).
How does Microsoft: Phi 4 score on AI benchmarks?
Microsoft: Phi 4 is listed in ZICQ's model catalog without published Artificial Analysis benchmark scores yet.