Skip to main content
BenchLM
Data
Data verified

Evaluating Large Language Models Trained on Code (HumanEval)

HumanEval measures Python function correctness from a docstring and function signature. In pass@1, one sampled solution must pass the task's unit tests. Use this table to inspect sourced reports; use repository benchmarks and your own failures to choose a coding model. Original HumanEval paper.

We show this table for reference; we do not rank on it.

HumanEval tests whether generated Python functions pass unit tests on 164 handwritten problems. These scores describe function-level correctness; they do not measure repository work or a coding agent.

What a HumanEval score measures

What a HumanEval score measures
MeasurementHow to read it
Task set164 handwritten Python problems, each with a function signature, docstring, and unit tests.
pass@1The share of tasks solved by one sampled solution, estimated with the source's sampling procedure.
pass@kThe chance that at least one of k sampled solutions passes. Match k, sampling settings, and the test harness before comparing reports.
Coverage limitFunction correctness does not measure multi-file changes, repository navigation, or the tools around a coding model.

Method source: HumanEval paper, dataset, and pass@k method.

Benchmark score on HumanEval — December 3, 2026

We compile the HumanEval rows from provider self-reports and secondary reports. The table contains 25 models. o4-mini has the highest published score at 97.3%, but the available coverage and evaluation setups do not establish a market leader. We do not use these results to rank models overall.

25 modelsCodingStaleSaturatedDisplay onlyUpdated December 3, 2026

Benchmark score table (25 models)

None of the 25 results on this page has a documented run by the benchmark or an independent evaluator: 24 reported by the labs that built the models and 1 reported in another publisher’s document.

Benchmark score results for HumanEval
RankModel / configurationScoreParameters (B)Open / closed
1o4-miniOpenAIReported by OpenAI
97.3%
Not reportedClosed
2BTL-3Bad Theory LabsReported by Bad Theory Labs
95.1%
Not reportedOpen
3o1-miniOpenAIReported by OpenAI
92.4%
Not reportedClosed
4Sarvam 30BSarvamReported by Sarvam
92.1%
Not reportedOpen
5Qwen2.5-VL-32BAlibabaReported by Alibaba
91.5%
Not reportedOpen
6DeepSeek-V2.5DeepSeekReported by DeepSeek
89%
Not reportedOpen
7GPT-4.5OpenAIReported by OpenAI
88.6%
Not reportedClosed
8Mistral Small 3.1MistralReported by Mistral
88.4%
Not reportedOpen
9Grok 2xAIReported by xAI
88.4%
Not reportedClosed
10Llama 3.3 70BMetaReported by Meta
88.4%
Not reportedOpen
11Claude 3.5 HaikuAnthropicReported by Anthropic
88.1%
Not reportedClosed
12GPT-4o miniOpenAIAnother lab’s comparison table
87.2%
Not reportedClosed
13MiniMax-Text-01MiniMaxReported by MiniMax
86.9%
Not reportedOpen
14Grok 2 minixAIReported by xAI
85.7%
Not reportedClosed
15Phi-4MicrosoftReported by Microsoft
82.6%
Not reportedOpen
16Llama 3.1 70BMetaReported by Meta
80.5%
Not reportedOpen
17DeepSeek V4 Pro BaseDeepSeekReported by DeepSeek
76.8%
Not reportedOpen
18Granite-4.0-1BIBMReported by IBM
74%
Not reportedOpen
19Soofi S 30B-A3BSoofi ProjectReported by Soofi Project
73.8%
Not reportedOpen
20Granite-4.0-H-1BIBMReported by IBM
73%
Not reportedOpen
21Llama 3.1 8BMetaReported by Meta
72.6%
Not reportedOpen
22DeepSeek V4 Flash BaseDeepSeekReported by DeepSeek
69.5%
Not reportedOpen
23Phi-3.5-miniMicrosoftReported by Microsoft
62.8%
Not reportedOpen
24Granite-4.0-350MIBMReported by IBM
39%
Not reportedOpen
25Granite-4.0-H-350MIBMReported by IBM
38%
Not reportedOpen
  • Lab-reported
  • Benchmark-run
  • Independent
What the labels mean

Results reported by model developersUnranked

Labs ran these themselves, with a metric, split or setting the table above does not use. They take no rank here.

HumanEval results reported by model developers, unranked
Mellum2.1-12B-A2.5B-ThinkingJetBrains91.5%ScoreHumanEval+Thinking mode, greedy decoding; JetBrains ran every model in the table with the same pipeline; HumanEval+ (EvalPlus) adds tests to the HumanEval problems, the board stores base HumanEvalNot comparable to the scores aboveReported by JetBrains

A lab’s own result is shown for reference. It never takes a rank on this board.

How we label sources

How to read this leaderboard

Read this page as a source-coverage receipt for the exact rows BenchLM can currently display, not as a ranking of the best coding models. Use the calibrated coding leaderboard and repository benchmarks for a broader decision.

Operator receipt: 25 sourced rows are currently displayable on this page; the highest published score among these 25 models is o4-mini at 97.3%, which does not establish a market leader.

Honest limit: Only rows with displayable source records appear. Missing model rows are missing evidence, not zero scores. Different sampling settings or test harnesses can change the result, and this limited table does not establish an overall coding winner.

Among the reported HumanEval rows, o4-mini is first at 97.3%. The third row is 4.9 points behind. The broader top-10 range is 8.9 points, so many of the published results sit in a relatively narrow band.

25 models have been evaluated on HumanEval. The benchmark falls in the Coding category. HumanEval is currently displayed for reference but excluded from the scoring formula, so it does not directly affect overall rankings.

About HumanEval

Year

2021

Tasks

164 problems

Format

Python function generation

Difficulty

Introductory to intermediate programming

HumanEval measures functional correctness for programs synthesized from docstrings. The tasks range from string manipulation to intermediate algorithms, but they do not test repository navigation, multi-file changes, tool use, or long-running agent work.

Freshness and provenance

Version

HumanEval

Refresh cadence

Static

Staleness state

Stale

Question availability

Public benchmark set

StaleSaturatedDisplay only

BenchLM uses freshness metadata to decide whether a benchmark should still be treated as a strong differentiator, a benchmark to watch, or a display-only reference. For the full scoring policy, see the BenchLM methodology page.

Questions

Can HumanEval choose a coding agent?

HumanEval tests Python functions from a supplied signature and docstring. A coding agent also needs to find the right files, use tools, make compatible changes, and recover from failures. Use HumanEval as one function-level check, then compare repository evidence and accepted changes on your own codebase.

Why is a model missing from this HumanEval table?

This table includes only results with displayable source records. A missing row means we cannot publish a sourced score here; it does not mean the model scored zero. Check the linked model page for its other coding evidence, and match the sampling settings and test harness before comparing reports.

Last updated: December 3, 2026 · BenchLM version HumanEval

Know when it’s worth switching models

The model to choose, the cheaper alternative, and the release we would wait on.

Read a sample issue

Join 8,000+ subscribers.

One email each week. Unsubscribe anytime.