Last refreshed 2026-05-11. Next refresh: weekly.
Why use Phi-4 14B on OpenRouter?
OpenRouter offers Phi-4 14B with pay-as-you-go pricing at $0.07/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Compare Phi-4 14B across 3 providers to find the best fit for your use caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: microsoft/phi-4microsoft/phi-4Request example
microsoft/phi-4.Gotchas
- Use provider model ID "microsoft/phi-4", not the LLMReference slug "phi-4".
Compare Phi-4 14B Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| OpenRouter | $0.07 | $0.14 |
| Fireworks AI | $0.90 | $0.90 |
| Microsoft Foundry | — | — |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.07 |
| Output tokens | $0.14 |
Capabilities
FAQ
What does Phi-4 14B cost on OpenRouter?
On OpenRouter, Phi-4 14B costs $0.065 per 1M input tokens and $0.14 per 1M output tokens.
What is the context window for Phi-4 14B on OpenRouter?
Phi-4 14B supports a 16,384 token context window on OpenRouter.
How does OpenRouter compare to other Phi-4 14B providers?
Phi-4 14B is available from 3 providers. The cheapest input pricing is $0.065/1M tokens from OpenRouter.
What API model ID do I use for Phi-4 14B on OpenRouter?
Use the model ID microsoft/phi-4 when calling OpenRouter's API.
Who created Phi-4 14B?
Phi-4 14B was created by Microsoft Research as part of the Phi-4 model family.
Is Phi-4 14B open source?
Phi-4 14B is open source according to the seed data.