| Rank | Model | Score |
|---|---|---|
| 1 | claude-sonnet-3-7 | 0.358 |
| 2 | deepseek-r1-0528 | 0.351 |
| 3 | deepseek-v3 | 0.345 |
| 4 | gemini-2-5-pro | 0.331 |
| 5 | gpt-4-1 | 0.328 |
| 6 | deepseek-v3-0324 | 0.318 |
| 7 | gpt-4-1-mini | 0.318 |
| 8 | gpt-4o | 0.311 |
| 9 | qwen2-5-coder-32b-instruct | 0.308 |
| 10 | claude-3-5-sonnet | 0.304 |
| 11 | claude-3-5-haiku | 0.301 |
| 12 | claude-3-5-sonnet-v1 | 0.294 |
| 13 | gemini-2-0-flash | 0.287 |
| 14 | llama-4-maverick | 0.284 |
| 15 | llama-3-3-70b-instruct | 0.284 |
| 16 | phi-4 | 0.274 |
| 17 | llama-3-1-405b-instruct | 0.264 |
| 18 | claude-3-opus | 0.26 |
| 19 | gemma-3-27b | 0.26 |
| 20 | gemini-1-5-pro | 0.254 |
| 21 | qwen2-5-72b-instruct | 0.254 |
| 22 | llama-3-1-70b-instruct | 0.254 |
| 23 | qwen2-5-32b-instruct | 0.246 |
| 24 | qwen2-5-14b-instruct | 0.209 |
| 25 | qwen2-72b-instruct | 0.206 |
1 phaseActive
Practical code generation benchmark with 1,140 tasks requiring multi-library function calls and complex instruction following across 7 domains.
Quick answer: BigCodeBench (Zhuo et al., June 2024) challenges LLMs to generate correct Python solutions for 1,140 fine-grained programming tasks that require invoking multiple functions from 139 real-world libraries across 7 domains. Its two evaluation variants — Complete (code completion from docstrings) and Instruct (natural language instructions) — measure both completion ability and instruction-following quality, making it one of the most practically-oriented coding benchmarks.
What it tests: Multi-library Python code generation covering data processing, numerical computing, web APIs, OS operations, cryptography, NLP, and visualization tasks.
Why it matters: Unlike HumanEval or MBPP which use toy problems, BigCodeBench requires composing real library calls in realistic scenarios, exposing weaknesses in models that excel on simple algorithmic tasks but struggle with practical software engineering.
Known limitations: Evaluation requires executing the generated code in a sandboxed environment, which can be slow; also, the leaderboard has limited coverage of post-2025 frontier models.
BigCodeBench constructs each task around a practical programming scenario that requires calling at least one function from a real library (e.g., pandas, numpy, requests, cryptography). Tasks are drawn from 7 domains: data processing, numerical computing, network/web, OS operations, cryptography, NLP, and data visualization. For each task, a model must generate code that passes a suite of unit tests — not just produce syntactically valid output.
The benchmark has two variants: Complete evaluates code completion from structured docstrings (testing if models are good at coding given full specifications), while Instruct evaluates code generation from brief natural language instructions (a "vibe check" for whether models can translate human intent into working code). The Instruct variant is generally considered more representative of real-world use.
A subset of approximately 150 "Hard Set" tasks represents the most challenging and user-facing problems; models score significantly lower on this subset than on the full 1,140-task set.
| Field | Value |
|---|---|
| Task category | Coding |
| Metric | Calibrated Pass@1 (greedy decoding) |
| Number of tasks | 1,140 (full set); ~150 hard set |
| Saturation | Low |
| Created by | Zhuo et al. (BigCode Community) |
| Source paper | Zhuo et al. 2024 |
| GitHub | bigcode-project/bigcodebench |
| Dataset | bigcode/bigcodebench-leaderboard |
BigCodeBench uses calibrated Pass@1 — the fraction of tasks where the model's greedy-decoded output passes all unit tests. A "calibrated" score accounts for the proportion of trivially-correct solutions to remove luck-based passes. Scores are expressed as percentages or fractions (0–1). The typical range for frontier models is 25–36% on the Instruct variant, highlighting the genuine difficulty of multi-library programming tasks.
| Rank | Model | Score | Source | Date |
|---|---|---|---|---|
| 1 | Claude 3.7 Sonnet | 35.8% | BigCodeBench | 2025-02 |
| 2 | DeepSeek-R1 | 35.1% | BigCodeBench | 2025-01 |
| 3 | Gemini 2.5 Pro | 33.1% | BigCodeBench | 2025-03 |
| 4 | Qwen2.5-Coder-32B-Instruct | 30.8% | BigCodeBench | 2024-11 |
| 5 | Qwen2.5-Coder-7B-Instruct | 20.3% | BigCodeBench | 2024-11 |
What is BigCodeBench? BigCodeBench is a coding benchmark with 1,140 Python programming tasks that require multi-library function calls from 139 real-world libraries across 7 domains, evaluating practical code generation beyond simple algorithmic problems.
What is the difference between BigCodeBench Complete and Instruct? Complete evaluates code completion given structured long docstrings; Instruct evaluates code generation from brief natural language descriptions. The Instruct variant is generally harder and more representative of real-world coding assistant use cases.
What is a good BigCodeBench score? Current frontier models score 30–36% on the Instruct variant, reflecting the genuine difficulty of multi-library programming. The hard subset is even more challenging with typical scores 10–20% lower.