Skip to main content
Bird & Bear
Menu
← All articles

Gemini 4 Hydrogen Joins BigQuery's AI Functions, Built for the High-Volume Work

gemini bigquery ai google
Gemini 4 Hydrogen Joins BigQuery's AI Functions, Built for the High-Volume Work

gemini-4-hydrogen was added as a supported model for BigQuery’s generative AI functions on November 12, 2026. It’s Google’s new short-term GA release in the Gemini 4 family, a Flash-tier model built specifically for high-throughput, lower-cost work, filtering, classification, scoring, and extraction, so a reasoning-heavy model like gemini-4-carbon can be reserved for the cases that actually need it.

What is Hydrogen?

Per Google’s own developer guide, Hydrogen carries a unified 1,048,576-token limit covering both input and output together, where output includes thinking, function calls, and the final response. A single foreground segment generates up to 65,536 output tokens by default, extendable up to that same 1,048,576-token ceiling through long decodes, handled automatically by the Google Gen AI SDK.

thinking_level defaults to HIGH on Hydrogen, with LOW, MEDIUM, and XHIGH also supported. The old thinking_budget parameter, and a MINIMAL thinking level, both return an HTTP 400 error now rather than being silently accepted. Implicit caching applies automatically to shared prompt prefixes of 4,096 tokens or more, with durable caching on by default, explicit context caching isn’t supported. It also accepts Microsoft Office and OpenDocument files inline or from Cloud Storage, on top of the PDF and plain text support earlier models already had.

Hydrogen is a short-term GA release, subject to a minimum 45-day retirement notice.

Two families of function, and where Hydrogen fits

BigQuery’s AI functions split into two groups, and which one you’re calling changes whether you pick the model yourself.

General-purpose functions give you full control over the model, the prompt, and the parameters. AI.GENERATE is the main one, flexible inference against text, image, audio, video, or PDF input. This is where you’d point a call at Hydrogen specifically, by creating a remote model over it:

CREATE OR REPLACE MODEL `mydataset.hydrogen_model`
REMOTE WITH CONNECTION `us.my_connection`
OPTIONS (endpoint = 'gemini-4-hydrogen');

Managed functions, AI.IF, AI.SCORE, AI.CLASSIFY, and AI.AGG, have a simpler syntax and are built to pick a suitable model and parameters for you, rather than asking you to choose.

A routing pattern worth knowing

A worked example circulating alongside this release lays out a sensible pattern for exactly the log-triage scenario. The shape of it:

First, AI.IF filters out the obvious noise, routine health checks, cron heartbeats, anything that doesn’t need a model’s attention at all. Second, whatever’s left gets classified and scored at high throughput and low cost, run through AI.CLASSIFY and AI.SCORE against Hydrogen specifically, giving both a lower cost per call and noticeably higher token-throughput limits than Carbon. Third, only the genuinely serious cases, a multi-service outage rather than a routine warning, get escalated to gemini-4-carbon for the deeper reasoning and root-cause work that model is actually built for.

The appeal of that pattern is real and matches how we’d advise a client to think about cost here generally: most of a log stream, or most support tickets, or most product descriptions, don’t need frontier-model reasoning. A small fraction do. Paying frontier prices for all of it is the expensive way to solve a problem that’s mostly routine.

What changes if you’re migrating an existing pipeline to it

Anyone with BigQuery AI function calls already pointed at gemini-3.8-flash or an earlier Gemini 3 Flash model should check a few specific things before switching the endpoint to Hydrogen. temperature, top_p, and top_k are now ignored outright rather than quietly applied. frequency_penalty, presence_penalty, and any candidate_count above 1 now return an HTTP 400 error rather than being accepted and ignored. Explicit context caching calls need removing entirely, replaced by simply putting static prompt content first in the prompt so implicit caching picks it up. None of this needs urgent action on an existing pipeline that isn’t being touched, but it’s worth knowing before pointing a new remote model at Hydrogen and assuming the old parameter set still behaves the same way.

Where this fits in the bigger picture

This is the same practical argument we keep making about AI-ready data: using the right-sized model for the job isn’t a separate skill from good data practice, it’s what makes AI-driven analysis actually affordable at the volume a real warehouse produces. A model built for speed and throughput, paired with one built for depth, in the same query, is a genuinely useful shape for anyone running AI functions against anything bigger than a demo dataset.

Newsletter

Occasional notes on data, tracking & AI-readiness

No spam, no growth-hacking. Just an email when there's something worth reading.