Gemini 4 Hydrogen

Released 2026-11-12

chatVisionCodeTool callingReasoningPrompt caching

Gemini 4 Hydrogen is Google's high-efficiency Gemini 4 model, generally available since 12 November 2026.

Input
text image audio video $1.5/M
Output
text $7.5/M
Cache read
$0.075/M
Audio input
$1.5/M
Audio cache read
$0.075/M
Context
1M
vs GPT-4o
~70% cheaper
Knowledge cutoff
2026-03

Benchmarks

Gemini 4 Hydrogen: 10 published, but no benchmark it shares with enough other models to compare.

Gemini 4 Hydrogen other models measured peer average ★ no peer scored higher
SWE-sweep Hydrogen: Antigravity CLI 1.4.8. Peers: official leaderboard
13.5%
OSWorld 2.1 82 offline tasks, partial score. Hydrogen and Sonnet: best of 3. Terra: system card
77.6%
Agents’ Last Exam v1.1 Oct 17 task set. Hydrogen: Antigravity CLI. Sonnet: ALE-Claw. Terra: official leaderboard
71.6%
HLE-Diamond Artificial Analysis leaderboard, November report
58.8%
Vending-Bench 2 (USD) Andon Labs leaderboard, Hydrogen report · 9107-14549
14549
Chartography No tools. Hydrogen and Terra: Google evaluation. Sonnet: system card
66.6%

Vendor-published: Google

Price in context

Where the price sits among 79 comparable models

Input$1.5/M
$0.1 · Claude Haiku 5.5 GPT-5.4 Pro · $30
Output$7.5/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
Cache read$0.075/M
$0.006 · DeepSeek V4.1 Flash Claude Fable 5 · $1

The bar shows how this model’s price compares with every other model of the same kind on Synthorai. The cheapest and the most expensive are named at each end. These are base rates; batch, region and cache-write discounts are on the pricing page.

Specs & limits

Tokens

Context window (vendor spec) 1,048,576
Max output (vendor spec) 65,536
Knowledge cutoff 2026-03

Prompt caching

How it caches automatic
Min prefix 4,096

Thinking

Vendor control thinking_level
Accepted values low · medium · high · xhigh; "minimal" and thinking_budget return 400
Default high applied when the request sets nothing
Can be turned off No
Thinking behaviour There is no off setting and no numeric thinking budget. Custom temperature, top_p and top_k values are ignored.
Parameter reasoning_effort
Values minimal · low · medium · high the gateway's parameter surface; the vendor mapping above applies

Model

Modalities text + image + audio + video → text
  • Google's high-efficiency Gemini 4 model for everyday coding and agentic workflows
  • Google's migration guide names it the upgrade from Gemini 3.8 Flash. The output price includes thinking tokens, and the default thinking level is high. Caching is implicit only
  • Google says that from 12 January 2027 it adds cache control with a configurable lifetime and bills cache writes at 1.25x the input price by default

per Model specification source ↗

One prompt, measured through the gateway

PROMPT Explain to a CFO, in exactly three sentences, why our LLM bill doubled after we enabled reasoning. CHECK exactly 3 sentences

Gemini 4 Hydrogen passed · 3 sentences

When reasoning is enabled, the AI generates extensive hidden "thinking" tokens to verify its logic step-by-step before delivering a final answer. Because vendors bill us for every token produced—meaning we pay full output-token rates for this invisible internal work—our billable consumption doubled even though the user-facing responses stayed the same length. To protect our margins, we should restrict reasoning mode strictly to complex, high-value tasks and route routine queries back to standard models.

out 1236 tok (+1136 thinking) latency 9.0 s

Instruction following (exactly three sentences, so countable), audience shaping (CFO register), and the hidden-thinking billing gap the token meters below expose.

PROMPT This function is supposed to return the longest run of consecutive equal items, but callers report it is off by one on single-element inputs and misses runs that end at the last index. Fix it and explain the bug in one paragraph. CHECK fix passes tests

Gemini 4 Hydrogen passed · 8/8 cases

```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` The bug is that `best` and `cur` were initialized (and `cur` was reset) to `0` instead of `1`, causing the loop to count matching adjacent transitions rather than the number of elements in a run. As a result, any non-empty input was off by one—returning `0` on single-element lists where the loop doesn't execute at all, and undercounting every run (including runs ending at the last index) by 1. Returning `0` early for empty inputs and starting/resetting the run length at `1` ensures each element is counted accurately while still updating `best` on the final iteration when a run ends at the last index.

out 1489 tok (+1247 thinking) latency 10.8 s

Whether the fix is actually correct (runnable), explanation density, and token efficiency on a bounded task.

PROMPT Extract a JSON object with fields {company, quarter, revenue_usd_m, growth_pct, guidance} from this text. Use null for anything not stated; add no other fields. CHECK valid JSON, schema exact

Gemini 4 Hydrogen passed · 5/5 fields, guidance "withheld pending the Q4 close"

