Skip to content

Phi-4

Azure Cognitive ServicesOpen weights

Phi-4 by Azure Cognitive Services costs $0.13 per 1M input tokens and $0.50 per 1M output tokens, with a 128K-token context window.

Pricing

Input (per 1M tokens)
$0.13
Output (per 1M tokens)
$0.50
Cached input (per 1M)
—

Specifications

Provider
Azure Cognitive Services
Context window
128K tokens
Parameters
—
Released
Dec 2024
Open weights
Yes
Frontier model
No

Compare Phi-4 with…

FAQ

How much does Phi-4 cost?

Phi-4 is priced at $0.13 per 1M input tokens and $0.50 per 1M output tokens. Output tokens cost more than input.

What is Phi-4's context window?

Phi-4 supports a context window of 128K tokens — the maximum prompt plus response length it can handle in a single request.

Is Phi-4 open weight?

Yes — Phi-4 has openly available weights.

Data as of 2026-11-01. Source: models.dev (open). Pricing is per 1M tokens (USD); confirm with the provider before production use.