TQA-Bench - Text2SQL - 32K - Count: leaderboard
Given the schema, the model writes SQL to count matching rows on sampled databases measuring 16,000–24,000 tokens in Markdown. The score is the percentage of questions for which the executed query returns an accepted answer.
Metric: Executed answer accuracy (%). Source: arxiv.org. Saturation forecast: Estimated already saturated. 6 models tracked. Updated 3 Dec 2026.
Top models
| # | Model | Score | Overall rank |
|---|---|---|---|
| 1 | GPT-4o Mini | 74 | #1678 |
| 2 | Arctic-Text2SQL-R1-7B | 74 | #822 |
| 3 | DeepSeek R1 | 73 | #500 |
| 4 | GLM-4 9B Chat | 48 | #3252 |
| 5 | Qwen 2.5 Coder 7B Instruct | 38 | #4244 |
| 6 | Llama 3.1 8B Instruct | 33 | #4823 |
No result here: #2 Claude Fable 5.2, #5 GPT-6.2 Astra, #6 Gemini 4 Neon.
Interactive version: theaggregate.ai/benchmark?slug=tqa-bench-text2sql-32k-count · How It Works · Data refreshed daily, snapshot 2026-12-03.