← Model list

Phi-4-mini

microsoft·microsoft/phi-4-mini·GA·Open weights·phi series

Compact Microsoft instruction model tuned for efficient coding assistance, reasoning, and low-latency agent tasks

At a glance
Official price$0.075 / $0.30 per 1M
Cache read · Azure Cognitive Services
Lowest paid$0.075 / $0.30
Azure Cognitive Services First-party · 2.3× spread
1 more $0 channels
Context128,000
⚠ Providers report 128,000–131,072; the table below is authoritative
Output limit4,096
Capabilities
ReasoningTool useStructured outputTemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
Text
Knowledge cutoff2023-10
Released / updated2024-12-11 / 2024-12-11

Quality & performanceArtificial Analysis · Intelligence Index v4.1

Intelligence5.7
Value43
Coding3.8
Agentic
Output speed44 tok/s
TTFT0.86 s
Value formulaIQ 5.7 ÷ min blended $0.131 = 43

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
First-partyFree131,0728,192
Azure Cognitive ServicesOfficialFirst-party$0.075$0.30128,0004,096
AzureOfficialFirst-party$0.075$0.30128,0004,096
NanoGPT
phi-4-mini-instruct
Gateway$0.17$0.68$0.085128,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 Cognitive Services · Official$30.00
2Azure · 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.

Benchmark1 items

NameConditionsScoreMetricSource
MMLU67.3accuracySource ↗

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

Related models

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.1312026-08-09 · Min blended $0.1312026-08-10 · Min blended $0.1312026-08-11 · Min blended $0.1312026-08-12 · Min blended $0.1312026-08-13 · Min blended $0.131