A dynamic, contaminationβfree benchmark for evaluating LLMs on complex, realβworld textβtoβSQL tasks.
π Website β’ π Paper (coming soon) β’ π» GitHub β’ ποΈ LiveSQLBench-Base-Full-v1 β’ ποΈ LiveSQLBench-Large-v1 β’ ποΈ Bird-Interact (ICLR 2026 Oral)
Maintained by the π¦ BIRD Team @ HKU & βοΈ Google Cloud
LiveSQLBench (BIRD-SQL Pro v0.5) is a contamination-free, continuously evolving benchmark designed to evaluate LLMs on complex, real-world text-to-SQL tasks, featuring diverse real-world user queries, including Business Intelligence (BI), CRUD operations, and more. Each release will include 50 new, fully open-source DBs curated by the BIRD team through expert collaboration and continuous improvement. It will cover a wide range of database sizes, from end-user level (around 127 columns) to industrial level (~1000 columns). LiveSQLBench has been the infrastructure for the BIRD-Interact (ICLR 2026 Oral) , a dynamic human-centric interactive Text-to-SQL benchmark. Here are the features of the LiveSQLBench benchmark:
ποΈ Live Databases: Constructed dynamically from extensive and regularly updated CSV datasets, with both base (user-end level) and large (industrial level) versions (1340+ columns each DB) to test scalability.
π¬ Live User Queries and SQL: Each task pairs unambiguous user queries with annotated, gold-standard SQL statements. The user queries are grounded in an external knowledge base, with medium to hard complexity solution SQL statements.
π§ Contextual Reasoning (HKB): Every DB includes a hierarchical knowledge base (HKB) where each knowledge may have dependencies to others, which requires the multi-hop reasoning ability. Two HKB formats are provided: (1) structured JSON format, and (2) unstructured Document format.
π The First Full SQL Spectrum: Supports not just SELECT (Business Intelligence) queries, but also CRUD (e.g., UPDATE, CREATE, and other database management operations) queries.
β‘ Automated Evaluation: Support fast evaluation via PostgreSQL template & docker. Each question includes verifiable test cases for accurate, reproducible scoring. Soft EX metric is used to evaluate SELECT-ONLY tasks; customized test cases are designed for DBA tasks, such as CRUD (CREATE, READ, UPDATE, DELETE).
π Truly Live & Hidden Test: New databases and tasks are added over time. Each release features both open development and hidden test phases. The hidden test set from each release becomes the open development set for the next release, ensuring continuous evolution and fair evaluation.
Currently, we are pleased to release a LiveSQLBench-Base-Lite, featuring 18 end-user level databases with 270 tasks (180 SELECT-only, 90 Management tasks), HKB-JSON and the JSON operation in SQL for trial.
Download the dataset containing data file livesqlbench_data.jsonl and DB metafiles (including schema, HKB, column meaning files) by:
git clone https://huggingface.co/datasets/birdsql/livesqlbench-base-lite
To prevent data leakage through automated crawling, please request access to the ground truth and test cases by emailing π§ [email protected] with the subject line [livesqlbench-base-lite GT&Test Cases]. An automated response will provide these data fields.
DDL scripts for building all DBs are in Google Drive.
And please refer to our Github repo for details of usage and evaluation based on this dataset.
Each database has its own directory:
.
βββ README.md
βββ alien
β βββ alien_column_meaning_base.json
β βββ alien_kb.jsonl
β βββ alien_schema.txt
...
βββ livesqlbench_data.jsonl
*_schema.txt: Database schema.*_kb.jsonl: Hierarchical knowledge base entries required to solve the user task.
id: The unique identifier for the knowledge.knowledge: The name of the knowledge.description: The description of the knowledge.definition: The clear definition of the knowledge.type: The type of the knowledge.children_knowledge: A list of knowledge IDs that the current knowledge is dependent on. -1 means no children.*_column_meaning_base.json: Explanation of database columns.livesqlbench_data.jsonl):To avoid data leakage by auto-crawling, certain fields (e.g., sol_sql, test_cases, external_knowledge) are excluded from the public dataset. For the full dataset, please email: π§ [email protected] with subject tag [livesqlbench-base-lite GT&Test Cases], which will be sent automatically within 30 mins.
| Rank | Model | Success Rate (%) | Avg. Cost (USD) / Task |
|---|---|---|---|
| π₯ 1 | o3-mini | 47.78 | 0.0233 |
| π₯ 2 | GPT-4.1 | 44.10 | 0.0336 |
| π₯ 3 | Claude Sonnet 4 | 42.59 | 0.0623 |
| 4 | o3 | 42.59 | 0.2129 |
| 5 | o1-preview | 42.22 | 0.4310 |
| 6 | o4-mini | 41.48 | 0.0231 |
| 7 | Claude 3.7 Sonnet | 39.26 | 0.0619 |
| 8 | Gemini 2.5 Flash (Thinking) | 38.51 | 0.0165 |
| 9 | DeepSeek R1-0528 | 38.14 | 0.0160 |
| 10 | Qwen3.2-235B-A22B | 37.41 | 0.0043 |
| 11 | Claude 3.7 Sonnet (Thinking) | 37.40 | 0.0771 |
| 12 | o1-mini | 34.81 | 0.0788 |
| 13 | Gemini 2.0 Flash | 34.44 | 0.0027 |
| 14 | GPT-4o | 34.44 | 0.0412 |
| 15 | DeepSeek V3 | 32.22 | 0.0047 |
| 16 | DeepSeek R1 | 32.22 | 0.0165 |
| 17 | Llama 4 Maverick | 28.89 | 0.0029 |
| 18 | Llama 4 Scout | 17.78 | 0.0014 |
Upcoming releases:
Want new dialects? Vote for new SQL dialects π³οΈ here!
cc-by-sa-4.0
A dynamic, contaminationβfree benchmark for evaluating LLMs on complex, realβworld textβtoβSQL tasks.
π Website β’ π Paper (coming soon) β’ π» GitHub β’ ποΈ LiveSQLBench-Base-Full-v1 β’ ποΈ LiveSQLBench-Large-v1 β’ ποΈ Bird-Interact (ICLR 2026 Oral)
Maintained by the π¦ BIRD Team @ HKU & βοΈ Google Cloud
LiveSQLBench (BIRD-SQL Pro v0.5) is a contamination-free, continuously evolving benchmark designed to evaluate LLMs on complex, real-world text-to-SQL tasks, featuring diverse real-world user queries, including Business Intelligence (BI), CRUD operations, and more. Each release will include 50 new, fully open-source DBs curated by the BIRD team through expert collaboration and continuous improvement. It will cover a wide range of database sizes, from end-user level (around 127 columns) to industrial level (~1000 columns). LiveSQLBench has been the infrastructure for the BIRD-Interact (ICLR 2026 Oral) , a dynamic human-centric interactive Text-to-SQL benchmark. Here are the features of the LiveSQLBench benchmark:
ποΈ Live Databases: Constructed dynamically from extensive and regularly updated CSV datasets, with both base (user-end level) and large (industrial level) versions (1340+ columns each DB) to test scalability.
π¬ Live User Queries and SQL: Each task pairs unambiguous user queries with annotated, gold-standard SQL statements. The user queries are grounded in an external knowledge base, with medium to hard complexity solution SQL statements.
π§ Contextual Reasoning (HKB): Every DB includes a hierarchical knowledge base (HKB) where each knowledge may have dependencies to others, which requires the multi-hop reasoning ability. Two HKB formats are provided: (1) structured JSON format, and (2) unstructured Document format.
π The First Full SQL Spectrum: Supports not just SELECT (Business Intelligence) queries, but also CRUD (e.g., UPDATE, CREATE, and other database management operations) queries.
β‘ Automated Evaluation: Support fast evaluation via PostgreSQL template & docker. Each question includes verifiable test cases for accurate, reproducible scoring. Soft EX metric is used to evaluate SELECT-ONLY tasks; customized test cases are designed for DBA tasks, such as CRUD (CREATE, READ, UPDATE, DELETE).
π Truly Live & Hidden Test: New databases and tasks are added over time. Each release features both open development and hidden test phases. The hidden test set from each release becomes the open development set for the next release, ensuring continuous evolution and fair evaluation.
Currently, we are pleased to release a LiveSQLBench-Base-Lite, featuring 18 end-user level databases with 270 tasks (180 SELECT-only, 90 Management tasks), HKB-JSON and the JSON operation in SQL for trial.
Download the dataset containing data file livesqlbench_data.jsonl and DB metafiles (including schema, HKB, column meaning files) by:
git clone https://huggingface.co/datasets/birdsql/livesqlbench-base-lite
To prevent data leakage through automated crawling, please request access to the ground truth and test cases by emailing π§ [email protected] with the subject line [livesqlbench-base-lite GT&Test Cases]. An automated response will provide these data fields.
DDL scripts for building all DBs are in Google Drive.
And please refer to our Github repo for details of usage and evaluation based on this dataset.
Each database has its own directory:
.
βββ README.md
βββ alien
β βββ alien_column_meaning_base.json
β βββ alien_kb.jsonl
β βββ alien_schema.txt
...
βββ livesqlbench_data.jsonl
*_schema.txt: Database schema.*_kb.jsonl: Hierarchical knowledge base entries required to solve the user task.
id: The unique identifier for the knowledge.knowledge: The name of the knowledge.description: The description of the knowledge.definition: The clear definition of the knowledge.type: The type of the knowledge.children_knowledge: A list of knowledge IDs that the current knowledge is dependent on. -1 means no children.*_column_meaning_base.json: Explanation of database columns.livesqlbench_data.jsonl):To avoid data leakage by auto-crawling, certain fields (e.g., sol_sql, test_cases, external_knowledge) are excluded from the public dataset. For the full dataset, please email: π§ [email protected] with subject tag [livesqlbench-base-lite GT&Test Cases], which will be sent automatically within 30 mins.
| Rank | Model | Success Rate (%) | Avg. Cost (USD) / Task |
|---|---|---|---|
| π₯ 1 | o3-mini | 47.78 | 0.0233 |
| π₯ 2 | GPT-4.1 | 44.10 | 0.0336 |
| π₯ 3 | Claude Sonnet 4 | 42.59 | 0.0623 |
| 4 | o3 | 42.59 | 0.2129 |
| 5 | o1-preview | 42.22 | 0.4310 |
| 6 | o4-mini | 41.48 | 0.0231 |
| 7 | Claude 3.7 Sonnet | 39.26 | 0.0619 |
| 8 | Gemini 2.5 Flash (Thinking) | 38.51 | 0.0165 |
| 9 | DeepSeek R1-0528 | 38.14 | 0.0160 |
| 10 | Qwen3.2-235B-A22B | 37.41 | 0.0043 |
| 11 | Claude 3.7 Sonnet (Thinking) | 37.40 | 0.0771 |
| 12 | o1-mini | 34.81 | 0.0788 |
| 13 | Gemini 2.0 Flash | 34.44 | 0.0027 |
| 14 | GPT-4o | 34.44 | 0.0412 |
| 15 | DeepSeek V3 | 32.22 | 0.0047 |
| 16 | DeepSeek R1 | 32.22 | 0.0165 |
| 17 | Llama 4 Maverick | 28.89 | 0.0029 |
| 18 | Llama 4 Scout | 17.78 | 0.0014 |
Upcoming releases:
Want new dialects? Vote for new SQL dialects π³οΈ here!
cc-by-sa-4.0