modelgrep
microsoft logo

Microsoft: Phi 4

microsoft/phi-4

177th smartest of 182Cheaper than 90% of paidJSON
Use via OpenRouter ↗
Intelligence
4.9
177th of 182
Design Elo
Speed
tokens/sec
Latency
first token
Input price
$0.070
32nd cheapest
Context
16K
16K max out

How it compares

Smarter than3%
of all ranked models
Cheaper than90%
of all ranked models

Overview

[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...

Benchmarks

independent · Artificial Analysis & Design Arena
Artificial Analysis15th percentile
Intelligence Index
4.9
GPQA Diamond
57%
Humanity's Last Exam
4%
SciCode
26%
Tau²-Bench (agentic)
0%

Providers & pricing (1)

ProviderIn $/MOut $/MUptime
DeepInfrabf16$0.070$0.140100%

Specifications

Context window16K
Max output16K
Knowledge cutoffJun 2024
Input modalitiestext
Output modalitiestext
Prompt caching
Cache read price
ModeratedNo

Phi 4 FAQ

How much does Phi 4 cost?

Phi 4 costs $0.070 per million input tokens and $0.140 per million output tokens via OpenRouter, making it 32nd cheapest of 332 paid models.

How smart is Phi 4?

Phi 4 scores 4.9 on the Artificial Analysis Intelligence Index, ranking 177th of 182 benchmarked models, with a GPQA Diamond score of 57%.

What is Phi 4's context window?

Phi 4 supports a 16K-token context window and can output up to 16K tokens. It accepts text input.

Compare head-to-head