Phi 4 Mini Instruct

MicrosoftReleasedJul 26, 2025
Context
131K
Max output
128K
Serving providers
1
Cheapest input
$0.07 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
AzureCheapest$0.07$0.301
ComponentUnitStandardBatchCached
Text input/1M tok$0.0750
Text output/1M tok$0.3000

Price history

input + output $/1M since we started tracking
Input Output
$0.000$0.100$0.200$0.300Mar 11Apr 9Jun 22$0.300$0.075

Cost calculator

estimate your monthly spend on this model
$39
estimated / month

Model IDs

copy the exact identifier for your platform
azure_ai/Phi-4-mini-instruct

Frequently asked questions

Phi 4 Mini Instruct pricing, context and availability

How much does Phi 4 Mini Instruct cost?

Phi 4 Mini Instruct costs $0.07 per 1M input tokens and $0.30 per 1M output tokens at its cheapest provider via Azure.

What is the context window of Phi 4 Mini Instruct?

Phi 4 Mini Instruct accepts up to 131K tokens of context and can return up to 128K output tokens.

What can Phi 4 Mini Instruct do?

Phi 4 Mini Instruct supports tool use.

Other Microsoft models

compare pricing across the Microsoft lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI