Skip to content
Microsoft

Phi 4 API pricing.

Phi 4 is Microsoft’s model on the API market, released 10 Jan 2025. Prices are per million tokens in USD, as last read from the price list.

$0.070Input / 1M
$0.14Output / 1M
16KContext
15KMax output
Specification
USD per million tokens
Provider
Microsoft
Model id
microsoft/phi-4
Input
$0.070
Output
$0.14
Cached input
Not published
Context window
16K tokens
Maximum output
15K tokens
Takes
text
Returns
text
Tool use
Not reported
Reasoning
Not reported
Released
10 Jan 2025
First tracked
17 Sept 2026

At $0.070 per million input tokens, Phi 4 is dearer than 35 of the 340 models on the price list.

Price changes
Tracked since 17 Sept 2026

No price change has been recorded since tracking began on 17 Sept 2026. Prices are checked every six hours, and any change is listed here and on model changes.

Want an email when this model's price changes? Tell us →

Prices and specifications come from OpenRouter’s catalogue, last read 2 Nov 2026. A provider’s own price may differ; how this is collected.