# Phi-4 API prices

Phi-4 (phi) — 128k context, 15k max output.
4 metered per-token offers from 4 provider(s), in USD per 1M tokens.

| Provider | Input $/1M | Output $/1M | Cache read $/1M | Context |
| --- | --- | --- | --- | --- |
| Kilo Gateway | $0.07 | $0.14 | — | 16k |
| OpenRouter | $0.07 | $0.14 | — | 16k |
| Azure | $0.125 | $0.5 | — | 128k |
| Azure Cognitive Services | $0.125 | $0.5 | — | 128k |

## Summary

- Cheapest input: $0.07 per 1M tokens (Kilo Gateway)
- Cheapest output: $0.14 per 1M tokens (Kilo Gateway)
- First-party: not listed separately
- Free offers: none
- Subscription plans (not per-token): none
- Released: 2024-12-11
- Inputs: text

HTML page: https://llmprice.gitlab.io/models/phi-4/
Full dataset: https://llmprice.gitlab.io/data/catalog.json
