Skip to content
THE AI WIREINTELLIGENCE THAT MATTERS
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 32 of the 326 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.

More from Microsoft
Cheapest input first
  1. WizardLM-2 8x22B$0.62 in · $0.62 out

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