Phi-4-mini-reasoning
Summary
Phi-4-mini-reasoning is an open-weight language model from Microsoft, released on 30 Apr 2025. It accepts text and generates text, with a 128K-token context window and up to 128K output tokens per response. As of 3 Dec 2026, the lowest listed API price is $0.07 per million input tokens and $0.30 per million output tokens (Azure AI Foundry), across 1 provider we track.
Compact 3.8B Microsoft reasoning model for step-by-step math problem solving on constrained hardware
Last verified 3 Dec 2026. Every figure on this page links to its source.
Specifications
| Developer | Microsoft |
|---|---|
| Release date | 30 Apr 2025 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [models.dev] |
| Context window | 128K (128,000 tokens) [models.dev] |
| Max output | 128K tokens [models.dev] |
| Knowledge cutoff | Feb 2025 [models.dev] |
| Input | Text [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | Yes [models.dev] |
| Tool calling | No [models.dev] |
Phi-4-mini-reasoning API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| Azure AI Foundry phi-4-mini-reasoning | $0.07 | $0.30 | – | 128K | models.dev, 3 Dec 2026 |
Frequently asked questions
What is the context window of Phi-4-mini-reasoning?
Phi-4-mini-reasoning has a context window of 128,000 tokens (128K) and can generate up to 128,000 tokens in a single response, according to models.dev.
How much does the Phi-4-mini-reasoning API cost?
Phi-4-mini-reasoning is listed from $0.07 per million input tokens and $0.30 per million output tokens (Azure AI Foundry). Prices last verified 3 Dec 2026.
Is Phi-4-mini-reasoning open source?
Phi-4-mini-reasoning is an open-weight model. Check the license terms before commercial use.
When was Phi-4-mini-reasoning released?
Microsoft released Phi-4-mini-reasoning on 30 Apr 2025, according to models.dev.
Similar models from other labs
Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.
| Model | Lab | Released | Context | Input $/1M | Output $/1M | Weights |
|---|---|---|---|---|---|---|
| Qwen 3.32B | Alibaba (Qwen) | 28 Apr 2025 | 128K | $0.08 | $0.28 | Open |
| Llama-4-Scout-17B-16E-Instruct-FP8 | Meta | 5 Apr 2025 | 128K | $0.10 | $0.30 | Open |
| UI-TARS 1.5 7B | ByteDance Seed | 16 Apr 2025 | 128K | $0.10 | $0.20 | Open |
| Llama Guard 4 12B | Meta | 29 Apr 2025 | 164K | $0.18 | $0.18 | Open |
| Mistral Small 3.1 24B Instruct | Mistral AI | 17 Mar 2025 | 128K | $0.10 | $0.30 | Open |
| GLM-4-32B-0414-128K | Zhipu AI (Z.ai) | 14 Apr 2025 | 128K | $0.10 | $0.10 | Open |
Change history
- Added to the directory
- Now listed on Azure AI Foundry