Model comparison

Claude Sonnet 4 vs ERNIE 5.1

ERNIE 5.1 is the stronger model overall, scoring 43.8 to 40.8 on the Noometry Index.

Last verified . 17 shared benchmarks.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

ERNIE 5.1 Baidu

43.8

Rank #83 Confirmed

Summary

  • They share 17 benchmarks with published results for both. Claude Sonnet 4 scores higher in 2 categories and ERNIE 5.1 in 6 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in long context, where ERNIE 5.1 leads 44.7 to 33.7.

Side by side

Claude Sonnet 4 and ERNIE 5.1 specifications
Claude Sonnet 4ERNIE 5.1
ProviderAnthropicBaidu
Noometry Index40.843.8
Released2025-05-22—
WeightsProprietaryProprietary
Context window200K—
Max output64K—
Input $ / M tokens$3—
Output $ / M tokens$15—
Results tracked5819

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Too close to call

Claude Sonnet 4: 43.5 (#88), ERNIE 5.1: 44.0 (#76)

Coding benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Coding14141488
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
SciCode40%—
GSO4.9%—
WeirdML46.1%—
ALE-Bench655.35—

Agentic & Tool Use Not comparable

Claude Sonnet 4: 38.5 (#31), ERNIE 5.1: —

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
TheAgentCompany33.1%—
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
LMArena Search—1227
METR Time Horizons62%—

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 22.9 (#187), ERNIE 5.1: 21.9 (#211)

Reasoning benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Hard Prompts13721481
ARC-AGI-25.9%—
SimpleBench45.5%—
Kagi LLM Benchmark73%—
NYT Connections (extended)—23.4%
ARC-AGI-140%—
CritPt0.3%—
EnigmaEval3.1%—
DTBench77.1%—
LMCA29%—
Epoch Capabilities Index141.69—
ForecastBench60.2—

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), ERNIE 5.1: 40.3 (#92)

Math benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Math13751481
OTIS Mock AIME 2024-202571.1%—
Omni-MATH60.2%—
MATH Level 584.4%—
FrontierMath (Feb 2025 set)4.1%—
FrontierMath Tier 4 (v1)0%—

Knowledge Too close to call

Claude Sonnet 4: 41.8 (#108), ERNIE 5.1: 41.9 (#102)

Knowledge benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Expert13721492
GPQA Diamond79.2%—
Humanity's Last Exam7.8%—
MMLU-Pro84.3%—
Confabulations13.2%—
Vectara Hallucination Rate10.3%—
GPQA (HELM)70.6%—

Multimodal Not comparable

Claude Sonnet 4: 26.2 (#121), ERNIE 5.1: —

Multimodal benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Vision1191—
GeoBench37%—
VPCT34%—
MindCube44.8%—

Multilingual ERNIE 5.1 leads

Claude Sonnet 4: 46.7 (#156), ERNIE 5.1: 55.5 (#29)

Multilingual benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Non-English13331454
LMArena Chinese13501508
LMArena French13631488
LMArena German13311470
LMArena Japanese13021422
LMArena Korean12911427
LMArena Russian13551459
LMArena Spanish13571473

Instruction Following ERNIE 5.1 leads

Claude Sonnet 4: 71.7 (#145), ERNIE 5.1: 76.7 (#37)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Instruction Following13761460
IFEval84%—

Long Context ERNIE 5.1 leads

Claude Sonnet 4: 33.7 (#259), ERNIE 5.1: 44.7 (#59)

Long Context benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Longer Query13981462
Fiction.LiveBench46.9%—

Writing & Preference ERNIE 5.1 leads

Claude Sonnet 4: 57.1 (#132), ERNIE 5.1: 65.1 (#52)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4ERNIE 5.1
LMArena Text13511468
LMArena Creative Writing13451441
LMArena Multi-Turn13761471
Short-Story Creative Writing81.4%—
EQ-Bench Creative Writing1483—
WildBench83.8%—

Frequently asked questions

Is Claude Sonnet 4 better than ERNIE 5.1?

ERNIE 5.1 is the stronger model overall, scoring 43.8 to 40.8 on the Noometry Index.

Is Claude Sonnet 4 or ERNIE 5.1 better for coding?

They score almost the same on coding (43.5 vs 44.0); test both on your own repository before choosing.

How many benchmarks do Claude Sonnet 4 and ERNIE 5.1 share?

17 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and ERNIE 5.1 has 19.

Related comparisons

Go deeper