The data & sql leaderboard · for knowledge workers

Best for data & sql

Decision area
Reads schemas, writes queries that actually run.
Editor picks
5 editor picks
Eligible models
9 eligible models
See raw /best
EDITOR'S CHOICEResearched 34d ago

GPT-5.5

OpenAI · 1.05M context
Excellent

Reads schemas and writes queries that actually run.

Reads large schemas (1.05M context) and writes SQL that picks the right join and respects dialect quirks, at $5 / $30 per 1M tokens.

The numbers
$/1M out
$30.00
$5.00 input
Context
1.05M
max window
Pros
  • +Top SQL accuracy & reasoning
  • +Good dialect awareness
  • +1M context for big schemas
Cons
  • −$30 / 1M out — drop to DeepSeek V4 Pro for high volume

Also worth picking

The runners-up

ranked by editorial pick orderEditorial tiersExcellentStrongSolid
OpenAI · 1.05M
$10.00 / 1M out
Same 1.05M window as GPT-5.5 at $2 / $10 per 1M tokens instead of $5 / $30, with code interpreter and structured outputs.
Anthropic · 1M
$10.00 / 1M out
1M window for large schemas at $2 / $10 per 1M tokens, with structured outputs.
Anthropic · 1M
$15.00 / 1M out
Best at reasoning over messy schemas with hundreds of tables.
DeepSeek · 1M
$0.73 / 1M out
LiveCodeBench leader at $0.87 out — excellent SQL value, open weights.

Eligibility

9 models are eligible for this board

Eligibility means tagged with useCases: [data-sql]. Pins must come from this pool.
All picks