---
title: Microsoft: Phi 4 — Context Window, Pricing and Modalities
canonical: https://prompeteer.ai/models/microsoft-phi-4
updated: 2026-09-20T00:00:00-07:00
source: OpenRouter /models
---

# Microsoft: Phi 4

Microsoft: Phi 4 offers a 16,384-token context window at $0.07 per 1M input tokens and $0.14 per 1M output tokens.

| Attribute | Value |
| --- | --- |
| Context window | 16,384 tokens |
| Input price | $0.07 / 1M |
| Output price | $0.14 / 1M |
| Input modalities | text |
| Model id | microsoft/phi-4 |

## FAQ

**What is the context window of Microsoft: Phi 4?**

Microsoft: Phi 4 supports up to 16,384 tokens of context.

**How much does Microsoft: Phi 4 cost?**

$0.07 per 1M input tokens and $0.14 per 1M output tokens (via OpenRouter /models, as of Sep 20, 2026).

**What input types does Microsoft: Phi 4 support?**

Microsoft: Phi 4 accepts text.

Source: Data via OpenRouter /models — as of Sep 20, 2026.

## Sources and scope

[OpenRouter model catalogue feed](https://openrouter.ai/api/v1/models)

- [Microsoft: Phi 4 source listing](https://openrouter.ai/microsoft/phi-4)

These are provider-catalog specifications, not a task-quality benchmark. Prices describe the source listing and may vary by provider or routing. Unknown values are shown as — when the feed did not supply that value.

## Try your task

[Open the prompt composer](/create)

Open the composer and choose a supported target model. The reference catalogue may include models unavailable in the composer.
