Text-to-SQL performance comparison between GPT-4o and Claude 3.5 Sonnet for querying complex relational databases
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
Text-to-SQL performance comparison between GPT-4o and Claude 3.5 Sonnet for querying complex relational databases
2 real searches · 1 real-search pass
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (2)
Classes come from the query-classifier (a local Laya model). 1 of 2 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT2 real searches · gpt-6
GPT-4o Claude 3.5 Sonnet text-to-SQL benchmark Spider BIRD complex databases comparison Google ↗
GPT-4o vs Claude 3.5 Sonnet SQL generation benchmark enterprise relational database schema linking execution accuracy Google ↗
- Medium · blog.waii.ai
- (PDF) CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL · researchgate.net
- LLM Benchmarks November 2024 · abdullin.com
Queries
2 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
GPT-4o Claude 3.5 Sonnet text-to-SQL benchmark Spider BIRD complex databases comparison OBSERVED | Google ↗ AI Mode ↗ | — | Comparison | — | — | 1x of 1 | |
GPT-4o vs Claude 3.5 Sonnet SQL generation benchmark enterprise relational database schema linking execution accuracy OBSERVED | Google ↗ AI Mode ↗ | — | Comparison | — | — | 1x of 1 |