Phi 4 Mini: API pricing, providers and specs
Phi 4 Mini is a text model by Microsoft. 2 providers serve it, from $0.30 to $0.48 /1M; the lowest price is at Azure.
How Phi 4 Mini compares
Against the 737 text models on the site priced the same way.
- Cheap for its class: at $0.30 /1M, its lowest price undercuts 76% of comparable models (median $1.10).
- Its 128K-token context window is larger than 12% of them (median 262K), about 190 pages of text.
- 2 providers serve it; 36% of comparable models have fewer.
- Its weights are open under the MIT license: commercial use allowed.
Phi 4 Mini prices by provider
Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.
Specs
- Type
- Text
- Maker
- Microsoft
- Inputs
- Text
- Outputs
- Text
- Context
- 128K≈ 190 pages of text
- Max output
- 4K
- Capabilities
- —
- Released
- Feb 19, 2025
- License
- MITcommercial use allowed
- Open weights
- Yes, downloadable
- Parameters
- 3.8B
Alternatives to Phi 4 Mini
Same kind of model from other makers, at a similar price.
| Model | Lowest price | Context | Arena | Providers |
|---|---|---|---|---|
| $0.30/1M | 128K | — | 2 | |
| $0.20/1M | 1.05M | 1608 | 45 | |
| $0.50/1M | 262K | 1591 | 33 | |
| GPT-6 Luna | $0.40/1M | 1.05M | 1578 | 28 |
| Claude Haiku 5.5 | $0.30/1M | 1M | 1585 | 27 |
| $0.696/1M | 1.05M | 1625 | 21 | |
| $0.376/1M | 262K | 1628 | 5 | |
| $0.17/1M | 1.05M | — | 26 | |
| $0.294/1M | 1.05M | — | 26 |
More from Microsoft
Phi 4 Mini FAQ
The lowest price for Phi 4 Mini is $0.30 /1M, at Azure.
Azure, at $0.30 /1M. 2 providers serve Phi 4 Mini; the table above lists every one with its price.
Phi 4 Mini reads up to 128K tokens per request and writes up to 4K.
Yes. Phi 4 Mini's weights can be downloaded from its maker's Hugging Face page, under the MIT license.
About 3.8B, as the safetensors metadata of its official Hugging Face repo states.
2 API providers serve Phi 4 Mini. Compare their prices above, or open a provider to see everything it offers.
Can't find what you're looking for? Contact us