AI Policy Wiki
Dashboard
⚲

HumanEval

medium confidence · updated 2026-09-22

Tests whether a model can write a correct Python function from its signature and docstring, graded by running unit tests. Released by OpenAI in July 2021 with the Codex paper, it consists of 164 hand-written problems and introduced the unbiased pass@k estimator. It was the standard coding figure in model announcements from 2021 through 2024; the Stanford AI Index describes it as saturated, and later work relies on HumanEval+, LiveCodeBench and SWE-bench.

HumanEval is a set of 164 hand-written Python programming problems released by OpenAI in July 2021 alongside "Evaluating Large Language Models Trained on Code", the paper that introduced the Codex models Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). Each problem gives a model the opening of a Python function and asks it to write the body; the answer counts as correct only if it passes the problem's unit tests when executed. The same paper introduced the unbiased estimator of the pass@k metric that later code-generation reports adopted. The best model in the original paper solved 28.8% of problems with one attempt; developer-reported scores passed 90% in 2024, and the Stanford AI Index has since described the benchmark as saturated (Source: hai.stanford.edu).

What it measures

The benchmark measures functional correctness in one narrow task: synthesizing a standalone Python function from a docstring, the natural-language description that Python programmers place at the top of a function. The authors state that the problems "assess language comprehension, reasoning, algorithms, and simple mathematics," and that some are comparable to simple software interview questions Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021).

The paper argues for judging generated code by whether it runs correctly instead of by textual similarity to a reference answer. Match-based metrics such as BLEU, it says, cannot account for the many different programs that are functionally equivalent to a reference solution, and it reports that functionally wrong Codex outputs often scored higher on BLEU than correct ones. It adds that passing tests is how human developers judge code, citing test-driven development Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). The authors also note the limit of the construct: coding "involves much more than synthesizing code from docstrings."

Design

Dataset construction

Each of the 164 problems contains a function signature, a docstring, a reference function body and several unit tests, small programs that call the function with set inputs and check the outputs. The paper gives an average of 7.7 tests per problem Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021); the later EvalPlus study counted 9.6 on average, or 7.3 after excluding four problems whose tests loop over more than 100 random inputs Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation (Liu et al., 2023). The Hugging Face dataset card states that the problems were handcrafted by engineers and researchers at OpenAI, lists five fields per record (task_id, prompt, canonical_solution, test, entry_point), and shows a single test split of 164 rows under the MIT License (Source: huggingface.co).

The problems were written by hand because of contamination, the presence of test items in a model's training data. Codex was trained on 159 GB of Python files collected from 54 million public GitHub repositories, and the authors observed that GitHub already held solutions to problems from many sources, including more than ten repositories with answers to the Codeforces problems used in the APPS benchmark. They qualified the safeguard in a figure caption: the problems were hand-written and not programmatically copied from existing sources, though this was "not a guarantee for problem novelty" Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). There is no private or held-out split: prompts, reference solutions and tests are all public in the repository. The dataset card notes that, having been published on GitHub, the set "is likely to be included in future dumps" (Source: huggingface.co).

Task format

The model receives the signature and docstring and must continue the text with a working function body. One of the three examples printed in the paper, shown with its reference solution:

def incr_list(l: list):
    """Return list with elements incremented by 1.
    >>> incr_list([1, 2, 3])
    [2, 3, 4]
    >>> incr_list([5, 3, 5, 2, 3, 3, 9, 0, 123])
    [6, 4, 6, 3, 4, 4, 10, 1, 124]
    """
    return [i + 1 for i in l]

The paper reports that a single Codex-12B sample passed the tests for its three example problems with probabilities of 0.9, 0.17 and 0.005, illustrating the spread of difficulty Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021).

Scoring: pass@k

A completion is correct if the assembled function passes every unit test. pass@k is the share of problems for which at least one of k generated samples is correct; pass@1 is therefore the share solved in a single attempt. The metric had been used earlier by Kulal et al. (2019), who generated exactly k samples per problem. The Codex authors found that procedure high in variance and introduced an estimator: generate n samples per problem with n at least k (the paper used n = 200 and k up to 100), count the c samples that pass, and compute 1 − C(n−c, k)/C(n, k), the probability that a random draw of k of the n samples contains at least one correct one, averaged over problems. For k = 1 this reduces to the average fraction of correct samples. The paper shows that the shortcut 1 − (1 − p)^k, with p the measured pass@1, is biased, and prints a numerically stable implementation (Source: ar5iv.labs.arxiv.org).

Sampling settings change the result. For a 679M-parameter Codex the best temperature (the randomness of sampling) was 0.2 for pass@1 and 0.8 for pass@100, since diverse samples help only when many are drawn Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). Later reports usually compute pass@1 from one deterministic (greedy) sample per problem, as the Code Llama paper and the EvalPlus leaderboard both state (Source: arxiv.org; Source: evalplus.github.io).

Execution sandbox

Running model-written code is a security risk, so the authors built a sandbox, an isolated environment, using the gVisor container runtime with firewall rules blocking network connections other than those needed to control the experiment Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). The public harness ships with its execution call commented out so that users read the security warning first; it reports each sample as passed, timed out or failed, and declines to estimate pass@k when fewer than k samples are supplied (Source: github.com).

Human baseline

The paper reports no human baseline.

Versions and variants

