Models & Research

Google Research’s Gemini-SQL2 tops text-to-SQL benchmarks by a wide margin

· June 13, 2026
Google Research’s Gemini-SQL2 tops text-to-SQL benchmarks by a wide margin

What it does

Google Research’s Gemini-SQL2 converts natural language directly into executable SQL queries. It is built on the Gemini 3.1 Pro model, enhancing its ability to understand and translate complex questions into database instructions. Gemini-SQL2 recently topped the BIRD benchmark, a leading evaluation for text-to-SQL systems, achieving 80.04 percent accuracy, which is significantly higher than competitors like OpenAI and Anthropic.

Why it matters

Improving text-to-SQL accuracy impacts how businesses and developers interact with databases. Gemini-SQL2’s jump in precision means fewer errors and less manual correction when converting natural language questions into queries. This can speed up data retrieval without relying on specialists to write SQL code. It tightens competition in AI models designed for database querying and raises the standard for usability in tools embedded in analytics, business intelligence, and data reporting platforms.

Who it is for

Builders embedding natural language interfaces into their products will find Gemini-SQL2 useful, especially those focused on enterprise data access and self-service analytics. Data teams can integrate this capability to reduce dependence on SQL experts for routine queries, lowering operational costs. Investors and product managers targeting database automation should monitor how Google leverages this model across its cloud and data services, potentially shifting market share away from current API providers.

The catch

While 80 percent accuracy leads the pack, that still means roughly 1 in 5 SQL queries generated could be incorrect or require refinement. Real-world datasets often contain edge cases not fully captured in benchmarks. Adapting Gemini-SQL2 to proprietary or complex schema may involve tuning its output or adding custom validation layers. Google has not disclosed availability beyond research benchmarks, so integration timelines and commercial access remain unclear.

What to watch next

Watch for Google expanding Gemini-SQL2’s availability through its cloud platform or data tools, where it could replace or augment existing SQL query assistants. Its success might pressure competitors to improve or specialize their own text-to-SQL models. Businesses using SQL-heavy workflows should prepare to test these newer AI options as they mature, while also developing processes to catch regression errors from automated query generation.

AI Quick Briefs Editorial Desk

Stay ahead of AI Get the most important AI news delivered to your inbox — free.