BIRD-Python
Models write pandas code to answer questions about tables. A language model compares the executed output with a reference result.
Optum AI tested nine models on the original questions alongside two rewrites. Its analysis excluded 18 of the 1,534 source tasks.
- Released
- January 2026
- Kind
- Data science and SQL
- Level
- University
- Scored
- Graded by a model
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Single turn
- Environment
- Code sandbox
- Items from
- Another benchmark
- Refresh
- One fixed set
- Run by
- Anyone
- Based on
- Bird-SQL
- Strongest model tested
-
Qwen3-Max #112 on the capability index
- Last model added
- September 2025
- Updated automatically
- No, from its paper
- Scores refreshed
- November 20th, 2026
In the authors’ words
While Text-to-SQL remains the dominant approach for database interaction, real-world analytics increasingly require the flexibility of general-purpose programming languages such as Python or Pandas to manage file-based data and complex analytical workflows. Despite this growing need, the reliability of Text-to-Python in core data retrieval remains underexplored relative to the mature SQL ecosystem. To address this gap, we introduce BIRD-Python, a benchmark designed for cross-paradigm evaluation. We systematically refined the original dataset to reduce annotation noise and align execution semantics, thereby establishing a consistent and standardized baseline for comparison. Our analysis reveals a fundamental paradigmatic divergence: whereas SQL leverages implicit DBMS behaviors through its declarative structure, Python requires explicit procedural logic, making it highly sensitive to underspecified user intent. To mitigate this challenge, we propose the Logic Completion Framework (LCF), which resolves ambiguity by incorporating latent domain knowledge into the generation process. Experimental results show that (1) performance differences primarily stem from missing domain context rather than inherent limitations in code generation, and (2) when these gaps are addressed, Text-to-Python achieves performance parity with Text-to-SQL. These findings establish Python as a viable foundation for analytical agents-provided that systems effectively ground ambiguous natural language inputs in executable logical specifications. Resources are available at https://anonymous.4open.science/r/Bird-Python-43B7/.
Qwen3-Max leads with 73.2% among models released by September 2025 Qwen3-Max leads with 73.2% among models released by September 2025
Best score per entry from the benchmark's paper, read on November 20th, 2026. A paper’s table doesn’t add newer models. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
The newest model with a score here came out in September 2025, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 73.2
Qwen3-Max
- 72.5
Qwen3-32B
- 71.2 Qwen3-7B
- 62.5 DeepSeek-R1 (snapshot unspecified)
- 61.6 Qwen3-Coder-Plus
- 60.8 Qwen-Max (snapshot unspecified)
- 56.6
Qwen2.5-Coder-32B
- 54.3 Qwen2.5-Coder-14B
- 48.0
Qwen3-14B
- 45.8 Qwen3-Coder-30B
- 36.0
Qwen2.5-Coder (7B)
- 19.8 TableGPT2-7B
- 5.45 AutoCoder-7B
- 1.12
StarCoder 2 7B
- 1
Qwen3-Max Logical clarifications 73.2%
- 2
Qwen3-32B Logical clarifications 72.5%
- 3 Qwen3-7B Logical clarifications 71.2%
- 4 DeepSeek-R1 (snapshot unspecified) Standard 62.5%
- 5 Qwen3-Coder-Plus Standard 61.6%
- 6 Qwen-Max (snapshot unspecified) Standard 60.8%
- 7
Qwen2.5-Coder-32B Standard 56.6%
- 8 Qwen2.5-Coder-14B Standard 54.3%
- 9
Qwen3-14B Standard 48%
- 10 Qwen3-Coder-30B Standard 45.8%
- 11
Qwen2.5-Coder (7B) Standard 36%
- 12 TableGPT2-7B Standard 19.8%
- 13 AutoCoder-7B Standard 5.45%
- 14
StarCoder 2 7B Standard 1.12%
Source: The BIRD-Python paper
- 1
Qwen3-Max Logical clarifications 73.2%
- 2
Qwen3-32B Logical clarifications 72.5%
- 3 Qwen3-Coder-Plus Standard 61.6%
- 4
Qwen2.5-Coder-32B Standard 56.6%
- 5 Qwen2.5-Coder-14B Standard 54.3%
- 6
Qwen3-14B Standard 48%
- 7
Qwen2.5-Coder (7B) Standard 36%
- 8
StarCoder 2 7B Standard 1.12%
Source: The BIRD-Python paper
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 73.2% | Logical clarifications | Sep 2025 | Official leaderboard |
| 2 | | 72.5% | Logical clarifications | Apr 2025 | Official leaderboard |
| 3 | Qwen3-7B | 71.2% | Logical clarifications | Official leaderboard | |
| 4 | DeepSeek-R1 (snapshot unspecified) | 62.5% | Standard | Official leaderboard | |
| 5 | Qwen3-Coder-Plus | 61.6% | Standard | Sep 2025 | Official leaderboard |
| 6 | Qwen-Max (snapshot unspecified) | 60.8% | Standard | Official leaderboard | |
| 7 | | 56.6% | Standard | Sep 2024 | Official leaderboard |
| 8 | Qwen2.5-Coder-14B | 54.3% | Standard | Sep 2024 | Official leaderboard |
| 9 | | 48% | Standard | Apr 2025 | Official leaderboard |
| 10 | Qwen3-Coder-30B | 45.8% | Standard | Official leaderboard | |
| 11 | | 36% | Standard | Sep 2024 | Official leaderboard |
| 12 | TableGPT2-7B | 19.8% | Standard | Official leaderboard | |
| 13 | AutoCoder-7B | 5.45% | Standard | Official leaderboard | |
| 14 | | 1.12% | Standard | Feb 2024 | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 73.2% | Logical clarifications | Sep 2025 | Official leaderboard |
| 2 | | 72.5% | Logical clarifications | Apr 2025 | Official leaderboard |
| 3 | Qwen3-Coder-Plus | 61.6% | Standard | Sep 2025 | Official leaderboard |
| 4 | | 56.6% | Standard | Sep 2024 | Official leaderboard |
| 5 | Qwen2.5-Coder-14B | 54.3% | Standard | Sep 2024 | Official leaderboard |
| 6 | | 48% | Standard | Apr 2025 | Official leaderboard |
| 7 | | 36% | Standard | Sep 2024 | Official leaderboard |
| 8 | | 1.12% | Standard | Feb 2024 | Official leaderboard |
Rankings by part
We read 3 parts from the benchmark’s paper: Simple, Moderate and Challenging. Each ranks models on one part of the test. Qwen3-Max leads 2 of them, and Qwen3-32B leads the other one. Arrows show how far a model moved from its overall rank among the models we track.
Simple
8 models we track have a score here.
- 1
Qwen3-32B ↑1 78.2%
- 2
Qwen3-Max ↓1 77.8%
- 3 Qwen3-Coder-Plus 66%
- 4
Qwen2.5-Coder-32B 62.2%
- 5 Qwen2.5-Coder-14B 60.8%
- 6
Qwen3-14B 54.7%
- 7
Qwen2.5-Coder (7B) 41.9%
- 8
StarCoder 2 7B 1.95%
Moderate
8 models we track have a score here.
- 1
Qwen3-Max 66.2%
- 2
Qwen3-32B 63.1%
- 3 Qwen3-Coder-Plus 55.8%
- 4
Qwen2.5-Coder-32B 49.8%
- 5 Qwen2.5-Coder-14B 45.7%
- 6
Qwen3-14B 37.9%
- 7
Qwen2.5-Coder (7B) 26.5%
- 8
StarCoder 2 7B 0.86%
Challenging
8 models we track have a score here.
- 1
Qwen3-Max 66.9%
- 2
Qwen3-32B 66.2%
- 3 Qwen3-Coder-Plus 53.1%
- 4
Qwen2.5-Coder-32B 42.8%
- 5 Qwen2.5-Coder-14B 40.7%
- 6
Qwen3-14B 37.2%
- 7
Qwen2.5-Coder (7B) 28.3%
- 8
StarCoder 2 7B 0%
Everything the board measures
The benchmark’s paper publishes 4 numbers for each entry: the headline score and 3 parts of the test. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Parts
- Simple
- Moderate
- Challenging
- Headline
- Headline score
- Parts
- Simple
- Moderate
- Challenging
- Headline
- Headline score
- Parts
- Simple
- Moderate
- Challenging
- Hugging Face
- Qwen
- not in our model list
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: The BIRD-Python paper
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official BIRD-Python leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471
Data audit
9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 14 months ago, in September 2025, for Qwen3-Max. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 3 pass 1 note
- Pass Independent runs Scores from the benchmark’s paper (14 entries).
- Pass Models scored 8 models we track, plus 6 other entries on its leaderboard.
- Warning Newest score The newest came 14 months ago, in September 2025, for Qwen3-Max.
- Note Frontier models None of the top 10 has a score. The strongest tested is Qwen3-Max (#112).
- Pass Headroom The best is 73.2%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 10 rows for models we track and 6 other entries at the last read.
- Pass Last read November 20th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.