← Model list

Phi-4

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

Open-weight instruction model for adaptable chat and self-hosted production workloads

At a glance
Official price$0.125 / $0.50 per 1M
Cache read · Azure Cognitive Services
Lowest paid$0.07 / $0.14
OpenRouter Gateway · 1.8× spread
Context128,000
⚠ Providers report 16,384–128,000; the table below is authoritative
Output limit4,096
Capabilities
ReasoningTool useStructured outputTemperatureAttachments
Modalities
Text
Knowledge cutoff2023-10
Released / updated2024-12-11 / 2025-01-10

Quality & performanceArtificial Analysis · Intelligence Index v4.1

Intelligence4.6
Value53
Coding
Agentic
Output speed39 tok/s
TTFT2.59 s
Value formulaIQ 4.6 ÷ min blended $0.087 = 53

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

Available at 3 providers3 with public prices

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
OpenRouterGateway$0.07$0.1416,38416,384
Azure Cognitive ServicesOfficialFirst-party$0.125$0.50128,0004,096
AzureOfficialFirst-party$0.125$0.50128,0004,096

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

1OpenRouter$21.00
2Azure Cognitive Services · Official$50.00
3Azure · Official$50.00
Switch to OpenRouter to save $29.00/mo (58%)
Note: this is a gateway; verify availability and rate limits yourself.

Related models

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$0.50$02026-08-052026-08-132026-08-05 · Input list $0.1252026-08-06 · Input list $0.1252026-08-07 · Input list $0.1252026-08-08 · Input list $0.1252026-08-09 · Input list $0.1252026-08-10 · Input list $0.1252026-08-11 · Input list $0.1252026-08-12 · Input list $0.1252026-08-13 · Input list $0.1252026-08-05 · Output list $0.502026-08-06 · Output list $0.502026-08-07 · Output list $0.502026-08-08 · Output list $0.502026-08-09 · Output list $0.502026-08-10 · Output list $0.502026-08-11 · Output list $0.502026-08-12 · Output list $0.502026-08-13 · Output list $0.502026-08-05 · Min blended $0.0872026-08-06 · Min blended $0.0872026-08-07 · Min blended $0.0872026-08-08 · Min blended $0.0872026-08-09 · Min blended $0.0872026-08-10 · Min blended $0.0872026-08-11 · Min blended $0.0872026-08-12 · Min blended $0.0872026-08-13 · Min blended $0.087