Spider 2.0
Models and agents write SQL for real enterprise databases with large schemas, across BigQuery, Snowflake, SQLite and dbt projects. Answers are checked by executing them.
Three settings: Spider 2.0-Snow, Spider 2.0-Lite and Spider 2.0-DBT, which replaced the original agent setting in 2025-05. The maker updates examples over time, so scores can drift.
- Released
- November 2024
- Kind
- Data science and SQL
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Agent task
- Tasks
- All public
- Strongest model tested
- Claude Opus 4.6 #37 on the capability index
- Last in a launch post
- July 2025, dropped before it saturated
- Last model added
- March 2026
- Scores refreshed
- November 12th, 2026
In the authors’ words
Real-world enterprise text-to-SQL workflows often involve complex cloud or local data across various database systems, multiple SQL queries in various dialects, and diverse operations from data transformation to analytics. We introduce Spider 2.0, an evaluation framework comprising 632 real-world text-to-SQL workflow problems derived from enterprise-level database use cases. The databases in Spider 2.0 are sourced from real data applications, often containing over 1,000 columns and stored in local or cloud database systems such as BigQuery and Snowflake. We show that solving problems in Spider 2.0 frequently requires understanding and searching through database metadata, dialect documentation, and even project-level codebases. This challenge calls for models to interact with complex SQL workflow environments, process extremely long contexts, perform intricate reasoning, and generate multiple SQL queries with diverse operations, often exceeding 100 lines, which goes far beyond traditional text-to-SQL challenges. Our evaluations indicate that based on o1-preview, our code agent framework successfully solves only 21.3% of the tasks, compared with 91.2% on Spider 1.0 and 73.0% on BIRD. Our results on Spider 2.0 show that while language models have demonstrated remarkable performance in code generation – especially in prior text-to-SQL benchmarks – they require significant improvement in order to achieve adequate performance for real-world enterprise usage. Progress on Spider 2.0 represents crucial steps towards developing intelligent, autonomous, code agents for real-world enterprise settings. Our code, baseline models, and data are available at https://spider2-sql.github.io
Genloop's Sentinel Agent v2 Pro tops the leaderboard with 96.7%
Best score per entry from the benchmark's own leaderboard, read on November 12th, 2026. 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. The best model we track is Gemini 3 Pro, at 94.2%.
Gemini 3 Pro leads with 94.2%, claims included
Best score per model from every source, including labs’ own numbers and claims Epoch AI collected from reports and papers. Labs pick their own settings, so a claim can beat an independent run of the same model.
The newest model with a score here came out in March 2026, 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
-
Gemini 4 Carbon
- GPT-6 Astra
- Claude Opus 5.5
- and 16 more
- 96.7 Genloop's Sentinel Agent v2 Pro
- 96.5 Native mini
- 94.2
Gemini 3 Pro
- 94.0 TCDataAgent-SQL with Contextual Scaling Engine
- 90.5 Claude Sonnet 4.5
- 88.5 Genloop's Sentinel Agent v2
- 86.3 Ask Data with Relational Knowledge Graph
- 86.3 Claude Opus 4.6
- 84.1 ByteBrain-Agent
- 83.7 MAESTRO — Multi-Agent Engine for Semantic T2S Reasoning & Orchestration
- 83.4 Genloop's Sentinel Agent v1.5
- 83.0 Deepinsight Agent
- 82.8 AiCheng Agent
- 82.8 Omni 2.0
- 75.1 Arctic-FLEX
- 74.0 Sophon-Agent
- 73.1 APEX-SQL
- 70.4 Deepseek3.2
- 70.2 PExA
- 69.5 DIA (Data Intelligence Agents)
- 67.3 Opus 4.5 Judge
- 66.4 Omni 1.0
- 65.6 GPT-5
- 65.5 gpt-oss-120b
- 63.8 DeepSeek-R1 (snapshot unspecified)
- 62.9 o3
- 61.4 Claude-4-Sonnet
- 60.3 PAI-DataSurfer Agent
- 55.9 Kimi K2.5
- 50.5 GPT-5.4 Mini
- 50.3 GLM-5
- 45.3 Meituan-agent
- 45.1
Qwen3-Max
- 41.0 GPT-5 mini
- 38.0 DeepSeek-V3 (snapshot unspecified)
- 37.8 Qwen3-Coder-Plus
- 31.3 o1-preview
- 31.1
Qwen3-Coder-480B-A35B
- 25.8 Claude-4-Sonnet-20250514
- 24.5 Claude 3.7 Sonnet
- 24.3 Claude-3.7-Sonnet-20250219-Thinking
- 23.2 o1
- 19.2 o3-mini
- 19.0 Claude 3.5 Sonnet
- 13.9
Gemini 2.0 Pro
- 13.0 GPT-4o
- 10.8 GPT-4o
- 9.68 GPT-4o (snapshot unspecified)
- 8.96
QwQ-32B
- 5.48
Qwen2.5-Coder-32B-Instruct
- 0.0 SFT CodeS-15B
- 1 Genloop's Sentinel Agent v2 Pro 96.7%
- 2 Native mini 96.5%
- 3
Gemini 3 Pro 94.2%
- 4 TCDataAgent-SQL with Contextual Scaling Engine 94%
- 5 Claude Sonnet 4.5 90.5%
- 6 Genloop's Sentinel Agent v2 88.5%
- 7 Ask Data with Relational Knowledge Graph 86.3%
- 8 Claude Opus 4.6 86.3%
- 9 ByteBrain-Agent 84.1%
- 10 MAESTRO — Multi-Agent Engine for Semantic T2S Reasoning & Orchestration 83.7%
- 11 Genloop's Sentinel Agent v1.5 83.4%
- 12 Deepinsight Agent 83%
- 13 AiCheng Agent 82.8%
- 14 Omni 2.0 82.8%
- 15 Arctic-FLEX 75.1%
- 16 Sophon-Agent 74%
- 17 APEX-SQL 73.1%
- 18 Deepseek3.2 70.4%
- 19 PExA 70.2%
- 20 DIA (Data Intelligence Agents) 69.5%
- 21 Opus 4.5 Judge 67.3%
- 22 Omni 1.0 66.4%
- 23 GPT-5 65.6%
- 24 gpt-oss-120b 65.5%
- 25 DeepSeek-R1 (snapshot unspecified) 63.8%
- 26 o3 62.9%
- 27 Claude-4-Sonnet 61.4%
- 28 PAI-DataSurfer Agent 60.3%
- 29 Kimi K2.5 55.9%
- 30 GPT-5.4 Mini 50.5%
- 31 GLM-5 50.3%
- 32 Meituan-agent 45.3%
- 33
Qwen3-Max 45.1%
- 34 GPT-5 mini 41%
- 35 DeepSeek-V3 (snapshot unspecified) 38%
- 36 Qwen3-Coder-Plus 37.8%
- 37 o1-preview 31.3%
- 38
Qwen3-Coder-480B-A35B 31.1%
- 39 Claude-4-Sonnet-20250514 25.8%
- 40 Claude 3.7 Sonnet 24.5%
- 41 Claude-3.7-Sonnet-20250219-Thinking 24.3%
- 42 o1 23.2%
- 43 o3-mini 19.2%
- 44 Claude 3.5 Sonnet 19%
- 45
Gemini 2.0 Pro 13.9%
- 46 GPT-4o Nov 2024 13%
- 47 GPT-4o Aug 2024 10.8%
- 48 GPT-4o (snapshot unspecified) 9.68%
- 49
QwQ-32B 8.96%
- 50
Qwen2.5-Coder-32B-Instruct 5.48%
- 51 SFT CodeS-15B 0%
Source: Official Spider 2.0 leaderboard
- 94.2
Gemini 3 Pro
- 90.5 Claude Sonnet 4.5
- 86.3 Claude Opus 4.6
- 65.6 GPT-5
- 65.5 gpt-oss-120b
- 62.9 o3
- 55.9 Kimi K2.5
- 50.5 GPT-5.4 Mini
- 50.3 GLM-5
- 45.1
Qwen3-Max
- 41.0 GPT-5 mini
- 37.8 Qwen3-Coder-Plus
- 31.3 o1-preview
- 31.1
Qwen3-Coder-480B-A35B
- 24.5 Claude 3.7 Sonnet
- 23.2 o1
- 19.2 o3-mini
- 19.0 Claude 3.5 Sonnet
- 13.9
Gemini 2.0 Pro
- 13.0 GPT-4o
- 10.8 GPT-4o
- 8.96
QwQ-32B
- 5.48
Qwen2.5-Coder-32B-Instruct
- 1
Gemini 3 Pro 94.2%
- 2 Claude Sonnet 4.5 90.5%
- 3 Claude Opus 4.6 86.3%
- 4 GPT-5 65.6%
- 5 gpt-oss-120b 65.5%
- 6 o3 62.9%
- 7 Kimi K2.5 55.9%
- 8 GPT-5.4 Mini 50.5%
- 9 GLM-5 50.3%
- 10
Qwen3-Max 45.1%
- 11 GPT-5 mini 41%
- 12 Qwen3-Coder-Plus 37.8%
- 13 o1-preview 31.3%
- 14
Qwen3-Coder-480B-A35B 31.1%
- 15 Claude 3.7 Sonnet 24.5%
- 16 o1 23.2%
- 17 o3-mini 19.2%
- 18 Claude 3.5 Sonnet 19%
- 19
Gemini 2.0 Pro 13.9%
- 20 GPT-4o Nov 2024 13%
- 21 GPT-4o Aug 2024 10.8%
- 22
QwQ-32B 8.96%
- 23
Qwen2.5-Coder-32B-Instruct 5.48%
Sources: Official Spider 2.0 leaderboard and labs’ model cards
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | Genloop's Sentinel Agent v2 Pro | 96.7% | Official leaderboard | ||
| 2 | Native mini | 96.5% | Official leaderboard | ||
| 3 | | 94.2% | QUVI-3 | Nov 2025 | Official leaderboard |
| 4 | TCDataAgent-SQL with Contextual Scaling Engine | 94% | Official leaderboard | ||
| 5 | Claude Sonnet 4.5 | 90.5% | Prism Swarm with Deepthink | Sep 2025 | Official leaderboard |
| 6 | Genloop's Sentinel Agent v2 | 88.5% | Official leaderboard | ||
| 7 | Ask Data with Relational Knowledge Graph | 86.3% | Official leaderboard | ||
| 8 | Claude Opus 4.6 | 86.3% | QUVI-3 | Feb 2026 | Official leaderboard |
| 9 | ByteBrain-Agent | 84.1% | Official leaderboard | ||
| 10 | MAESTRO — Multi-Agent Engine for Semantic T2S Reasoning & Orchestration | 83.7% | Official leaderboard | ||
| 11 | Genloop's Sentinel Agent v1.5 | 83.4% | Official leaderboard | ||
| 12 | Deepinsight Agent | 83% | Official leaderboard | ||
| 13 | AiCheng Agent | 82.8% | Official leaderboard | ||
| 14 | Omni 2.0 | 82.8% | Official leaderboard | ||
| 15 | Arctic-FLEX | 75.1% | Official leaderboard | ||
| 16 | Sophon-Agent | 74% | Official leaderboard | ||
| 17 | APEX-SQL | 73.1% | Official leaderboard | ||
| 18 | Deepseek3.2 | 70.4% | QiSi-SQL | Official leaderboard | |
| 19 | PExA | 70.2% | Official leaderboard | ||
| 20 | DIA (Data Intelligence Agents) | 69.5% | Official leaderboard | ||
| 21 | Opus 4.5 Judge | 67.3% | Chicory AI Agent + Claude Sonnet 4.5 | Official leaderboard | |
| 22 | Omni 1.0 | 66.4% | Official leaderboard | ||
| 23 | GPT-5 | 65.6% | SSDAT | Aug 2025 | Official leaderboard |
| 24 | gpt-oss-120b | 65.5% | FlexSQL | Aug 2025 | Official leaderboard |
| 25 | DeepSeek-R1 (snapshot unspecified) | 63.8% | DSR-SQL | Official leaderboard | |
| 26 | o3 | 62.9% | ReFoRCE | Apr 2025 | Official leaderboard |
| 27 | Claude-4-Sonnet | 61.4% | WindAgent | Official leaderboard | |
| 28 | PAI-DataSurfer Agent | 60.3% | Official leaderboard | ||
| 29 | Kimi K2.5 | 55.9% | DSR-SQL (w/o voting) | Jan 2026 | Official leaderboard |
| 30 | GPT-5.4 Mini | 50.5% | GD-TTS Agent | Mar 2026 | Official leaderboard |
| 31 | GLM-5 | 50.3% | PGV-Agent | Feb 2026 | Official leaderboard |
| 32 | Meituan-agent | 45.3% | Official leaderboard | ||
| 33 | | 45.1% | KDGCCloud-KCILab | Sep 2025 | Official leaderboard |
| 34 | GPT-5 mini | 41% | AgenticView | Aug 2025 | Official leaderboard |
| 35 | DeepSeek-V3 (snapshot unspecified) | 38% | ReFoRCE | Official leaderboard | |
| 36 | Qwen3-Coder-Plus | 37.8% | Spider-Agent | Sep 2025 | Official leaderboard |
| 37 | o1-preview | 31.3% | ReFoRCE | Sep 2024 | Official leaderboard |
| 38 | | 31.1% | Spider-Agent | Jul 2025 | Official leaderboard |
| 39 | Claude-4-Sonnet-20250514 | 25.8% | Spider-Agent | Official leaderboard | |
| 40 | Claude 3.7 Sonnet | 24.5% | Spider-Agent | Feb 2025 | Official leaderboard |
| 41 | Claude-3.7-Sonnet-20250219-Thinking | 24.3% | Spider-Agent | Official leaderboard | |
| 42 | o1 | 23.2% | Spider-Agent | Dec 2024 | Official leaderboard |
| 43 | o3-mini | 19.2% | Spider-Agent | Jan 2025 | Official leaderboard |
| 44 | Claude 3.5 Sonnet | 19% | Spider-Agent | Jun 2024 | Official leaderboard |
| 45 | | 13.9% | Spider-Agent | Feb 2025 | Official leaderboard |
| 46 | GPT-4o Nov 2024 | 13% | Spider-Agent | Nov 2024 | Official leaderboard |
| 47 | GPT-4o Aug 2024 | 10.8% | Spider-Agent | Aug 2024 | Official leaderboard |
| 48 | GPT-4o (snapshot unspecified) | 9.68% | CollideNL2SQL | Official leaderboard | |
| 49 | | 8.96% | Spider-Agent | Mar 2025 | Official leaderboard |
| 50 | | 5.48% | Spider-Agent | Nov 2024 | Official leaderboard |
| 51 | SFT CodeS-15B | 0% | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 94.2% | QUVI-3 | Nov 2025 | Official leaderboard |
| 2 | Claude Sonnet 4.5 | 90.5% | Prism Swarm with Deepthink | Sep 2025 | Official leaderboard |
| 3 | Claude Opus 4.6 | 86.3% | QUVI-3 | Feb 2026 | Official leaderboard |
| 4 | GPT-5 | 65.6% | SSDAT | Aug 2025 | Official leaderboard |
| 5 | gpt-oss-120b | 65.5% | FlexSQL | Aug 2025 | Official leaderboard |
| 6 | o3 | 62.9% | ReFoRCE | Apr 2025 | Official leaderboard |
| 7 | Kimi K2.5 | 55.9% | DSR-SQL (w/o voting) | Jan 2026 | Official leaderboard |
| 8 | GPT-5.4 Mini | 50.5% | GD-TTS Agent | Mar 2026 | Official leaderboard |
| 9 | GLM-5 | 50.3% | PGV-Agent | Feb 2026 | Official leaderboard |
| 10 | | 45.1% | KDGCCloud-KCILab | Sep 2025 | Official leaderboard |
| 11 | GPT-5 mini | 41% | AgenticView | Aug 2025 | Official leaderboard |
| 12 | Qwen3-Coder-Plus | 37.8% | Spider-Agent | Sep 2025 | Official leaderboard |
| 13 | o1-preview | 31.3% | ReFoRCE | Sep 2024 | Official leaderboard |
| 14 | | 31.1% | Jul 2025 | Lab model card | |
| 15 | Claude 3.7 Sonnet | 24.5% | Spider-Agent | Feb 2025 | Official leaderboard |
| 16 | o1 | 23.2% | Spider-Agent | Dec 2024 | Official leaderboard |
| 17 | o3-mini | 19.2% | Spider-Agent | Jan 2025 | Official leaderboard |
| 18 | Claude 3.5 Sonnet | 19% | Spider-Agent | Jun 2024 | Official leaderboard |
| 19 | | 13.9% | Spider-Agent | Feb 2025 | Official leaderboard |
| 20 | GPT-4o Nov 2024 | 13% | Spider-Agent | Nov 2024 | Official leaderboard |
| 21 | GPT-4o Aug 2024 | 10.8% | Spider-Agent | Aug 2024 | Official leaderboard |
| 22 | | 8.96% | Spider-Agent | Mar 2025 | Official leaderboard |
| 23 | | 5.48% | Spider-Agent | Nov 2024 | Official leaderboard |
Labs report scores for 1 model in their cards. Switch the scores above to rank them together.
6 models have held number one on the official leaderboard since its release in November 2024 6 models have held number one with claims included since its release in November 2024
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official Spider 2.0 leaderboard
Claude Sonnet 4.5 on the official leaderboard passed 85% in September 2025
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Sources: Official Spider 2.0 leaderboard and labs’ model cards
No launch post has listed it since July 2025
Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.
| Date | Launch post | Score | As the post writes it |
|---|---|---|---|
| Jul 22, 2025 | 31.1 | Spider2 |
One lab claim next to the leaderboard
Each score a lab reported for its own model, beside the same model's best score on the leaderboard. Gaps mostly come from different harnesses, effort levels and task subsets. 1 of them match, which usually means one side copied the other. Every benchmark.
| Model | Lab says | Board says | Gap |
|---|---|---|---|
| | 31.1% Spider2 | 31.1% Leaderboard, Spider-Agent | Same |
Versions
We switch the top row to each new version when it comes out. Open it for one row per version. An old version stays in play while people still test it, so whoever first takes it past 85% gets credit for closing it out.
Sources: Official leaderboards and labs’ model cards
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