HumanEval+ was built by Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang and Lingming Zhang (University of Illinois Urbana-Champaign and Nanjing University) and published at NeurIPS 2023 as part of the EvalPlus framework. It keeps the 164 problems and raises the average number of tests per problem from 9.6 to 764.1, an 80-fold increase, using inputs proposed by ChatGPT and expanded by type-aware mutation; a generated function is checked against a re-implemented reference solution on every input. In re-implementing the references the authors found 18 defects in the original HumanEval solutions, 11% of problems, ten of them errors of logic. Across 26 models pass@k fell by up to 19.3–28.9%: GPT-4 went from 88.4% to 76.2% and ChatGPT from 73.2% to 63.4% with greedy decoding, and some rankings reversed, with WizardCoder-CodeLlama and Phind-CodeLlama overtaking ChatGPT. A reduced set, HumanEval+-mini, keeps 16.1 tests per problem Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation (Liu et al., 2023). The EvalPlus repository lists Meta's Llama 3.1, Qwen2.5-Coder, DeepSeek-Coder-V2 and StarCoder2 among its users (Source: github.com).

The name EvalPlus is not always used for the same quantity. The Qwen3 technical report defines its "EvalPlus" column as the average of HumanEval, MBPP, HumanEval+ and MBPP+, so its figures (77.60 for Qwen3-235B-A22B-Base, 63.75 for DeepSeek-V3-Base) are not HumanEval+ scores (Source: arxiv.org).

MBPP (Mostly Basic Programming Problems), published by Google researchers in August 2021, is a separate benchmark of 974 short Python tasks written by crowdworkers for entry-level programmers, each with three test cases (Source: ar5iv.labs.arxiv.org). It is commonly reported beside HumanEval.

Multilingual versions translate the problems out of Python. HumanEval-X, from the CodeGeeX authors, adds hand-written solutions in C++, Java, JavaScript and Go (Source: arxiv.org). MultiPL-E is a system that translates HumanEval and MBPP into 18 further languages (Source: arxiv.org). DeepSeek reported its DeepSeek-V3 chat model on "HumanEval-Mul", covering eight languages (82.6% pass@1), and gave a Python HumanEval figure only for the base model (DeepSeek-V3 Technical Report; Source: arxiv.org). HumanEval-FIM, used in the Qwen2.5-Coder report, turns the problems into fill-in-the-middle tasks scored by exact match (Source: arxiv.org).

Several replacements were designed around HumanEval's public status. Google's Gemini report introduced Natural2Code, a held-out Python set for which it says web leakage was ruled out (Source: arxiv.org); Cohere released Less Basic Python Problems, 161 new prompts (Source: arxiv.org); and LiveCodeBench continuously collects new problems from LeetCode, AtCoder and Codeforces contests so that models can be tested on problems published after their training data was gathered LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (Jain et al., 2024).

Development and maintainers

The Codex paper lists 58 authors, all at OpenAI at the time, led by Mark Chen, Jerry Tworek, Heewoo Jun and Qiming Yuan, and was posted to arXiv on 7 July 2021 Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). The dataset and harness are in the openai/human-eval GitHub repository under the MIT License. The repository shows seven commits: the data files date from 8 July 2021 and the most recent commit, a fix to the evaluation code, from 17 January 2025 (Source: github.com). The problems have not been revised; the reference-solution defects reported by EvalPlus are corrected in HumanEval+, not in the original.

OpenAI does not run a leaderboard, and scores are self-reported by developers under their own prompts and sampling settings. Third-party tallies have included the Papers With Code leaderboard, which the AI Index used as its data source, and the EvalPlus leaderboard, where the maintainers run models themselves with greedy decoding on both the original and the extended tests (Source: evalplus.github.io). OpenAI's simple-evals repository carried a reference HumanEval implementation and a table of results for OpenAI models; a notice dated July 2025 says the repository will no longer be updated for new models or benchmark results (Source: github.com).

Results

In the original paper the 12-billion-parameter Codex solved 28.81% of problems at pass@1 and 72.31% at pass@100, and Codex-S, further fine-tuned on standalone functions, solved 37.7% at pass@1. GPT-3 models scored near 0%, GPT-Neo 2.7B 6.41% and GPT-J 6B 11.62%; the abstract rounds differently, giving 11.4% for GPT-J and 70.2% for Codex with 100 samples Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). GPT-4 was reported at 67.0% in March 2023 (GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023)). The 2024 AI Index counted a rise of 64.1 percentage points since 2021 and listed the best closed model at 96.30% against 62.20% for the best open model (Source: hai.stanford.edu). During 2024 Anthropic, OpenAI, Meta, Mistral and xAI all reported single-attempt scores between 84% and 94%. The 2025 AI Index, using the Papers With Code leaderboard, named as leader a Claude 3.5 Sonnet system using a prompting method labelled HPT, at 100% (Source: hai.stanford.edu). The highest developer-reported single-attempt figure found is 99.3% for o4-mini-high in April 2025 (Source: github.com).

pass@1

Original HumanEval tests, one attempt per problem, zero-shot unless stated. Rows marked "measured by EvalPlus" come from the EvalPlus leaderboard's base-test column (greedy decoding, retrieved 2026-09-19); the leaderboard does not date its runs, so those rows carry the model-version date it displays.

