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

Given the schema, the model writes SQL to count matching rows on sampled databases measuring 8,000–12,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 R178#500
2GPT-4o Mini72#1678
3Arctic-Text2SQL-R1-7B72#822
4GLM-4 9B Chat47#3252
5Qwen 2.5 Coder 7B Instruct34#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-16k-count · How It Works · Data refreshed daily, snapshot 2026-12-03.