TQA-Bench - Text2SQL - 64K - Count: leaderboard

Given the schema, the model writes SQL to count matching rows on sampled databases measuring 32,000–48,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

#ModelScoreOverall rank
1DeepSeek R166#500
2GPT-4o Mini65#1678
3Arctic-Text2SQL-R1-7B61#822
4GLM-4 9B Chat44#3252
5Qwen 2.5 Coder 7B Instruct30#4244
6Llama 3.1 8B Instruct28#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-64k-count · How It Works · Data refreshed daily, snapshot 2026-12-03.