Phi-4-mini
Compact Microsoft instruction model tuned for efficient coding assistance, reasoning, and low-latency agent tasks.
- Capability
- —No ECI score yet
- Input
- $0.075per 1M tokens
- Output
- $0.30per 1M tokens
- Context
- 128K4K max output
What it costs
- Input
- $0.075per million tokens
- Output
- $0.30per million tokens
- Blended (3:1)
- $0.131cheaper than 84% of priced models
Typical monthly bills
| Monthly usage | Estimated cost |
|---|---|
| Side project2M input + 0.5M output tokens | $0.30 |
| Team assistant25M input + 5M output tokens | $3.38 |
| Production app250M input + 50M output tokens | $33.75 |
Official Azure API price, as listed on models.dev.
Independent benchmarks
Epoch AI has not published a Capabilities Index score for Phi-4-mini yet.
The details
- Lab
- Microsoft
- Released
- Feb 26, 2025
- Knowledge cutoff
- Jun 2024
- Context window
- 128,000 tokens
- Max output
- 4,096 tokens
- Inputs
- Text
- Output
- Text
- Reasoning
- No
- Tool calling
- Yes
- Structured output
- No
- Weights
- Open weights
- API model ID
phi-4-minion Azure- Availability
- 2 API providerslisted on models.dev
What Microsoft claims
Published by the lab at launch. Settings vary, so compare these only with care.
| Benchmark | Score | Setting | Source |
|---|---|---|---|
| MMLU | 67.3 | — | Source |
More from Microsoft
About Phi-4-mini
How much does Phi-4-mini cost?
Phi-4-mini costs $0.075 input / $0.30 output per million tokens (official Azure API price). At a 3:1 input-to-output mix that is $0.131 per million tokens, cheaper than 84% of the 469 priced models we track.
What is the context window of Phi-4-mini?
Phi-4-mini accepts up to 128,000 tokens per request and can write up to 4,096 tokens in one response.
How good is Phi-4-mini?
Epoch AI has not published a Capabilities Index score for Phi-4-mini yet.
Is Phi-4-mini open source?
Yes. Microsoft publishes the weights, so it can be downloaded and self-hosted.
What inputs does Phi-4-mini support?
Phi-4-mini accepts text and replies in text. It is not a dedicated reasoning model, supports tool calling.
When was Phi-4-mini released?
Microsoft released Phi-4-mini on Feb 26, 2025. Its training data runs to Jun 2024.
What are the best alternatives to Phi-4-mini?
The closest current models from other labs on capability, price and release date are Reka Flash 3 (Reka AI, $0.10 / $0.20), Llama 3.3 Nemotron Super 49B v1 (NVIDIA, $0.15 / $0.15), Gemini 2.0 Flash-Lite (Google, $0.064 / $0.255) and Mistral Small 3.2 24B (Mistral AI, $0.087 / $0.231).