Where to buy Phi 4
1 API providers serve Phi 4. OpenRouter's headline price is $0.07 in / $0.14 out per million tokens.
| Provider | Input $/M | Output $/M | Cache read $/M | Context | Max output | Notes |
|---|---|---|---|---|---|---|
| DeepInfra | $0.06 | $0.11 | Not available | 16.4K | 14.7K |
Prices are what OpenRouter's public listing shows for routing to each provider, refreshed hourly, cheapest first; a provider's direct price can differ. "Discounted" means OpenRouter marks the route as discounted, which may be temporary. Quantization (e.g. fp8) is the precision the provider serves, which can affect output quality.