Coding · Baidu

ERNIE 4.0 Mini on HumanEval: score, rank and what it means

ERNIE 4.0 Mini scores 75.3 on HumanEval, placing it #337 of 600 models in the index. The benchmark average is 74.0 and the leader is GPT-5.2 Pro at 96.8.

Score
75.3
0–100 scale
Rank
#337
of 600
Percentile
44th
within the index
Benchmark avg
74.0
all models
Leader
96.8
GPT-5.2 Pro
Gap to leader
21.5
points

Score distribution

The chart shows the top 10 models on HumanEval, with ERNIE 4.0 Mini 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, ERNIE 4.0 Mini sits at #337 of 600. The leader, GPT-5.2 Pro, scores 96.8, so the gap to the top is 21.5 points. The median model in this index scores 77.4, which puts ERNIE 4.0 Mini below the midpoint.

Baidu models average 80.6 on this benchmark. ERNIE 4.0 Mini is 5.3 points below that provider line, so it is a weaker result than the average Baidu model.

Among mid-range models, the average is 71.5. ERNIE 4.0 Mini is 3.8 points above that group. This is the more useful comparison if you are shortlisting within the same tier rather than across the whole index.

Read a 75.3 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 $7.11 per million input tokens, ERNIE 4.0 Mini is above 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 Anyscale Base Anyscale 65536 $3.23 72.9
Claude Opus 4.5 Nano Anthropic 32768 $9.38 73.3
Mixtral Groq Chat Groq 8192 $3.09 72.0
Doubao 1.5 Pro Mini ByteDance 32768 $8.30 72.3
ERNIE 4.0 Mini Baidu 32768 $7.11 68.8
Firesearch Pro Fireworks AI 32768 $7.67 70.4
Llama 3 Lambda Base Lambda 8192 $3.19 72.9

Other benchmarks for ERNIE 4.0 Mini

BenchmarkScoreRankPercentileRelative
MMLU-Pro 72.5 374 38th
GPQA Diamond 62.3 388 35th
SWE-bench Verified 56.0 377 37th
MATH-500 71.6 371 38th
AIME 2025 61.0 381 37th
LiveCodeBench 61.7 352 41th
IFEval 76.5 382 36th
TruthfulQA 71.5 389 35th
HellaSwag 82.8 325 46th
MMMU 66.0 372 38th
Arena Elo 1330.5 388 35th

FAQ

What score does ERNIE 4.0 Mini get on HumanEval?

ERNIE 4.0 Mini scores 75.3 on HumanEval in this index. The benchmark average is 74.0 and the top score is 96.8.

How does ERNIE 4.0 Mini rank on HumanEval?

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

Is ERNIE 4.0 Mini good at HumanEval?

It is below the median for this benchmark, so test it carefully before relying on it for this capability. 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 ERNIE 4.0 Mini cost?

ERNIE 4.0 Mini costs $7.11 per million input tokens and $27.17 per million output tokens.

Related