Skip to main content

Phi 4 Mini: API pricing, providers and specs

Textby MicrosoftMITReleased Feb 19, 2025

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.

Lowest price$0.30/1Mat Azure
Maker's price—The maker does not sell it
Providers2
Context128KMax output 4K

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.

ProviderInputOutputPrompt cachingContext
Azure$0.075/1M$0.30/1M——
AIHubMix$0.12/1M$0.48/1M—128K
Output price by provider, /1M, cheapest first
  1. Azure$0.30
  2. AIHubMix$0.48
Prices in US dollars, updated daily from each provider. Prices last checked Oct 25, 2026.

Specs

Type
Text
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
Get the weightsHugging Face343K downloads in 30 days

Alternatives to Phi 4 Mini

Same kind of model from other makers, at a similar price.

ModelLowest priceContextArenaProviders
Phi 4 Minithis model$0.30/1M128K—2
GLM-5.3-Flash$0.20/1M1.05M160845
Qwen3.8 27B$0.50/1M262K159133
GPT-6 Luna$0.40/1M1.05M157828
Claude Haiku 5.5$0.30/1M1M158527
MiMo-V2.6-Pro$0.696/1M1.05M162521
Qwen3.8 Flash Next$0.376/1M262K16285
DeepSeek V4 Flash$0.17/1M1.05M—26
DeepSeek V4 Flash Vision Exp$0.294/1M1.05M—26

More from Microsoft

All 25 Microsoft models

Phi 4 Mini FAQ







Can't find what you're looking for? Contact us