Coding · Baidu

ERNIE 4.0 on LiveCodeBench: score, rank and what it means

ERNIE 4.0 scores 66.9 on LiveCodeBench, placing it #253 of 600 models in the index. The benchmark average is 61.0 and the leader is Claude Sonnet 4.5 Reasoning at 85.1.

Score
66.9
0–100 scale
Rank
#253
of 600
Percentile
58th
within the index
Benchmark avg
61.0
all models
Leader
85.1
Claude Sonnet 4.5 Reasoning
Gap to leader
18.2
points

Score distribution

The chart shows the top 10 models on LiveCodeBench, with ERNIE 4.0 highlighted. Longer bars mean higher scores.

Claude Sonnet 4.5 Reasoning 85.1
Grok 4 Reasoning 85.1
Claude Opus 4.5 85.0
GPT-5.2 Max 84.8
Grok 4 Turbo 84.7
GPT-5.1 Turbo 84.6
GPT-5.2 Pro 84.6
GPT-5.2 Reasoning 84.6
Claude Opus 4.5 Pro 84.1
Gemini 3 Pro Max 83.6

Top 10 leaderboard

#ModelProviderContextInput / 1MAvg score
1 Claude Sonnet 4.5 Reasoning Anthropic 400000 $19.48 87.7
2 Grok 4 Reasoning xAI 2000000 $19.67 87.8
3 Claude Opus 4.5 Anthropic 400000 $19.42 87.7
4 GPT-5.2 Max OpenAI 1000000 $21.39 89.2
5 Grok 4 Turbo xAI 1000000 $19.21 86.7
6 GPT-5.1 Turbo OpenAI 2000000 $19.19 86.1
7 GPT-5.2 Pro OpenAI 2000000 $21.32 89.6
8 GPT-5.2 Reasoning OpenAI 1000000 $20.98 87.5
9 Claude Opus 4.5 Pro Anthropic 200000 $20.98 89.1
10 Gemini 3 Pro Max Google DeepMind 2000000 $20.57 87.9

What this score means

On LiveCodeBench, ERNIE 4.0 sits at #253 of 600. The leader, Claude Sonnet 4.5 Reasoning, scores 85.1, so the gap to the top is 18.2 points. The median model in this index scores 64.7, which puts ERNIE 4.0 above the midpoint.

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

Among multimodal models, the average is 70.3. ERNIE 4.0 is 3.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 66.9 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 $11.37 per million input tokens, ERNIE 4.0 is above the median input price of $4.00 across the 600 models scored on LiveCodeBench. The models immediately around it in the ranking are shown below so you can compare score and price together.

ModelProviderContextInput / 1MAvg score
GPT-4.1 Mini OpenAI 128000 $10.43 74.3
Kimi K1.5 Base Moonshot AI 65536 $4.34 77.4
Llama 3 Modal Instruct Modal 128000 $3.84 75.2
Llama 3.1 Instruct Meta AI 200000 $4.05 75.7
ERNIE 4.0 Baidu 32768 $11.37 76.7
Llama 3 Novita Novita AI 128000 $3.70 74.4
Llama 3.1 Turbo Instruct Together AI 32768 $4.21 76.7

Other benchmarks for ERNIE 4.0

BenchmarkScoreRankPercentileRelative
MMLU-Pro 79.0 208 65th
GPQA Diamond 74.6 151 75th
SWE-bench Verified 66.9 170 72th
HumanEval 82.5 174 71th
MATH-500 82.1 162 73th
AIME 2025 73.7 191 68th
IFEval 82.8 248 59th
TruthfulQA 77.0 280 53th
HellaSwag 87.9 144 76th
MMMU 70.2 290 52th
Arena Elo 1390.2 249 59th

FAQ

What score does ERNIE 4.0 get on LiveCodeBench?

ERNIE 4.0 scores 66.9 on LiveCodeBench in this index. The benchmark average is 61.0 and the top score is 85.1.

How does ERNIE 4.0 rank on LiveCodeBench?

It ranks #253 of 600 models, in the 58th percentile. The leader is Claude Sonnet 4.5 Reasoning at 85.1.

Is ERNIE 4.0 good at LiveCodeBench?

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 LiveCodeBench score calculated?

LiveCodeBench 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 cost?

ERNIE 4.0 costs $11.37 per million input tokens and $45.44 per million output tokens.

Related