GPT-4.1 on HumanEval: score, rank and what it means
GPT-4.1 scores 88.3 on HumanEval, placing it #68 of 600 models in the index. The benchmark average is 74.0 and the leader is GPT-5.2 Pro at 96.8.
Score distribution
The chart shows the top 10 models on HumanEval, with GPT-4.1 highlighted. Longer bars mean higher scores.
Top 10 leaderboard
| # | Model | Provider | Context | Input / 1M | Avg 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, GPT-4.1 sits at #68 of 600. The leader, GPT-5.2 Pro, scores 96.8, so the gap to the top is 8.5 points. The median model in this index scores 77.4, which puts GPT-4.1 above the midpoint.
OpenAI models average 87.6 on this benchmark. GPT-4.1 is 0.7 points above that provider line, so it is a stronger result than the average OpenAI model.
Among multimodal models, the average is 82.2. GPT-4.1 is 6.1 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 88.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 $15.71 per million input tokens, GPT-4.1 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.
| Model | Provider | Context | Input / 1M | Avg score |
|---|---|---|---|---|
| Gemini 3 Flash Max | Google DeepMind | 1000000 | $17.43 | 85.0 |
| Grok 3 Reasoning | xAI | 200000 | $16.07 | 82.9 |
| Qwen3-Max | Alibaba Cloud | 400000 | $17.37 | 84.4 |
| Gemini 2.5 Pro Pro | Google DeepMind | 400000 | $17.16 | 83.6 |
| GPT-4.1 | OpenAI | 1000000 | $15.71 | 82.4 |
| Claude Opus 4.5 Vision | Anthropic | 200000 | $17.70 | 85.9 |
| Gemini 2.5 Pro Turbo | Google DeepMind | 1000000 | $16.32 | 83.9 |
Other benchmarks for GPT-4.1
| Benchmark | Score | Rank | Percentile | Relative |
|---|---|---|---|---|
| MMLU-Pro | 86.2 | 48 | 92th | |
| GPQA Diamond | 76.1 | 118 | 80th | |
| SWE-bench Verified | 72.2 | 74 | 88th | |
| MATH-500 | 86.8 | 82 | 86th | |
| AIME 2025 | 79.9 | 89 | 85th | |
| LiveCodeBench | 77.8 | 66 | 89th | |
| IFEval | 90.4 | 63 | 90th | |
| TruthfulQA | 81.8 | 132 | 78th | |
| HellaSwag | 90.3 | 77 | 87th | |
| MMMU | 76.3 | 132 | 78th | |
| Arena Elo | 1432.4 | 115 | 81th |
FAQ
What score does GPT-4.1 get on HumanEval?
GPT-4.1 scores 88.3 on HumanEval in this index. The benchmark average is 74.0 and the top score is 96.8.
How does GPT-4.1 rank on HumanEval?
It ranks #68 of 600 models, in the 89th percentile. The leader is GPT-5.2 Pro at 96.8.
Is GPT-4.1 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 GPT-4.1 cost?
GPT-4.1 costs $15.71 per million input tokens and $64.52 per million output tokens.