[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...
Specifications
| Provider | Microsoft |
|---|---|
| Context window | 16,384 tokens (16K) |
| Input price | $0.07 / 1M tokens |
| Output price | $0.14 / 1M tokens |
| Input modalities | text |
| Output modalities | text |
| Model ID | microsoft/phi-4 |
Pricing is per 1M tokens, indicative pricing via OpenRouter (updated 2026-08-22); a provider's own list price may differ.
Frequently asked questions
How much does Phi 4 cost?
Indicative pricing (via OpenRouter, updated 2026-08-22) is $0.07 per 1M input tokens and $0.14 per 1M output tokens. A provider's own list price may differ. On Vincony, Phi 4 is available on credit-based pricing alongside 800+ other models.
What is Phi 4's context window?
Phi 4 supports a context window of up to 16,384 tokens (16K), which is how much text it can consider at once.
Who makes Phi 4?
Phi 4 is built by Microsoft. You can access it — and compare it against other providers' models — through Vincony's multi-model platform.
How do I use Phi 4?
You can use Phi 4 directly through Microsoft, or via Vincony, which aggregates 800+ models (including Phi 4) into one interface with side-by-side comparison and credit-based pricing.