Phi-4-mini
Summary
Phi-4-mini is an open-weight language model from Microsoft, released on 11 Dec 2024. It accepts text and generates text, with a 128K-token context window and up to 4K output tokens per response. As of 21 Oct 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.
Efficient model for low-latency assistance, extraction, and routine automation
Last verified 21 Oct 2026. Every figure on this page links to its source.
Specifications
| Developer | Microsoft |
|---|---|
| Release date | 11 Dec 2024 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [models.dev] |
| Context window | 128K (128,000 tokens) [models.dev] |
| Max output | 4K tokens [models.dev] |
| Knowledge cutoff | Oct 2023 [models.dev] |
| Input | Text [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | No [models.dev] |
| Tool calling | Yes [models.dev] |
Phi-4-mini 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 | $0.07 | $0.30 | – | 128K | models.dev, 21 Oct 2026 |
Frequently asked questions
What is the context window of Phi-4-mini?
Phi-4-mini has a context window of 128,000 tokens (128K) and can generate up to 4,096 tokens in a single response, according to models.dev.
How much does the Phi-4-mini API cost?
Phi-4-mini is listed from $0.07 per million input tokens and $0.30 per million output tokens (Azure AI Foundry). Prices last verified 21 Oct 2026.
Is Phi-4-mini open source?
Phi-4-mini is an open-weight model. Check the license terms before commercial use.
When was Phi-4-mini released?
Microsoft released Phi-4-mini on 11 Dec 2024, according to models.dev.
Change history
- Added to the directory
- Now listed on Azure AI Foundry