Phi 4 pricing & price history
Phi 4 by Microsoft costs $0.07 per 1M input tokens and $0.14 per 1M output tokens, with a 16K token context window.
Price history
No price changes since tracking began on 2026-09-24. We check hourly.
Cost calculator
Alternatives to Phi 4
| Model | Input | Output | Context | Intel. | |
|---|---|---|---|---|---|
N Nemotron 3.5 Lightning NVIDIA | $0.08 | $0.20 | 262K | 12.9 | compare |
D DeepSeek V4 Flash 0731 DeepSeek | $0.04 | $0.32 | 1.3M | 34.3 | compare |
M Ministral 3 8B 2512 Mistral AI | $0.15 | $0.15 | 262K | 5.5 | compare |
M Llama 4 Scout Meta Llama | $0.10 | $0.30 | 1.3M | — | compare |
X MiMo-V2.6-Flash Xiaomi | $0.14 | $0.28 | 1M | — | compare |
M Llama Guard 4 12B Meta Llama | $0.18 | $0.18 | 164K | — | compare |
O GPT-6 Luna Pro OpenAI | $0.10 | $0.50 | 1.1M | — | compare |
O GPT-6 Luna OpenAI | $0.10 | $0.50 | 1.1M | 37.3 | compare |
About Phi 4
[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...
FAQ
How much does Phi 4 cost?
Phi 4 by Microsoft costs $0.07 per 1M input tokens and $0.14 per 1M output tokens, with a 16K token context window. A typical request with 2,000 input and 500 output tokens costs about $0.0002.
What is the context window of Phi 4?
Phi 4 supports up to 16,384 tokens of context and up to 14,745 output tokens per request.
Has Phi 4’s price changed?
No price changes recorded since ModelBank started tracking it on 2026-09-24.
Is Phi 4 being deprecated?
No retirement date has been announced for Phi 4 as of 2026-09-24.