Skip to content
Model Explorer

Microsoft

Phi 4

textOpen weightactive
Source
Context window
16,384
Maximum output
—
Catalog last checked
11/23/2026
Capabilities
frequency_penaltylogit_biasmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_p
Deployment
API via OpenRouter

Modalities

text

Current pricing

Effective rows only. When two sources disagree, both are shown and neither is picked for you.

input token

$0.07 / 1M tokens

Price unchanged since 10/9/2026, last confirmed 11/23/2026 per OpenRouter model catalog · not yet cross-checked against a second source

output token

$0.14 / 1M tokens

Price unchanged since 10/9/2026, last confirmed 11/23/2026 per OpenRouter model catalog · not yet cross-checked against a second source

Where to use Phi 4

5 providers in the catalog list this model. Resellers and gateways often charge a different price from the model maker; check their terms, rate limits and data policies as well as price.

ProviderInput / 1M tokensOutput / 1M tokens
MicrosoftFirst-party(this page)$0.07$0.14
Kilo Gateway$0.06$0.11
Openrouter$0.07$0.14
Azure$0.13$0.50
Azure Cognitive Services$0.13$0.50