Model Comparison → Microsoft
Phi-4
Phi-4 by Microsoft. Input: $0.070/M tokens · Output: $0.14/M tokens · 16K context window.
✗ Vision✗ Tool use✗ Prompt caching✗ ReasoningFast
Pricing (verified 2026-08-19)
| Type | Price / 1M tokens | Notes |
|---|---|---|
| Input | $0.070 | Per 1M input tokens |
| Output | $0.14 | Per 1M output tokens |
Source: Microsoft official pricing page · Last verified 2026-08-19
Context Window
16K tokens
≈ 12K words · 0 pages of text
Calculate your Phi-4 costs
Prompt Cost Calculator
Exact cost for your prompt
Agent Cost Calculator
Multi-step agent loops
Prompt Caching Calculator
Caching savings
Conversation Cost
Chat history strategies
Other Microsoft models
Pricing verified 2026-08-19 from Microsoft official pricing. All prices in USD per 1M tokens. See methodology and price changelog.