Phi-4

MicrosoftOpen weights

Phi-4 is an open-weights model from Microsoft. 2 providers list it, from $0.07 per million input tokens and $0.14 per million output tokens (DeepInfra).

Maker
Microsoft
Licence
Open weights
Context window
—
Providers listed
2
Lowest input, per 1M
$0.07
Lowest output, per 1M
$0.14

Providers serving Phi-4

Cheapest first, by the blended rate of three input tokens to one output token. Prices in US dollars per million tokens, as of 26 Oct 2026.

ProviderInputOutputContextToolsJSON modeOpenAI-compatibleModel ID
DeepInfra
$0.07$0.1416.4kYes——phi-4
Microsoft Azure
$0.12$0.50128kNo—Nophi-4

Benchmark scores

Published scores only, each linked to its source. Compare every model in Bench rankings

BenchmarkScore
GPQA Diamond
PhD-level scientific reasoning
56.1%

More from Microsoft