Home › Providers › microsoft › Microsoft: Phi 4
Microsoft: Phi 4 API Pricing
[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...
How much does Microsoft: Phi 4 cost for a real workload?
At 10M input + 2M output tokens per month, Microsoft: Phi 4 costs about $0.98 ($0.7 input + $0.28 output). Try your own volumes in the cost calculator.
What are cheaper alternatives to Microsoft: Phi 4?
- DeepSeek: DeepSeek V4 Flash Latest — $0.0475 in / $0.1568 out per 1M
- DeepSeek: DeepSeek V4.1 Flash (batch) — $0.05 in / $0.15 out per 1M
- Reka Edge — $0.1 in / $0.1 out per 1M
- Mistral: Ministral 3 3B 2512 — $0.1 in / $0.1 out per 1M
- Google: Gemma 3 12B — $0.05 in / $0.15 out per 1M
- Inception: Mercury 2.5 — $0.04 in / $0.15 out per 1M
Compare Microsoft: Phi 4 with other models
—
Frequently asked questions
How much does Microsoft: Phi 4 cost?
Microsoft: Phi 4 costs $0.07 per 1M input tokens and $0.14 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $0.98.
What is the context window of Microsoft: Phi 4?
Microsoft: Phi 4 has a context window of 16,384 tokens and can return up to 14,745 output tokens per response.
What are cheaper alternatives to Microsoft: Phi 4?
Cheaper models include DeepSeek: DeepSeek V4 Flash Latest ($0.0475 in / $0.1568 out), DeepSeek: DeepSeek V4.1 Flash (batch) ($0.05 in / $0.15 out), Reka Edge ($0.1 in / $0.1 out). See the full list on this page.
Is Microsoft: Phi 4 free to use?
No. Microsoft: Phi 4 is a paid model at $0.07 input / $0.14 output per 1M tokens. 20 free models are listed on the free models page.
Provider: microsoft · Model ID: microsoft/phi-4 · Modality: text->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices