Google makes BigQuery's AI.AGG function generally available with structured output

The Gemini-powered SQL function now returns structured fields through a new output_schema parameter, alongside token-based cost controls.

1 Dec 2026

Google's BigQuery AI.AGG() function is now generally available. The function uses Gemini models to aggregate unstructured text and multimodal data directly in SQL, so teams can summarise thousands or millions of rows per group with natural language instructions instead of building separate pipelines.

Silicon Brief covers stories like this, every Monday. Free.

With general availability, Google added custom structured output, one of the most requested features from preview users. A new output_schema parameter returns fields that pipelines, joins and dashboards can filter and chart, where the preview returned a paragraph summary for each group. Combined with BigQuery's new token-based cost controls, Google says teams can build predictable aggregation pipelines from SQL.

In this story

Google
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.