API pricing
Microsoft API pricing
Microsoft API prices run from $0.07 per million input tokens (Phi-4) to $0.62 (WizardLM-2 8x22B). Its highest-ranked model, Phi-4, costs $0.07 input and $0.14 output per million tokens.
Last verified
| Cached input | ||||||
|---|---|---|---|---|---|---|
| Phi-4 (open weights) | $0.07 | $0.14 | — | $0.0875 | 128K | 31.2 |
| Phi-4 Mini (open weights) | $0.075 | $0.30 | — | $0.13 | 128K | 30.9 |
| WizardLM-2 8x22B (open weights) | $0.62 | $0.62 | — | $0.62 | 66K | — |
Prices on other platforms
The same models are often sold through clouds and resellers at different rates.
| Model | Route | Input | Output | Checked |
|---|---|---|---|---|
| Phi-4 | azure | $0.13 | $0.50 | 2026-10-10 |
| openrouter | $0.07 | $0.14 | 2026-10-10 | |
| Phi-4 Mini | azure | $0.075 | $0.30 | 2026-10-10 |
| WizardLM-2 8x22B | openrouter | $0.62 | $0.62 | 2026-10-10 |
Frequently asked questions
How much does the Microsoft API cost?
Microsoft API prices run from $0.07 per million input tokens (Phi-4) to $0.62 (WizardLM-2 8x22B). Its highest-ranked model, Phi-4, costs $0.07 input and $0.14 output per million tokens.