Back to AI models

Phi-4

A compact Microsoft model designed for strong reasoning and math relative to its size.

Phi-4 General LLM GA / open weights Open weights: Yes API: Yes and self-hosted

Plain-English Summary

A compact Microsoft model designed for strong reasoning and math relative to its size.

Technical Notes

14B dense text model with 16K context, instruction tuning, and open weights under the MIT license.

Best For

Private assistants, math, reasoning, efficient self-hosted applications

Watch Out For

Shorter context and lower broad knowledge than larger frontier models.

Model Specs

Maker
Microsoft
Country
USA
Family
Phi-4
Type
General LLM
Release date
2024-12-12
Date confidence
Exact
Status
GA / open weights
Context window
16,384 tokens
Max output
16,384
Parameters
14B
Active parameters
14B
Architecture
Dense transformer
Reasoning
Strong general reasoning
Tool calling
Host dependent
Structured output
Host dependent
API available
Yes and self-hosted
Open weights
Yes
Self-hostable
Yes
License
MIT
Inputs
Text
Outputs
Text
Approx. price
See provider pricing
How to access
Provider website
Model / API ID
Phi-4
Knowledge cutoff
Not publicly disclosed
Fine-tuning
Fine-tuning, quantization, self-hosting
Completeness
100 %
Verified
Jul 18, 2026
Snapshot date
Jul 18, 2026
Source
Official source