Coding · Microsoft

Phi-4 Chat on HumanEval: score, rank and what it means

Phi-4 Chat scores 80.7 on HumanEval, placing it #217 of 600 models in the index. The benchmark average is 74.0 and the leader is GPT-5.2 Pro at 96.8.

Score
80.7
0–100 scale
Rank
#217
of 600
Percentile
64th
within the index
Benchmark avg
74.0
all models
Leader
96.8
GPT-5.2 Pro
Gap to leader
16.1
points

Score distribution

The chart shows the top 10 models on HumanEval, with Phi-4 Chat highlighted. Longer bars mean higher scores.

GPT-5.2 Pro 96.8
Gemini 3 Pro Pro 95.0
o4 Max 94.6
Grok 4 Reasoning 93.8
Claude Opus 4.5 93.7
GPT-5.2 Max 93.6
Claude Opus 4.5 Pro 93.4
Grok 4 Max 93.4
GPT-5.2 Turbo 93.2
GPT-5.1 Reasoning 92.9

Top 10 leaderboard

#ModelProviderContextInput / 1MAvg score
1 GPT-5.2 Pro OpenAI 2000000 $21.32 89.6
2 Gemini 3 Pro Pro Google DeepMind 200000 $19.80 87.3
3 o4 Max OpenAI 2000000 $19.51 86.2
4 Grok 4 Reasoning xAI 2000000 $19.67 87.8
5 Claude Opus 4.5 Anthropic 400000 $19.42 87.7
6 GPT-5.2 Max OpenAI 1000000 $21.39 89.2
7 Claude Opus 4.5 Pro Anthropic 200000 $20.98 89.1
8 Grok 4 Max xAI 2000000 $19.70 86.6
9 GPT-5.2 Turbo OpenAI 1000000 $20.73 87.4
10 GPT-5.1 Reasoning OpenAI 400000 $20.27 88.3

What this score means

On HumanEval, Phi-4 Chat sits at #217 of 600. The leader, GPT-5.2 Pro, scores 96.8, so the gap to the top is 16.1 points. The median model in this index scores 77.4, which puts Phi-4 Chat above the midpoint.

Microsoft models average 66.6 on this benchmark. Phi-4 Chat is 14.1 points above that provider line, so it is a stronger result than the average Microsoft model.

Among multimodal models, the average is 82.2. Phi-4 Chat is 1.5 points below that group. This is the more useful comparison if you are shortlisting within the same tier rather than across the whole index.

Read a 80.7 as a relative signal, not an absolute guarantee. Benchmark scores depend on prompt format, evaluation harness and contamination controls. Use this page to narrow the shortlist, then test the model on your own data.

Price context

At $3.66 per million input tokens, Phi-4 Chat is below the median input price of $4.00 across the 600 models scored on HumanEval. The models immediately around it in the ranking are shown below so you can compare score and price together.

ModelProviderContextInput / 1MAvg score
Llama 3 Baseten Baseten 128000 $3.62 74.9
Llama 3 Replicate Replicate 200000 $3.75 75.7
Claude Sonnet 4.5 Mini Anthropic 32768 $11.43 76.5
Llama 3.1 Turbo Chat Together AI 200000 $3.95 76.1
Phi-4 Chat Microsoft 65536 $3.66 74.7
Codestral Mistral AI 65536 $4.19 77.6
GPT-5.1 Mini OpenAI 128000 $12.19 77.7

Other benchmarks for Phi-4 Chat

BenchmarkScoreRankPercentileRelative
MMLU-Pro 78.4 230 62th
GPQA Diamond 70.1 258 57th
SWE-bench Verified 62.2 278 54th
MATH-500 74.9 330 45th
AIME 2025 67.2 309 49th
LiveCodeBench 68.9 210 65th
IFEval 84.0 214 64th
TruthfulQA 79.1 212 65th
HellaSwag 86.4 200 67th
MMMU 70.2 294 51th
Arena Elo 1372.7 309 49th

FAQ

What score does Phi-4 Chat get on HumanEval?

Phi-4 Chat scores 80.7 on HumanEval in this index. The benchmark average is 74.0 and the top score is 96.8.

How does Phi-4 Chat rank on HumanEval?

It ranks #217 of 600 models, in the 64th percentile. The leader is GPT-5.2 Pro at 96.8.

Is Phi-4 Chat good at HumanEval?

Yes, relative to the index: it is above the median and inside the top half of scores. The result should be read alongside its price and context window.

How is the HumanEval score calculated?

HumanEval is a coding benchmark. Scores in this index are modelled estimates on a 0–100 scale (or Elo for Arena), derived from capability tier and benchmark difficulty. They are not official leaderboard results.

What does Phi-4 Chat cost?

Phi-4 Chat costs $3.66 per million input tokens and $14.24 per million output tokens.

Related