LLM ReferenceLLM Reference
OpenRouter

Phi-4 14B on OpenRouter

Phi-4 · Microsoft Research

ServerlessOpen Source

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 case
Input / 1M
$0.065
Output / 1M
$0.14
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: microsoft/phi-4
Model ID
microsoft/phi-4

Request 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

ProviderInput (per 1M)Output (per 1M)
OpenRouter$0.07$0.14
Fireworks AI$0.90$0.90
Microsoft Foundry

Pricing

TypePrice (per 1M)
Input tokens$0.07
Output tokens$0.14

Capabilities

Structured Outputs

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.

Get Started

Model Specs

Released2024-12-13
Parameters14B
ArchitectureDecoder Only