| Rank | Model | Score |
|---|---|---|
| 1 | minicpm-sala | 0.951 |
| 2 | kimi-k2-0905 | 0.945 |
| 3 | gpt-5-1 | 0.94 |
| 4 | claude-3-5-sonnet | 0.937 |
| 5 | gpt-5-2 | 0.936 |
| 6 | gpt-5 | 0.934 |
| 7 | gpt-5 | 0.934 |
| 8 | kimi-k2-instruct | 0.933 |
| 9 | kimi-k2-instruct | 0.933 |
| 10 | qwen2-5-coder-32b-instruct | 0.927 |
| 11 | qwen2-5-coder-32b-instruct | 0.926 |
| 12 | sarvam-30b | 0.921 |
| 13 | claude-3-5-sonnet-v1 | 0.92 |
| 14 | mistral-large-2 | 0.92 |
| 15 | deepseek-v3-2 | 0.92 |
| 16 | qwen2-5-vl-32b-instruct | 0.915 |
| 17 | gpt-4o | 0.902 |
| 18 | gemini-2-5-pro | 0.9 |
| 19 | deepseek-v3-1 | 0.898 |
| 20 | granite-3-3-8b-base | 0.897 |
| 21 | granite-3-3-8b-instruct | 0.897 |
| 22 | nova-2-pro | 0.89 |
| 23 | llama-3-1-405b-instruct | 0.89 |
| 24 | deepseek-v2-5 | 0.89 |
| 25 | nova-pro | 0.89 |
1 phaseActive
OpenAI's 164-problem Python coding benchmark measuring functional correctness via automated test execution. The foundational LLM code generation evaluation.
Quick answer: HumanEval (Chen et al., July 2021) is OpenAI's seminal Python code generation benchmark consisting of 164 hand-crafted programming problems. Models generate function implementations from docstrings and are scored by executing against hidden unit tests, making it the most widely-cited and historically significant LLM coding evaluation. The benchmark is now heavily saturated — most frontier models exceed 90% pass@1.
What it tests: Python function synthesis from natural language docstrings, covering algorithms, string manipulation, data structures, and basic math.
Why it matters: HumanEval established the standard methodology for evaluating LLM code generation — generate code, execute against tests, measure pass@1 — and remains the baseline reference point for comparing models across generations.
Known limitations: The 164-problem set is heavily saturated for frontier models (most score 90%+), limiting discriminability at the top end. Contamination risk is high given the dataset is public and widely cited in training papers.
HumanEval presents each model with a Python function signature and a natural language docstring describing the expected behavior. The model must generate the complete function body. Correctness is determined by executing the model's output against a set of hidden unit tests — if all tests pass, the sample is considered correct.
The primary metric is pass@1 — the probability that a single sample passes all tests with greedy decoding. Higher-order metrics (pass@10, pass@100) measure whether a model can solve the problem given multiple attempts, which is useful for understanding the model's exploration capability but less commonly reported for comparison.
Problems range from simple list operations and string processing to more complex algorithmic tasks. The benchmark intentionally avoids problems requiring external libraries, keeping all solutions implementable with Python's standard library.
| Field | Value |
|---|---|
| Task category | Coding |
| Metric | Pass@1 (greedy decoding) |
| Number of tasks | 164 |
| Saturation | High |
| Created by | Chen et al. (OpenAI) |
| Source paper | Chen et al. 2021 |
| GitHub | openai/human-eval |
| Dataset | openai/openai_humaneval |
For each problem, the model generates a function body given the signature and docstring. The generated code is sandboxed and executed against a private set of unit tests. Pass@1 is the fraction of problems where the first (greedy) sample passes all unit tests. Due to the high saturation of modern models — nearly all frontier models score above 88% — HumanEval is increasingly used as a sanity check rather than a primary discriminator.
What is HumanEval? HumanEval is a 164-problem Python coding benchmark introduced by OpenAI in 2021. It evaluates a model's ability to generate correct function implementations from docstrings, scored by executing the generated code against unit tests.
Is HumanEval still useful for comparing LLMs? For frontier models, HumanEval is heavily saturated — most score above 88% — making it a poor discriminator between top models. More challenging successors like BigCodeBench or LiveCodeBench are now preferred for fine-grained comparisons.
What is a good HumanEval score? Scores above 90% are now common for frontier models. The original Codex (2021) scored 28.8%, while GPT-4 was the first to widely exceed 80%. Today even small instruction-tuned models routinely exceed 70%.