Coding · Microsoft

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

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

Score
77.8
0–100 scale
Rank
#292
of 600
Percentile
51th
within the index
Benchmark avg
74.0
all models
Leader
96.8
GPT-5.2 Pro
Gap to leader
19.0
points

Score distribution

The chart shows the top 10 models on HumanEval, with Phi-4 Instruct 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 Instruct sits at #292 of 600. The leader, GPT-5.2 Pro, scores 96.8, so the gap to the top is 19.0 points. The median model in this index scores 77.4, which puts Phi-4 Instruct above the midpoint.

Microsoft models average 66.6 on this benchmark. Phi-4 Instruct is 11.2 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 Instruct is 4.4 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 77.8 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.79 per million input tokens, Phi-4 Instruct 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
Seed-OSS Base ByteDance 16384 $3.14 72.2
Llama 3 Anyscale Instruct Anyscale 200000 $3.91 75.7
Mixtral Turbo Chat Together AI 32768 $3.02 71.7
Llama 3 Novita Chat Novita AI 65536 $3.50 74.2
Phi-4 Instruct Microsoft 128000 $3.79 75.3
Gemini 3 Pro Nano Google DeepMind 8192 $9.11 73.2
Llama 3.3 Base Meta AI 32768 $3.63 74.0

Other benchmarks for Phi-4 Instruct

BenchmarkScoreRankPercentileRelative
MMLU-Pro 76.6 289 52th
GPQA Diamond 73.5 186 69th
SWE-bench Verified 62.7 263 56th
MATH-500 80.0 207 66th
AIME 2025 74.0 182 70th
LiveCodeBench 69.8 195 68th
IFEval 80.9 314 48th
TruthfulQA 78.2 251 58th
HellaSwag 83.4 310 48th
MMMU 71.6 253 58th
Arena Elo 1401.7 205 66th

FAQ

What score does Phi-4 Instruct get on HumanEval?

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

How does Phi-4 Instruct rank on HumanEval?

It ranks #292 of 600 models, in the 51st percentile. The leader is GPT-5.2 Pro at 96.8.

Is Phi-4 Instruct 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 Instruct cost?

Phi-4 Instruct costs $3.79 per million input tokens and $17.11 per million output tokens.

Related