Coding · Anthropic

Claude 3.7 Sonnet on HumanEval: score, rank and what it means

Claude 3.7 Sonnet scores 85.7 on HumanEval, placing it #103 of 600 models in the index. The benchmark average is 74.0 and the leader is GPT-5.2 Pro at 96.8.

Score
85.7
0–100 scale
Rank
#103
of 600
Percentile
83th
within the index
Benchmark avg
74.0
all models
Leader
96.8
GPT-5.2 Pro
Gap to leader
11.1
points

Score distribution

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

Anthropic models average 86.0 on this benchmark. Claude 3.7 Sonnet is 0.3 points below that provider line, so it is a weaker result than the average Anthropic model.

Among multimodal models, the average is 82.2. Claude 3.7 Sonnet is 3.5 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 85.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 $14.91 per million input tokens, Claude 3.7 Sonnet 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
GLM-4.6 Chat Zhipu AI 400000 $4.89 79.8
Gemini 3 Flash Google DeepMind 128000 $15.67 83.6
Claude Haiku 4.5 Pro Anthropic 1000000 $15.07 80.8
Gemini 2.5 Pro Vision Google DeepMind 200000 $14.91 82.0
Claude 3.7 Sonnet Anthropic 200000 $14.91 81.6
o3 Vision OpenAI 1000000 $15.24 81.8
GPT-5.2 Mini OpenAI 200000 $13.34 80.4

Other benchmarks for Claude 3.7 Sonnet

BenchmarkScoreRankPercentileRelative
MMLU-Pro 83.5 93 85th
GPQA Diamond 80.2 53 91th
SWE-bench Verified 70.1 107 82th
MATH-500 88.9 60 90th
AIME 2025 81.2 70 88th
LiveCodeBench 75.0 95 84th
IFEval 88.5 94 84th
TruthfulQA 81.7 133 78th
HellaSwag 87.6 156 74th
MMMU 75.5 149 75th
Arena Elo 1451.9 68 89th

FAQ

What score does Claude 3.7 Sonnet get on HumanEval?

Claude 3.7 Sonnet scores 85.7 on HumanEval in this index. The benchmark average is 74.0 and the top score is 96.8.

How does Claude 3.7 Sonnet rank on HumanEval?

It ranks #103 of 600 models, in the 83rd percentile. The leader is GPT-5.2 Pro at 96.8.

Is Claude 3.7 Sonnet 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 Claude 3.7 Sonnet cost?

Claude 3.7 Sonnet costs $14.91 per million input tokens and $74.27 per million output tokens.

Related