# Microsoft: Phi 4

`microsoft/phi-4` — **openrouter** · CHAT

> Microsoft: Phi 4 (microsoft/phi-4) is a chat model from openrouter with a 16.4K-token context window; input text; output text.

| Field | Value |
| --- | --- |
| Vendor | openrouter |
| Kind | CHAT |
| Context window | 16,384 tokens |
| Max output tokens | 16,384 tokens |
| Indicative price (US list) | $0.07 in / $0.14 out per 1M tokens (indicative US list — verify with vendor) |
| Cited capability index | intelligence index 4.9 · math 18 (cited from Artificial Analysis — verify at the source) |
| Cited speed | 43.647 tokens/s · 0.535s to first token (cited from Artificial Analysis — verify at the source) |
| Input modalities | text |
| Output modalities | text |
| Knowledge cutoff | 2024-06-30 |
| Sources | artificial-analysis, committed |
| Last verified | 2026-07-24 |

*Part of the [Model Catalog](https://openviglet.github.io/model-catalog/) — [openrouter models](https://openviglet.github.io/model-catalog/models/openrouter/) · [Vendor JSON](https://openviglet.github.io/model-catalog/by-vendor/openrouter.json) · [HTML](https://openviglet.github.io/model-catalog/models/openrouter/microsoft-phi-4.html)*
