# 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; open-weight; 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 5.9 · math 18 (cited from Artificial Analysis — verify at the source) |
| Cited speed | 40.91 tokens/s · 2.58s to first token (cited from Artificial Analysis — verify at the source) |
| Input modalities | text |
| Output modalities | text |
| Weights | Open-weight |
| Knowledge cutoff | 2024-06-30 |
| Release date | 2025-01-10 |
| Sources | artificial-analysis, committed, models-dev, openrouter-api |
| Last verified | 2026-11-05 |

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