Language

Phi 4

By MicrosoftReleased December 2024OPEN SOURCE

Phi-4 is Microsoft's 14-billion-parameter open language model, released on December 12, 2024. It is the largest dense model in the Phi-4 line and the base for the Phi-4-reasoning models that followed in 2025.

At a glance

Status
Available
Released
December 2024
Context window
16K tokens
API name
microsoft/phi-4

What it is for

Microsoft positions Phi-4 for complex reasoning and math problem solving at a small size. It is a dense decoder-only transformer, trained for 21 days on data up to June 2024. It handles text only.

Its 16K-token context window is short next to the 128K of the Phi-3.5 and Phi-4-mini models, so long documents are a poor fit.

Specifications

14B parameters, 16K tokens of context, text in and text out. The weights are on Hugging Face as microsoft/phi-4 under the MIT licence. For step-by-step reasoning on the same base, see Phi-4-reasoning and Phi-4-reasoning-plus.

On the chart now

Not on the current chart.

What it can do

Ranking history

Not ranked in any published week yet.

Sources

Facts checked Oct 30, 2026

All Microsoft models

We use cookies

We collect anonymous usage data to understand how MOZGII is used and improve your experience. No data is collected without your permission. Privacy Policy · Cookie Policy