Coding · xAI

Grok 4 Nano on HumanEval: score, rank and what it means

Grok 4 Nano scores 76.2 on HumanEval, placing it #325 of 600 models in the index. The benchmark average is 74.0 and the leader is GPT-5.2 Pro at 96.8.

Score
76.2
0–100 scale
Rank
#325
of 600
Percentile
46th
within the index
Benchmark avg
74.0
all models
Leader
96.8
GPT-5.2 Pro
Gap to leader
20.6
points

Score distribution

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

xAI models average 86.6 on this benchmark. Grok 4 Nano is 10.4 points below that provider line, so it is a weaker result than the average xAI model.

Among mid-range models, the average is 71.5. Grok 4 Nano is 4.7 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 76.2 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 $8.97 per million input tokens, Grok 4 Nano 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
Command A Mini Cohere 8192 $8.12 71.0
Llama 3.1 Base Meta AI 32768 $3.39 72.2
Claude Haiku 4.5 Mini Anthropic 16384 $8.76 71.6
Fusion Turbo OpenRouter 8192 $8.55 71.7
Grok 4 Nano xAI 16384 $8.97 72.7
Llama 3 DeepInfra Base DeepInfra 16384 $2.95 71.8
Phi-3.5 Microsoft 16384 $2.81 70.9

Other benchmarks for Grok 4 Nano

BenchmarkScoreRankPercentileRelative
MMLU-Pro 74.9 337 44th
GPQA Diamond 69.0 294 51th
SWE-bench Verified 60.9 305 49th
MATH-500 74.9 328 45th
AIME 2025 66.0 331 45th
LiveCodeBench 66.5 262 56th
IFEval 80.6 319 47th
TruthfulQA 74.8 334 44th
HellaSwag 84.9 251 58th
MMMU 71.5 255 58th
Arena Elo 1374.2 298 50th

FAQ

What score does Grok 4 Nano get on HumanEval?

Grok 4 Nano scores 76.2 on HumanEval in this index. The benchmark average is 74.0 and the top score is 96.8.

How does Grok 4 Nano rank on HumanEval?

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

Is Grok 4 Nano 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 Grok 4 Nano cost?

Grok 4 Nano costs $8.97 per million input tokens and $39.88 per million output tokens.

Related