Phi-4 from Microsoft: $0.07 input and $0.14 output per 1M tokens, 16,384 context. Compact Microsoft model trained on synthetic data for reasoning, math, and coding in English Data last refreshed Nov 30, 2026, 07:15 AM UTC.
Microsoft · phi
Phi-4
Compact Microsoft model trained on synthetic data for reasoning, math, and coding in English
$0.07 in · $0.14 out
per 1M tokens · provider rate closest to the median. No first-party Microsoft price was listed. The reference price is Deep Infra's rate, the provider closest to the median.
Provider input prices run from $0.07 to $0.13 per 1M tokens. Output prices run from $0.14 to $0.50.
- Context
- 16,384
- Max output
- 16,384
- Cache read
- —
- Cache write
- —
- Reasoning
- No
- Tool calls
- No
- Structured output
- Unknown
- Vision
- No
- Open weights
- Yes
- License
- MIT
- Released
- Dec 12, 2024
- Updated in source
- Dec 12, 2024
- Knowledge
- 2024-06
- Providers
- 5
Providers
| Provider | Input | Output | Cache read | Cache write | Status |
|---|---|---|---|---|---|
| Deep Infrareference | $0.07 | $0.14 | — | — | — |
| Eden AI | $0.07 | $0.14 | — | — | — |
| Hugging Face | $0.07 | $0.14 | — | — | — |
| Azure | $0.13 | $0.50 | — | — | — |
| Azure Cognitive Services | $0.13 | $0.50 | — | — | — |