LLM Pricing
PricingLeaderboardsToolsProvidersReleasesGuides

© 2026 LLM Pricing

About
·Contact
·Privacy
·RSS
← 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

Phi-4 by microsoft is offered by 4 providers on this page. Its official list price is $0.125 per 1M input tokens and $0.50 per 1M output tokens. The lowest paid channel is OpenRouter at $0.07 / $0.14 per 1M, about 1.8× below the list price. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it.

Artificial Analysis rates it 5.9 on the Intelligence Index. Against its lowest blended price of $0.087 per 1M, that is roughly 67 index points per dollar, which is the value ratio the leaderboards rank on. Median output speed is 39 tokens per second, with 2.59s to the first token.

The context window is 128,000 tokens at the reference host, but hosts report different limits, from 16,384 to 128,000, so the usable window depends on the provider you pick. It supports structured output. 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.13 / $0.50
Blended $0.22 · Cache read —
Lowest paid·OpenRouterGateway
$0.07 / $0.14
Blended $0.088 · 1.8× spread
Context
128,000
Output limit
4,096
Knowledge cutoff
2023-10
Released / updated
2025-01-10 / 2025-01-10
Capabilities
ReasoningTool use✓ Structured output✓ TemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
Text

Quality & performanceArtificial Analysis · Intelligence Index v4.3

Intelligence5.9
Value67
Coding—
Agentic—
Output speed39 tok/s
TTFT2.59 s
Value formulaIQ 5.9 ÷ min blended $0.087 = 67

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

Available at 4 providers4 with public prices

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
OpenRouterGateway$0.07$0.14——16,384 ⚠14,745
Kilo GatewayGateway$0.07$0.14——16,384 ⚠14,745
AzureOfficialCloud$0.13$0.50——128,0004,096
Azure Cognitive ServicesOfficialCloud$0.13$0.50——128,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
2Kilo Gateway$21.00
3Azure · Official$50.00
4Azure Cognitive Services · Official$50.00
Switch to OpenRouter to save $29.00/mo (58%)
Note: this is a gateway; verify availability and rate limits yourself.

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$0.50$02026-08-052026-08-132026-08-05 · Input list $0.132026-08-06 · Input list $0.132026-08-07 · Input list $0.132026-08-08 · Input list $0.132026-08-09 · Input list $0.132026-08-10 · Input list $0.132026-08-11 · Input list $0.132026-08-12 · Input list $0.132026-08-13 · Input list $0.132026-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.0882026-08-06 · Min blended $0.0882026-08-07 · Min blended $0.0882026-08-08 · Min blended $0.0882026-08-09 · Min blended $0.0882026-08-10 · Min blended $0.0882026-08-11 · Min blended $0.0882026-08-12 · Min blended $0.0882026-08-13 · Min blended $0.088

Artificial Analysis evaluations11 items

GPQA Diamond57.5%
Humanity's Last Exam3.8%
MMLU-Pro71.4%
LiveCodeBench23.1%
Terminal-Bench Hard3.8%
AIME 202518.0%
AIME14.3%
MATH-50081.0%
τ²-Bench Telecom0.0%
AA-LCR0.0%
IFBench23.5%

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-4-mini-reasoningsame series$0.075 / $0.30Phi-4-reasoningsame series$0.13 / $0.50Phi-4-reasoning-plussame series$0.13 / $0.50Ministral 3Bcheaper alternative$0.04 / $0.04Command R7Bcheaper alternative$0.038 / $0.15bySeed 1.6 Flashcheaper alternative$0.075 / $0.30inSchematron V2 Smallcheaper alternative$0.05 / $0.23
Data partly from models.dev (MIT) · Azure official docs ↗