Last refreshed 2026-06-15. 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 4 providers to find the best fit for your use caseInput / 1M
$0.065
Output / 1M
$0.14
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: microsoft/phi-4Model ID
microsoft/phi-4Request example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
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 | — | — |
| Featherless | $0.07 | $0.14 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.07 |
| Output tokens | $0.14 |
Capabilities
Structured Outputs
About Phi-4 14B
Phi-4 14B is Microsoft Research's Phi-4 model. Weights are openly available for self-hosting and scores 56.1 on GPQA.
Get Started
Model Specs
Released2024-12-13
Parameters14B
Context16k
ArchitectureDecoder Only
Knowledge cutoff2024-06