```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": null, "growth_pct": null, "guidance": "withheld pending the Q4 close" } ```

out 3165 tok (+3100 thinking) latency 21.2 s

Schema obedience (no invented fields), hallucination pressure (guidance is explicitly withheld), and structured-output path differences.

PROMPT Write a 120-word product announcement for an API gateway feature that caches prompts across providers. Forbidden words: "seamless", "unlock", "game-changer", "revolutionize", "empower". Exactly one sentence must be a question. CHECK 120 words, 0 banned words

Gemini 4 Hydrogen passed · 120 words, 0 banned, 1 question

Introducing unified prompt caching, the newest capability in our enterprise API gateway. Are you tired of paying repeatedly for identical prompts sent across different AI providers? Our gateway now caches prompts across major AI providers within a unified, shared memory layer. When an application submits a matching query, the gateway intercepts the request and returns the saved output in milliseconds, completely bypassing external inference fees. Engineering teams gain predictable latency and substantial cost reductions without modifying any existing application code. Managing cache policies at the infrastructure edge helps your organization prevent provider dependency while maintaining strict data privacy standards. Enable unified prompt caching in your dashboard today to build faster, more economical artificial intelligence applications across your entire technology stack.

out 3710 tok (+3574 thinking) latency 24.1 s

Constraint obedience (word budget, banned-word list, the single question), style fingerprint, and length control.

Use Gemini 4 Hydrogen in 30 seconds

OpenAI-compatible: swap the base_url, keep your SDK. POST /v1/chat/completions

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.chat.completions.create(
    model="gemini-4-hydrogen",
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

About Gemini 4 Hydrogen

  • Its official model page describes it as bringing cutting-edge intelligence with speed and efficiency to everyday coding and agentic enterprise workflows, and Google's migration guide names it the upgrade from Gemini 3.8 Flash and earlier Gemini 3 Flash models.
  • It accepts text, images, audio, video and PDF input and returns text.
  • The context window is one limit of 1,048,576 tokens shared by input and output, and a single request returns up to 65,536 output tokens, streamed or not.
  • Thinking has four levels, low, medium, high (the default) and xhigh for deep reasoning work, with no off setting and no numeric thinking budget, so through Synthorai a request that asks for the least reasoning runs at low and one that asks for the most runs at xhigh.
  • Google's documentation also says custom temperature, top_p and top_k values are ignored.
  • Google's published Standard table lists $1.50 per million input tokens and $7.50 per million output tokens, with one input rate covering text, image, video and audio and no context-length step.
  • The output price includes thinking tokens, and the default level is high, so budget max output tokens with that in mind.
  • Caching is implicit only, for prompts of at least 4,096 tokens, and cached input costs $0.075 per million tokens.
  • Google says that from 12 January 2027 Hydrogen gains cache control with a configurable lifetime, with cache writes billed at 1.25 times the input price by default.
  • Synthorai serves it through the OpenAI-compatible chat completions endpoint, so it drops into an existing integration without a Google-specific client.

FAQ

Is the Gemini 4 Hydrogen API free to try?

Yes: new accounts get 10 trial calls and up to $1 in free credit, no card required. At $1.5/M input tokens, that credit alone covers roughly 83 requests of ~8K tokens against Gemini 4 Hydrogen.

What is Gemini 4 Hydrogen best at?

High-efficiency Gemini 4 for coding and agents; four thinking levels, from low to xhigh; one 1M-token limit shared by input and output. See the About section for the full picture from the vendor's own release notes.

How much does Gemini 4 Hydrogen cost?

Gemini 4 Hydrogen costs $1.5 per million input tokens and $7.5 per million output tokens on Synthorai. That is the provider's list price, with no platform markup. Audio input: $1.5/M tokens · Audio cache read: $0.075/M tokens Cached input tokens bill at $0.075/M.

What is Gemini 4 Hydrogen's context window?

Gemini 4 Hydrogen has a context window of 1M tokens on Synthorai. A single response can be up to 65,536 tokens long.

Does Gemini 4 Hydrogen support prompt caching?

Yes, automatically: Google-served prompts cache with no code changes. Cached input tokens bill at $0.075/M vs $1.5/M uncached; prompts need a 4,096-token stable prefix to cache. Prompt caching guide →

How do I get access to Gemini 4 Hydrogen?

Point your existing OpenAI SDK at base_url="https://synthorai.io/v1", set model="gemini-4-hydrogen", and you're done. One API key covers every model on the gateway.

What is Gemini 4 Hydrogen's knowledge cutoff?

Gemini 4 Hydrogen's knowledge cutoff is 2026-03, per the vendor's official documentation (as of 2026-11-13).

Related models

Compare

Specifications and vendor benchmarks link to their sources. Gateway support describes the Synthorai implementation. Archived examples are individual gateway requests, not a guarantee of general model performance. Prices use the public feed or its build snapshot.

Get your API key Compare your cost →