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

#ModelScoreOverall rank
1GPT-4o Mini74#1678
2Arctic-Text2SQL-R1-7B74#822
3DeepSeek R173#500
4GLM-4 9B Chat48#3252
5Qwen 2.5 Coder 7B Instruct38#4244
6Llama 3.1 8B Instruct33#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.