LLM Pricing
PricingLeaderboardsToolsProvidersReleasesGuides

© 2026 LLM Pricing

About
·Contact
·Privacy
·RSS
← Model list

Phi-4-mini

microsoft·microsoft/phi-4-mini·Deprecated·Open weights·phi series
Compact Microsoft instruction model tuned for efficient coding assistance, reasoning, and low-latency agent tasks

Phi-4-mini by microsoft is offered by 4 providers on this page. Public prices are shown for 3 of them. Its official list price is $0.075 per 1M input tokens and $0.30 per 1M output tokens. The lowest paid channel is Azure at $0.075 / $0.30 per 1M, about 2.3× below the list price. It also has 1 free ($0) channel; free tiers usually carry rate limits, and subscription-covered access bills $0 per token only after the subscription fee.

Artificial Analysis rates it 6.3 on the Intelligence Index, with 3.8 for coding. Against its lowest blended price of $0.131 per 1M, that is roughly 48 index points per dollar, which is the value ratio the leaderboards rank on. Median output speed is 45 tokens per second, with 0.83s to the first token.

The context window is 128,000 tokens at the reference host, but hosts report different limits, from 128,000 to 131,072, so the usable window depends on the provider you pick. It supports tool use. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use. Its training knowledge cuts off at 2023-10.

Specs & pricing

Input / output per 1M tokens
Official price·Azure
$0.075 / $0.30
Blended $0.13 · Cache read —
Lowest paid·AzureCloud
$0.075 / $0.30
Blended $0.13 · 2.3× spread
1 more $0 channels
Context
128,000
Output limit
4,096
Knowledge cutoff
2023-10
Released / updated
2024-12-11 / 2024-12-11
Capabilities
Reasoning✓ Tool useStructured output✓ TemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
Text
References
Weights

Quality & performanceArtificial Analysis · Intelligence Index v4.3

Intelligence6.3
Value48
Coding3.8
Agentic—
Output speed45 tok/s
TTFT0.83 s
Value formulaIQ 6.3 ÷ min blended $0.131 = 48

Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.

Available at 4 providers3 with public prices · 1 free

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Nvidia
microsoft/phi-4-mini-instruct
CloudFree——131,072 ⚠8,192deprecated
AzureOfficialCloud$0.075$0.30——128,0004,096
Azure Cognitive ServicesOfficialCloud$0.075$0.30——128,0004,096
NanoGPT
phi-4-mini-instruct
Gateway$0.17$0.68$0.085—128,00016,384

Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.

Your usage cost

1Azure · Official$30.00
2Azure Cognitive Services · Official$30.00
3NanoGPT$57.80

1 more channels offer $0 (Nvidia); free tiers usually have rate limits and no SLA, excluded from ranking.

The cheapest paid channel is official.

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$0.30$02026-08-082026-08-132026-08-08 · Input list $0.0752026-08-09 · Input list $0.0752026-08-10 · Input list $0.0752026-08-11 · Input list $0.0752026-08-12 · Input list $0.0752026-08-13 · Input list $0.0752026-08-08 · Output list $0.302026-08-09 · Output list $0.302026-08-10 · Output list $0.302026-08-11 · Output list $0.302026-08-12 · Output list $0.302026-08-13 · Output list $0.302026-08-08 · Min blended $0.132026-08-09 · Min blended $0.132026-08-10 · Min blended $0.132026-08-11 · Min blended $0.132026-08-12 · Min blended $0.132026-08-13 · Min blended $0.13

Benchmark1 items

NameConditionsScoreMetricSource
MMLU—67.3accuracySource ↗

The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.

Artificial Analysis evaluations12 items

GPQA Diamond33.1%
Humanity's Last Exam4.4%
MMLU-Pro46.5%
LiveCodeBench12.6%
Terminal-Bench Hard0.0%
Terminal-Bench 2.10.4%
AIME 20256.7%
AIME3.0%
MATH-50069.6%
τ²-Bench Telecom8.2%
AA-LCR15.3%
IFBench21.1%

Individual evaluations run by Artificial Analysis, on the same reasoning tier as the intelligence score above. Each benchmark has its own task set and harness, so rows are not comparable with one another. The Intelligence Index above draws on a different, newer set of evaluations.

Related models

Phi-4same series$0.13 / $0.50Phi-4-mini-reasoningsame series$0.075 / $0.30Phi-4-reasoningsame series$0.13 / $0.50Ministral 3Bcheaper alternative$0.04 / $0.04Command R7Bcheaper alternative$0.038 / $0.15inSchematron V2 Turbocheaper alternative$0.03 / $0.15Lyria 3 Clip Previewcheaper alternative$0 / $0
Data partly from models.dev (MIT) · Azure official docs ↗