ModelScoreSettingDateSource
DeepSeek-V4-Flash-Base69.5%base model; 0-shot; Pass@1; DeepSeek internal evaluation framework, same setting for all three models; reported by DeepSeek in the DeepSeek-V4.1-Flash technical report (DeepSeek's own earlier base model, same internal framework) (card §4.3.2 Table 1)2026-09-09DeepSeek-V4.1-Flash Technical Report (DeepSeek, September 2026); DeepSeek-V4 Technical Report (DeepSeek, April 2026)
DeepSeek-V4-Pro-Base76.8%base model; 0-shot; Pass@1; DeepSeek internal evaluation framework, same setting for all three models; reported by DeepSeek in the DeepSeek-V4.1-Flash technical report (DeepSeek's own earlier base model, same internal framework) (card §4.3.2 Table 1)2026-09-09DeepSeek-V4.1-Flash Technical Report (DeepSeek, September 2026); DeepSeek-V4 Technical Report (DeepSeek, April 2026)
DeepSeek-V4.1-Flash-Base79.4%base model; 0-shot; Pass@1; DeepSeek internal evaluation framework, same setting for all three models; developer-reported (card §4.3.2 Table 1)2026-09-09DeepSeek-V4.1-Flash Technical Report (DeepSeek, September 2026)
Nemotron-3-Ultra-550B-A55B-Base83.84%base model, sampled pass@1 n=32, EvalPlus sanitized; LM Evaluation Harness via Nemo Evaluator SDK; unit not printed (percent scale); developer-reported (card §2, Table 2)2026-06-09Nemotron 3 Ultra Technical Report (NVIDIA, June 2026)
DeepSeek-V3.2-Exp-Base61.85%base model, sampled pass@1 n=32, EvalPlus sanitized; LM Evaluation Harness via Nemo Evaluator SDK; unit not printed (percent scale); reported by NVIDIA in the Nemotron 3 Ultra technical report (run by NVIDIA) (card §2, Table 2)2026-06-09Nemotron 3 Ultra Technical Report (NVIDIA, June 2026)
Mistral-Large-3-675B-Base-251266.71%base model, sampled pass@1 n=32, EvalPlus sanitized; LM Evaluation Harness via Nemo Evaluator SDK; unit not printed (percent scale); reported by NVIDIA in the Nemotron 3 Ultra technical report (run by NVIDIA) (card §2, Table 2)2026-06-09Nemotron 3 Ultra Technical Report (NVIDIA, June 2026)
Kimi-K2-Base78.20%base model, sampled pass@1 n=32, EvalPlus sanitized; LM Evaluation Harness via Nemo Evaluator SDK; unit not printed (percent scale); reported by NVIDIA in the Nemotron 3 Ultra technical report (run by NVIDIA) (card §2, Table 2)2026-06-09Nemotron 3 Ultra Technical Report (NVIDIA, June 2026)
GLM-4.5-Base78.16%base model, sampled pass@1 n=32, EvalPlus sanitized; LM Evaluation Harness via Nemo Evaluator SDK; unit not printed (percent scale); reported by NVIDIA in the Nemotron 3 Ultra technical report (run by NVIDIA) (card §2, Table 2)2026-06-09Nemotron 3 Ultra Technical Report (NVIDIA, June 2026)
DeepSeek-V3.2-Base62.8%base model; 0-shot; Pass@1; DeepSeek internal evaluation framework, same setting for all three models; reported by DeepSeek in the DeepSeek-V4 technical report (DeepSeek's own earlier base model, same internal framework) (card §4.3 Table 1)2026-04-26DeepSeek-V4 Technical Report (DeepSeek, April 2026)
o4-mini-high99.3%simple-evals harness, zero-shot; developer-reported2025-04-17(Source: github.com)
o3-high88.4%simple-evals harness, zero-shot; developer-reported2025-04-17(Source: github.com)
GPT-4.194.5%gpt-4.1-2025-04-14, simple-evals harness, zero-shot; developer-reported2025-04-14(Source: github.com)
Gemma 2 2B IT20.1%0-shot, pass@1; instruction-tuned model; developer-reported (card §Appendix 8.1, Table 18)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 2 9B IT40.2%0-shot, pass@1; instruction-tuned model; developer-reported (card §Appendix 8.1, Table 18)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 2 27B IT51.8%0-shot, pass@1; instruction-tuned model; developer-reported (card §Appendix 8.1, Table 18)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 3 1B IT41.5%0-shot, pass@1; instruction-tuned model; developer-reported (card §Appendix 8.1, Table 18)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 3 4B IT71.3%0-shot, pass@1; instruction-tuned model; developer-reported (card §Appendix 8.1, Table 18)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 3 12B IT85.4%0-shot, pass@1; instruction-tuned model; developer-reported (card §Appendix 8.1, Table 18)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 3 27B IT87.8%0-shot, pass@1; instruction-tuned model; developer-reported (card §Appendix 8.1, Table 18)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 2 2B PT19.5%HumanEval, 0-shot, pass@1; pre-trained checkpoint; developer-reported (card §Appendix, Table 10)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 2 9B PT40.2%HumanEval, 0-shot, pass@1; pre-trained checkpoint; developer-reported (card §Appendix, Table 10)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 2 27B PT51.2%HumanEval, 0-shot, pass@1; pre-trained checkpoint; developer-reported (card §Appendix, Table 10)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 3 4B PT36.0%HumanEval, 0-shot, pass@1; pre-trained checkpoint; developer-reported (card §Appendix, Table 10)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 3 12B PT45.7%HumanEval, 0-shot, pass@1; pre-trained checkpoint; developer-reported (card §Appendix, Table 10)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Gemma 3 27B PT48.8%HumanEval, 0-shot, pass@1; pre-trained checkpoint; developer-reported (card §Appendix, Table 10)2025-03-25Gemma 3 Technical Report (Google DeepMind, March 2025)
Amazon Nova Pro89.0%Python, 0-shot, pass@1; 95% CI ±4.8; developer-reported (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Amazon Nova Lite85.4%Python, 0-shot, pass@1; 95% CI ±5.4; developer-reported (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Amazon Nova Micro81.1%Python, 0-shot, pass@1; 95% CI ±6.0; developer-reported (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Gemini 1.5 Pro (002)87.8%Python, 0-shot, pass@1; 95% CI ±5.0; measured by Amazon after Nova training, via the Bedrock/OpenAI/Gemini API; reported in the Amazon Nova technical report (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Gemini 1.5 Flash (002)81.1%Python, 0-shot, pass@1; 95% CI ±6.0; measured by Amazon after Nova training, via the Bedrock/OpenAI/Gemini API; reported in the Amazon Nova technical report (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Gemini 1.5 Flash 8B (001)81.1%Python, 0-shot, pass@1; 95% CI ±6.0; measured by Amazon after Nova training, via the Bedrock/OpenAI/Gemini API; reported in the Amazon Nova technical report (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Llama 3.2 90B80.5%Python, 0-shot, pass@1; 95% CI ±6.1; taken from the developer's own technical report or website, as reprinted in the Amazon Nova technical report (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Llama 3.2 11B72.6%Python, 0-shot, pass@1; 95% CI ±6.8; taken from the developer's own technical report or website, as reprinted in the Amazon Nova technical report (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Llama 3.1 8B72.6%Python, 0-shot, pass@1; 95% CI ±6.8; taken from the developer's own technical report or website, as reprinted in the Amazon Nova technical report (card §2.4, Table 7)2025-03-17The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
GPT-4.5-preview88.6%gpt-4.5-preview-2025-02-27, simple-evals harness, zero-shot; developer-reported2025-02-27(Source: github.com)
Llama 3 70B (base)48.2%base model, 0-shot; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team) (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Mixtral 8x22B (base)46.3%base model, 0-shot; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team) (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Llama 3 405B (base)61.0%base model, 0-shot; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team) (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2-72B (base)64.6%base model, 0-shot; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team) (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-72B (base)59.1%base model, 0-shot; developer-reported (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-Plus (base)59.1%base model, 0-shot; developer-reported (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Llama 3.1 70B Instruct80.5%instruction-tuned model; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team; shots not stated for instruct models) (card §5.2.1, Table 6)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Llama 3.1 405B Instruct89.0%instruction-tuned model; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team; shots not stated for instruct models) (card §5.2.1, Table 6)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2-72B-Instruct86.0%instruction-tuned model; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team; shots not stated for instruct models) (card §5.2.1, Table 6)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-72B-Instruct86.6%instruction-tuned model; developer-reported (card §5.2.1, Table 6)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-Plus87.8%instruction-tuned model; developer-reported (card §5.2.1, Table 6)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2-57B-A14B-Instruct79.9%instruction-tuned model; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team; shots not stated for instruct models) (card §5.2.1, Table 7)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Gemma 2 27B IT78.7%instruction-tuned model; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team; shots not stated for instruct models) (card §5.2.1, Table 7)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
GPT-4o mini88.4%instruction-tuned model; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team; shots not stated for instruct models) (card §5.2.1, Table 7)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-Turbo86.6%instruction-tuned model; developer-reported (card §5.2.1, Table 7)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-14B-Instruct83.5%instruction-tuned model; developer-reported (card §5.2.1, Table 7)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-32B-Instruct88.4%instruction-tuned model; developer-reported (card §5.2.1, Table 7)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
DeepSeek-V3-Base65.2%base model, 0-shot pass@1; developer-reported2024-12-27DeepSeek-V3 Technical Report
DeepSeek-V2 Base43.3%base model; 0-shot; Pass@1; DeepSeek internal evaluation framework, same setting for all models; reported by DeepSeek in the DeepSeek-V3 technical report, run in DeepSeek's internal framework (card §4.4 Table 3)2024-12-27DeepSeek-V3 Technical Report
Qwen2.5 72B Base53.0%base model; 0-shot; Pass@1; DeepSeek internal evaluation framework, same setting for all models; reported by DeepSeek in the DeepSeek-V3 technical report, run in DeepSeek's internal framework (card §4.4 Table 3)2024-12-27DeepSeek-V3 Technical Report
LLaMA-3.1 405B Base54.9%base model; 0-shot; Pass@1; DeepSeek internal evaluation framework, same setting for all models; reported by DeepSeek in the DeepSeek-V3 technical report, run in DeepSeek's internal framework (card §4.4 Table 3)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (small MoE, MTP baseline)20.7%internal MTP ablation checkpoint, not a released model; 15.7B total / 2.4B activated parameters, 1.33T training tokens, no MTP; base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.1 Table 4)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (small MoE, with MTP)26.8%internal MTP ablation checkpoint, not a released model; 15.7B total / 2.4B activated parameters, 1.33T training tokens, 1-depth MTP module (discarded at inference); base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.1 Table 4)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (large MoE, MTP baseline)44.5%internal MTP ablation checkpoint, not a released model; 228.7B total / 20.9B activated parameters, 540B training tokens, no MTP; base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.1 Table 4)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (large MoE, with MTP)53.7%internal MTP ablation checkpoint, not a released model; 228.7B total / 20.9B activated parameters, 540B training tokens, 1-depth MTP module (discarded at inference); base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.1 Table 4)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (small MoE, auxiliary-loss-based)22.0%internal auxiliary-loss-free balancing ablation checkpoint, not a released model; 15.7B total / 2.4B activated parameters, 1.33T training tokens, auxiliary losses only (DeepSeek-V2-Lite strength); base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.2 Table 5)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (small MoE, auxiliary-loss-free)22.6%internal auxiliary-loss-free balancing ablation checkpoint, not a released model; 15.7B total / 2.4B activated parameters, 1.33T training tokens, auxiliary-loss-free balancing; base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.2 Table 5)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (large MoE, auxiliary-loss-based)40.2%internal auxiliary-loss-free balancing ablation checkpoint, not a released model; 228.7B total / 20.9B activated parameters, 578B training tokens, auxiliary losses only (DeepSeek-V2 strength); base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.2 Table 5)2024-12-27DeepSeek-V3 Technical Report
DeepSeek ablation model (large MoE, auxiliary-loss-free)46.3%internal auxiliary-loss-free balancing ablation checkpoint, not a released model; 228.7B total / 20.9B activated parameters, 578B training tokens, auxiliary-loss-free balancing; base model; 0-shot; Pass@1; DeepSeek internal evaluation framework; developer-reported (card §4.5.2 Table 5)2024-12-27DeepSeek-V3 Technical Report
DeepSeek-V391.5%chat model, greedy; measured by EvalPlus (leaderboard label "Nov 2024")2024-11(Source: evalplus.github.io)
Qwen2.5-Coder-32B-Instruct92.7%EvalPlus harness, decoding not stated; developer-reported2024-11(Source: arxiv.org)
Claude 3.5 Sonnet (October 2024)93.7%0-shot; developer-reported2024-10-22(Source: assets.anthropic.com); The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Claude 3.5 Haiku88.1%0-shot; developer-reported2024-10-22(Source: assets.anthropic.com); The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
o1-preview92.4%setting not stated; developer-reported (o1-mini reported at the same figure)2024-09-12(Source: openai.com)
o1-preview96.3%greedy, chat setting; measured by EvalPlus2024-09(Source: evalplus.github.io)
Grok-288.4%pass@1; developer-reported2024-08-13(Source: x.ai)
GPT-4o (August 2024)92.7%greedy, chat setting; measured by EvalPlus2024-08(Source: evalplus.github.io)
AFM-on-device16.48%pass@1; internal harness; core pre-training checkpoint; developer-reported (card §Appendix C, Table 7)2024-07-29Apple Intelligence Foundation Language Models (Apple, July 2024)
AFM-on-device27.38%pass@1; internal harness; continued pre-training checkpoint; developer-reported (card §Appendix C, Table 7)2024-07-29Apple Intelligence Foundation Language Models (Apple, July 2024)
AFM-on-device30.84%pass@1; internal harness; context-lengthened (final pre-trained) checkpoint; developer-reported (card §Appendix C, Table 7)2024-07-29Apple Intelligence Foundation Language Models (Apple, July 2024)
AFM-server33.23%pass@1; internal harness; core pre-training checkpoint; developer-reported (card §Appendix C, Table 8)2024-07-29Apple Intelligence Foundation Language Models (Apple, July 2024)
AFM-server40.77%pass@1; internal harness; continued pre-training checkpoint; developer-reported (card §Appendix C, Table 8)2024-07-29Apple Intelligence Foundation Language Models (Apple, July 2024)
AFM-server39.55%pass@1; internal harness; context-lengthened (final pre-trained) checkpoint; developer-reported (card §Appendix C, Table 8)2024-07-29Apple Intelligence Foundation Language Models (Apple, July 2024)
Mistral Large 292%Mistral's own evaluation pipeline; developer-reported2024-07-24(Source: huggingface.co)
Mistral Large 2 (Instruct-2407)92%metric and setting not stated; developer-reported (card §Metrics — Code & Reasoning Benchmarks)2024-07-24Model Card for Mistral-Large-Instruct-2407 (Mistral AI, July 2024)
Llama 3.1 405B89.0%0-shot pass@1, 95% CI ±4.8; developer-reported2024-07-23(Source: arxiv.org)
GPT-4o mini87.2%gpt-4o-mini-2024-07-18, simple-evals harness, zero-shot; developer-reported2024-07-18(Source: github.com); The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
Claude 3.5 Sonnet (June 2024)92.0%0-shot; developer-reported2024-06-21(Source: www-cdn.anthropic.com)
GLM-4 (0520)78.5%setting not stated; developer-reported2024-06-18(Source: arxiv.org)
Claude 3.5 Sonnet (June 2024)87.2%greedy, chat setting; measured by EvalPlus2024-06(Source: evalplus.github.io)
GPT-4o90.2%launch chart; developer-reported2024-05-13(Source: openai.com); The Amazon Nova Family of Models: Technical Report and Model Card (Amazon, 2024–2025)
GPT-4 Turbo87.1%launch chart for GPT-4o; developer-reported2024-05-13(Source: openai.com)
Claude 3 Opus84.9%0-shot; developer-reported2024-03-04The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
Claude 3 Sonnet73.0%0-shot; developer-reported2024-03-04The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
Claude 3 Haiku75.9%0-shot; developer-reported2024-03-04The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
Gemini 1.5 Pro71.9%0-shot; Google figure as given in Anthropic's Claude 3 model card2024-03-04The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
Gemini 1.0 Pro67.7%0-shot; Google figure as given in Anthropic's Claude 3 model card2024-03-04The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
Claude 3 Opus82.9%greedy, chat setting; measured by EvalPlus2024-03(Source: evalplus.github.io)
Gemini 1.0 Ultra74.4%0-shot, post-trained API model; developer-reported2023-12(Source: arxiv.org); The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
Code Llama - Python 34B53.7%zero-shot, greedy; developer-reported2023-08-24(Source: arxiv.org)
Llama 2 70B30.5%zero-shot, greedy; reported by Meta in the Code Llama paper2023-08-24(Source: arxiv.org)
phi-1 (1.3B)50.6%pass@1; developer-reported2023-06-20Textbooks Are All You Need (Gunasekar et al., Microsoft Research, 2023)
GPT-4 (May 2023)88.4%greedy, chat setting; measured by EvalPlus2023-05(Source: evalplus.github.io)
GPT-467.0%0-shot; pre-trained base model; developer-reported2023-03-15GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023); The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
GPT-465.58%0-shot; pre-trained base model, scored only on the problems not found in pre-training data (25% were); developer-reported2023-03-15GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023)
GPT-3.548.1%0-shot; developer-reported2023-03-15GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023); The Claude 3 Model Family: Opus, Sonnet, Haiku (Anthropic model card, March 2024)
CodeT + GPT-3.565.8%CodeT ("code generation with generated tests") applied to GPT-3.5; cited by OpenAI in its comparison table as the best external model, including benchmark-specific tuning2023-03-15GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023)
PaLM 540B26.2%0-shot; cited by OpenAI as the best general language-model result before GPT-42023-03-15GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023); LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
PaLM26.2%0-shot; best external LM evaluated few-shot; reported by OpenAI in the GPT-4 Technical Report (citing the external publication) (card §4 (Table 2); Appendix D)2023-03-15GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023)
LLaMA 7B10.5%temperature 0.1, zero-shot; developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LLaMA 13B15.8%developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LLaMA 33B21.7%developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LLaMA 65B23.7%developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LaMDA 137B14.0%reported by Meta in the LLaMA paper (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
PaLM 8B3.6%read from figures in the source paper (paper's ∗ note); reported by Meta in the LLaMA paper (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
PaLM 62B15.9%reported by Meta in the LLaMA paper (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LLaMA 7B36.5%temperature 0.8; developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LLaMA 13B52.5%developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LLaMA 33B70.7%developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LLaMA 65B79.3%developer-reported (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
LaMDA 137B47.3%reported by Meta in the LLaMA paper (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
PaLM 8B18.7%read from figures (∗); reported by Meta in the LLaMA paper (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
PaLM 62B46.3%read from figures (∗); reported by Meta in the LLaMA paper (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
PaLM 540B76.2%reported by Meta in the LLaMA paper (card §Table 8 (§3.5))2023-02-27LLaMA: Open and Efficient Foundation Language Models (Touvron et al., Meta AI, February 2023)
Codex-S 12B37.7%single sample; fine-tuned on standalone functions2021-07-07Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021)
Codex 12B28.81%unbiased estimator, n = 200 samples2021-07-07Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021)
GPT-J 6B11.62%best of temperatures 0.2 and 0.8; measured by OpenAI2021-07-07Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021)
GPT-Neo 2.7B6.41%best of temperatures 0.2, 0.4 and 0.8; measured by OpenAI2021-07-07Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021)
GPT-3 (12B)0%single sample, no code fine-tuning2021-07-07Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021)

HumanEval+ (EvalPlus)

The same 164 problems scored against the extended EvalPlus tests, pass@1. Leaderboard rows use HumanEval+ version 0.1.10 with greedy decoding and carry the model-version date the leaderboard displays; the two rows from the EvalPlus paper used the test suite as it stood in 2023.

ModelScoreSettingDateSource
Llama 3 70B (base)42.1%base model, 0-shot; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team) (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Mixtral 8x22B (base)40.2%base model, 0-shot; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team) (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2-72B (base)56.1%base model, 0-shot; reported by the Qwen team in the Qwen2.5 technical report (evaluated by the Qwen team) (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-72B (base)51.2%base model, 0-shot; developer-reported (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
Qwen2.5-Plus (base)52.4%base model, 0-shot; developer-reported (card §5.1, Table 2)2025-01-03Qwen2.5 Technical Report (Qwen Team, December 2024)
DeepSeek-V386.6%greedy, chat setting; measured by EvalPlus (leaderboard label "Nov 2024")2024-11(Source: evalplus.github.io)
Qwen2.5-Coder-32B-Instruct87.2%EvalPlus harness, decoding not stated; developer-reported2024-11(Source: arxiv.org)
o1-preview89%greedy, chat setting; measured by EvalPlus (o1-mini listed at the same figure)2024-09(Source: evalplus.github.io)
GPT-4o (August 2024)87.2%greedy, chat setting; measured by EvalPlus2024-08(Source: evalplus.github.io)
Mistral Large 287%Mistral's own evaluation pipeline; developer-reported2024-07-24(Source: huggingface.co)
Mistral Large 2 (Instruct-2407)87%setting not stated; developer-reported (card §Metrics — Code & Reasoning Benchmarks)2024-07-24Model Card for Mistral-Large-Instruct-2407 (Mistral AI, July 2024)
Llama 3.1 405B82.3%0-shot pass@1, 95% CI ±5.8; developer-reported2024-07-23(Source: arxiv.org)
GPT-4o mini (July 2024)83.5%greedy, chat setting; measured by EvalPlus2024-07(Source: evalplus.github.io)
Claude 3.5 Sonnet (June 2024)81.7%greedy, chat setting; measured by EvalPlus2024-06(Source: evalplus.github.io)
GPT-4 Turbo (April 2024)86.6%greedy, chat setting; measured by EvalPlus2024-04(Source: evalplus.github.io)
Claude 3 Opus77.4%greedy, chat setting; measured by EvalPlus2024-03(Source: evalplus.github.io)
Mistral Large (March 2024)62.2%greedy, chat setting; measured by EvalPlus2024-03(Source: evalplus.github.io)
GPT-4 (May 2023)79.3%greedy, chat setting; measured by EvalPlus, leaderboard version2023-05(Source: evalplus.github.io)
GPT-476.2%greedy; EvalPlus paper, 2023 test suite2023-05Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation (Liu et al., 2023)
ChatGPT (GPT-3.5)63.4%greedy; EvalPlus paper, 2023 test suite2023-05Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation (Liu et al., 2023)

HumanEval (as reported in developer documents)

Results as printed in developer system cards, model cards and technical reports; each row's Setting records the developer's stated conditions and the document section.

ModelScoreSettingDateSource
Claude 3.5 Sonnet (New) (upgraded, October 2024)93.7%0-shot; developer-reported (card §2.5, Table 7)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
Claude 3.5 Sonnet (original, June 2024)92.0%0-shot; developer-reported (card §2.5, Table 7)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
Claude 3 Opus84.9%0-shot; developer-reported (card §2.5, Table 7)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
Claude 3 Sonnet73.0%0-shot; developer-reported (card §2.5, Table 7)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
GPT-4o90.2%0-shot; reported by Anthropic in the Claude 3.5 model-card addendum, quoted from OpenAI simple-evals [26] / [11] (card §2.5, Table 7)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
Llama 3.1 405B89.0%0-shot; reported by Anthropic in the Claude 3.5 model-card addendum, quoted from Meta [20] (card §2.5, Table 7)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
Claude 3.5 Haiku88.1%0-shot; developer-reported (card §2.5, Table 8)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
Claude 3 Haiku75.9%0-shot; developer-reported (card §2.5, Table 8)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)
GPT-4o mini (gpt-4o-mini-2024-07-18)87.2%0-shot; reported by Anthropic in the Claude 3.5 model-card addendum, quoted from OpenAI simple-evals [26], gpt-4o-mini-2024-07-18 (card §2.5, Table 8)2024-10-22Model Card Addendum: Claude 3.5 Haiku and Upgraded Claude 3.5 Sonnet (Anthropic, October 2024)

HumanEval — 0-shot

Results as printed in developer system cards, model cards and technical reports; each row's Setting records the developer's stated conditions and the document section.

ModelScoreSettingDateSource
Llama 3 8B72.6finetuned model; developer-reported (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Gemma 2 9B54.3reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Mistral 7B40.2reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Llama 3 70B80.5developer-reported (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Mixtral 8×22B75.6reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
GPT-3.5 Turbo68.0reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Llama 3 405B89.0developer-reported (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Nemotron 4 340B73.2reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
GPT-4 (0125)86.6reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
GPT-4o90.2reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Claude 3.5 Sonnet92.0reported by Meta in the Llama 3 paper (card §Table 2 (§1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)

HumanEval — Pre-trained

Results as printed in developer system cards, model cards and technical reports; each row's Setting records the developer's stated conditions and the document section.

ModelScoreSettingDateSource
Llama 3 8B37.2±7.4; pre-trained model; developer-reported (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Mistral 7B30.5±7.0; reported by Meta in the Llama 3 paper (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Gemma 7B32.3±7.2; reported by Meta in the Llama 3 paper (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Llama 3 70B58.5±7.5; developer-reported (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Mixtral 8×22B45.1±7.6; reported by Meta in the Llama 3 paper (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Llama 3 405B61.0±7.5; developer-reported (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
GPT-467.0±7.2; reported by Meta in the Llama 3 paper (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Nemotron 4 340B57.3±7.6; reported by Meta in the Llama 3 paper (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)
Gemini Ultra74.4±6.7; reported by Meta in the Llama 3 paper (card §Table 10 (§5.1.1))2024-07-31The Llama 3 Herd of Models (Meta, July 2024)

Interpreting scores

There is no chance baseline: answers are free-form programs, and GPT-3 models without code training scored near 0% Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). With 164 problems the statistical resolution is coarse. Meta's Llama 3 paper attaches 95% confidence intervals to its HumanEval figures: 89.0 ±4.8 for Llama 3.1 405B, 90.2 ±4.5 for GPT-4o and 92.0 ±4.2 for Claude 3.5 Sonnet, intervals that overlap for all three models (Source: arxiv.org).

The same model receives different scores from different evaluators. OpenAI's simple-evals notes say that evaluations are sensitive to prompting and that formulations vary widely between publications (Source: github.com).

ModelDeveloper's figureOther measurements
Claude 3.5 Sonnet (June 2024)92.0% (Anthropic)89.0% (Qwen team); 87.2% (EvalPlus)
o1-preview92.4% (OpenAI)95.1% (Qwen team); 96.3% (EvalPlus)
GPT-4o90.2% (launch post); 91.0% for the same May 2024 snapshot in simple-evals92.1% for the August 2024 snapshot (Qwen team); 92.7% (EvalPlus)
GPT-467.0% (March 2023 report)88.4% for the May 2023 version (EvalPlus); 86.6% for the 0125 version (Meta)

(Sources: arxiv.org; evalplus.github.io; github.com; arxiv.org; other figures as cited in the Results tables.)

A pass@1 figure is not comparable with pass@10 or pass@100. The Codex paper describes pass@k as the result of picking the best of k samples with an oracle that already knows the tests, and Codex 12B moved from 28.81% at k = 1 to 72.31% at k = 100 Evaluating Large Language Models Trained on Code (Chen et al., OpenAI, 2021). A pass on the original tests is also weaker evidence of correctness than the word suggests: EvalPlus found that code passing the original tests often failed its extended tests, lowering every model's score Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation (Liu et al., 2023).

On scope, the SWE-bench authors wrote that benchmarks such as HumanEval mostly involve self-contained problems solvable in a few lines of code (SWE-bench: Can Language Models Resolve Real-World GitHub Issues?; Source: arxiv.org); the LiveCodeBench authors call it an easier benchmark of small, isolated problems LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (Jain et al., 2024); and the GLM-4 report says most of its problems are introductory algorithms, below the difficulty of what users ask (Source: arxiv.org).

Limitations and criticism

Contamination

OpenAI's GPT-4 technical report found that about 25% of HumanEval appeared in GPT-4's pre-training data; on the uncontaminated remainder the model scored 65.58% against 67.0% overall, recorded in the report's table as a degradation of 2.12%. The check matched 50-character substrings of each test item against the training data (GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023)). Meta reported that 8-gram overlap between HumanEval and the Llama 3 corpus was so high that the performance effect could not be estimated (Source: arxiv.org).

Independent studies examined open training corpora. Riddell, Ni and Cohan found exact or semantically equivalent matches for 12.2% of HumanEval solutions in the Pile and 18.9% in the Stack, although the Stack had been decontaminated by string matching; removing the matched problems lowered StarCoderBase-15.5B from 30.5% to 22.6% (Source: arxiv.org). Yang, Chiang, Zheng, Gonzalez and Stoica showed that rephrased or translated test problems pass n-gram decontamination filters: CodeLlama 13B trained on rephrased HumanEval rose from 36.0% to 81.1%, above GPT-4's reported 67.0%. Their detector flagged rephrased HumanEval problems in the Stack (18.9% of the benchmark, in a 4 GB subset), StarCoder-Data (15.9%), RedPajama-Data-1T (8.5%) and the GPT-3.5-generated CodeAlpaca set (12.8%) (Source: arxiv.org). Researchers at Cohere found every HumanEval prompt at least 43 times in public GitHub repositories (median 99), described leakage through synthetic training data and through model selection, and reported that models leading on HumanEval scored up to 43% worse on their new problem set; they also wrote that reporting HumanEval and MBPP had become mandatory for any 2023–2024 claim of coding capability (Source: arxiv.org).

Developers have responded in their own reports. Microsoft's phi-1 paper removed more than 40% of its synthetic exercise data for similarity to HumanEval and reported that the retrained model still outperformed StarCoder (Textbooks Are All You Need (Gunasekar et al., Microsoft Research, 2023); Source: ar5iv.labs.arxiv.org); the Qwen2.5-Coder report describes removing training data with a 10-gram overlap with HumanEval (Source: arxiv.org). The EvalPlus leaderboard states that model providers are responsible for avoiding contamination (Source: evalplus.github.io).

Overfitting

The LiveCodeBench authors plotted HumanEval+ scores against their own easy problems and found two clusters: models that did well on both, and a group, mainly fine-tuned open models, that did well only on HumanEval+. DeepSeek-Coder-Instruct 1.3B scored 59.8% on HumanEval+ and 26.3% on LiveCodeBench-Easy, which the authors read as possible overfitting to HumanEval LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (Jain et al., 2024).

Test and reference quality

The EvalPlus findings of thin tests and 18 faulty reference solutions are described under Versions and variants. The same authors note that some docstrings leave the expected input domain or error handling unspecified, so a capable model can be marked wrong Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation (Liu et al., 2023).

Saturation

The 2025 AI Index states that foundational coding benchmarks such as HumanEval "are slowly becoming saturated" and, in another passage, lists MMLU, GSM8K and HumanEval among benchmarks that have reached saturation, adding that researchers have moved to harder coding tests (Source: hai.stanford.edu). The LiveCodeBench paper said in 2024 that HumanEval and MBPP were no longer sufficient for assessing new models LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (Jain et al., 2024).

Developer reporting followed. OpenAI's announcements of GPT-4.5 (February 2025), GPT-4.1 and o3 (April 2025) and GPT-5 (August 2025) do not mention HumanEval and report coding through SWE-bench Verified, Aider Polyglot, SWE-Lancer or Codeforces (Source: openai.com; Source: openai.com; Source: openai.com; Source: openai.com). OpenAI continued to post HumanEval figures for those models in simple-evals until the July 2025 notice. The benchmark remains in use in academic evaluations of open-weight models: a 2025 study of gpt-oss reported gpt-oss-20b ahead of gpt-oss-120b on HumanEval and MMLU (Source: arxiv.org).

Use in policy and safety frameworks

OpenAI used HumanEval in the GPT-4 technical report to test whether capabilities can be forecast before training. It predicted GPT-4's pass rate on a subset of the problems from models trained with at most 1,000 times less compute, and presented such forecasting as an aid to decisions about alignment, safety and deployment (GPT-4 Technical Report (OpenAI, arXiv 2303.08774, March 2023)).

NIST's initial public draft of AI 200-2, published in August 2026, names HumanEval with LiveBench and MMLU as examples of LLM benchmark evaluation in its appendix of selected AI benchmarks, which it calls a practical reference and not an exhaustive inventory (NIST AI 200-2 ipd — The TEVV-Athlon Framework for Evaluating AI Systems (initial public draft, August 2026)).

The Stanford HAI AI Index used HumanEval as one of four benchmarks for comparing leading United States and Chinese models, reporting that the gap narrowed from 31.6 percentage points at the end of 2023 to 3.7 at the end of 2024 (Source: hai.stanford.edu).

No source reviewed ties HumanEval to a capability threshold in a frontier safety framework.

Relationships

See also