AI Hub
All models
LLMOpen weights

Phi 4

Microsoft

Updated May 21, 2026 · Benchmarks via Artificial Analysis, specs & pricing via OpenRouter · Methodology · Report an error

Specifications

Type
LLM
Access
Open weights
Released
January 10, 2025
License
mit
Context window
16,384 tokens
Knowledge cutoff
June 30, 2024
Output speed
33 tok/s
Latency (TTFT)
0.2s
Input
Text
Output
Text
API pricing
$0.07 in · $0.14 out / 1M tokens
Capabilities
Structured output

Benchmarks

Compare Phi 4 with

See all Phi 4 alternatives →