Qora API — AI API Gateway for Developers

AI API Gateway for Developers

One clear API workflow for your apps, scripts and automations.

Gemini 4 Hydrogen API: Pricing, Model ID & vs 3.8 Flash (2026)

Published · Last updated

Short answer: Gemini 4 Hydrogen is Google’s fast Gemini 4 model for everyday coding and agentic work, released on November 12, 2026. Its API model ID is gemini-4-hydrogen, and as of November 13, 2026 it costs $1.50 per 1M input tokens and $7.50 per 1M output tokens on Google’s paid tier (cached input $0.075), with a rate-limited free tier. It has a 1,048,576-token context window and four thinking levels: low, medium, high (default) and the new xhigh.

This guide covers what Hydrogen actually costs once thinking tokens are counted, how it compares with Gemini 3.8 Flash, Gemini 4 Argon and Gemini 4 Carbon, what breaks when you migrate, and how to call it with the OpenAI SDK you already use. All official figures come from Google’s Gemini API pricing page and the What’s new in Gemini 4 Hydrogen guide, both checked November 13, 2026.

What is Gemini 4 Hydrogen?

Gemini 4 Hydrogen is the third model in Google’s Gemini 4 family, after Gemini 4 Argon (October 13, 2026) and Gemini 4 Carbon (generally available November 10, 2026). Google announced it on November 12, 2026 as the model that “brings cutting-edge intelligence to everyone”: it is on the free and paid tiers of the Gemini API, in Google AI Studio, in the Gemini app for AI Pro and Ultra subscribers, and it is now the default model in Google Search AI Mode.

Google drops the “Flash” name here, but Hydrogen is the successor to Gemini 3.8 Flash. Google’s docs call it the “recommended upgrade from Gemini 3.8 Flash and earlier Gemini 3 and 2.5 models”. What Google says is new:

  • Fewer fabricated claims: more than 5x fewer than Gemini 3.8 Flash, because it flags missing context instead of guessing.
  • Better agent behaviour: it batches read and search tool calls in parallel and recovers better when a tool call fails.
  • Stronger than Argon on one index: 51 on the Artificial Analysis Intelligence Index at its default high level, versus 50 for Argon, and 54 at xhigh.
  • A fourth thinking level, xhigh, for hard multi-step problems.
  • Unified 1M context and long decode: input, thinking and output share 1,048,576 tokens, and output can run past 64K with background execution.

Gemini 4 Hydrogen API pricing

Hydrogen has one flat price across the whole 1M context window; there is no long-prompt surcharge.

Tier Input / 1M tokens Cached input / 1M Output / 1M (incl. thinking)
Paid tier (standard) $1.50 $0.075 $7.50
Free tier Free, rate-limited Free Free

Three details change the real bill:

  • Thinking tokens are output tokens. Hydrogen defaults to high thinking, so a short answer can still bill thousands of output tokens. Google says it counts every token the model processes, including internal grounding instructions and function declarations.
  • Caching is implicit only. Prompts of at least 4,096 tokens get a 95% discount on cache hits automatically; explicit cachedContents is not supported.
  • The free tier trains on your data. Google’s pricing page marks free-tier content as used to improve its products; paid-tier content is not. Keep production and customer data on paid access.

Search grounding is billed separately: 5,000 free search requests a month shared across Gemini 3 and newer models, then $14 per 1,000.

Gemini 4 Hydrogen vs Gemini 3.8 Flash

This is the comparison most people are searching for, and the answer depends on the date.

Gemini 4 Hydrogen Gemini 3.8 Flash
Model ID gemini-4-hydrogen gemini-3.8-flash
Official price until Dec 31, 2026 $1.50 / $7.50 $0.75 / $3.75
Official price from Jan 1, 2027 $1.50 / $7.50 $1.50 / $7.50
Context 1,048,576 tokens shared by input, thinking and output 1M input plus a separate 64K output budget
Default thinking high (adds xhigh, rejects minimal) medium
Qora API price See live price $0.15 / $0.90

Until the end of 2026, Gemini 3.8 Flash is half the price of Hydrogen at Google. On January 1, 2027 Google doubles 3.8 Flash to $1.50 / $7.50, the same as Hydrogen, so from then on there is little reason to stay on 3.8 Flash at Google’s price. On Qora API, 3.8 Flash is still $0.15 / $0.90 per 1M tokens (checked November 13, 2026), which keeps it the budget choice for high-volume work that does not need Hydrogen’s extra reasoning.

Gemini 4 Hydrogen vs Argon vs Carbon

Hydrogen Argon Carbon
Google’s positioning Fast everyday coding, tool-using agents, documents, parallel subagents Most advanced long-horizon tasks with fewer tokens than Carbon Hardest debugging, architecture, science and security audits
Thinking levels low / medium / high (default) / xhigh low / medium (default) / high low / medium (default) / high
Official price $1.50 / $7.50 $2 / $10 until Nov 30; $4 / $20 from Dec 1 $2 / $10 until Nov 30; $4 / $20 from Dec 1
Free tier Yes No No
Qora API price (checked Nov 13, 2026) See live price $0.60 / $3.00 $1.00 / $5.00

At Google’s list prices, Hydrogen is the cheapest Gemini 4 model, and the gap grows on December 1 when Argon and Carbon double. On Qora API the order flips: Gemini 4 Argon at $0.60 / $3.00 per 1M tokens costs less than Hydrogen’s official $1.50 / $7.50, for a model that scores within one point of it on the Artificial Analysis index. If you are price-sensitive and do not need the free tier or xhigh, that is worth testing.

Google’s suggested pattern for large jobs is to combine them: let Carbon plan and verify, and send code edits, test runs and parallel subtasks to Hydrogen.

How much does Gemini 4 Hydrogen cost per month?

A worked example: a coding agent that sends 30M input tokens and receives 6M output tokens a month (thinking included), with no cache hits.

Model and price Monthly cost
Gemini 4 Hydrogen, Google paid tier ($1.50 / $7.50) $90.00
Gemini 3.8 Flash, Google, until Dec 31 ($0.75 / $3.75) $45.00
Gemini 3.8 Flash, Google, from Jan 1, 2027 ($1.50 / $7.50) $90.00
Gemini 4 Argon, Google, from Dec 1 ($4 / $20) $240.00
Gemini 4 Argon on Qora API ($0.60 / $3.00) $36.00
Gemini 3.8 Flash on Qora API ($0.15 / $0.90) $9.90

The easiest lever on Hydrogen itself is the thinking level. Google’s own guidance: start at high, reserve xhigh for problems where high falls short, and use medium or low for chat, UI prototyping and high-throughput processing. Run your evals at each level and keep the lowest one that passes.

How do I call the Gemini 4 Hydrogen API with the OpenAI SDK?

Through an OpenAI-compatible gateway you keep your existing OpenAI code and change three values: base URL, API key and model name. With Qora API the base URL is https://qoraapi.com/v1; check qoraapi.com/pricing for gemini-4-hydrogen before switching production traffic.

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://qoraapi.com/v1",
    api_key="YOUR_QORA_KEY",
    timeout=600,  # high/xhigh thinking can take minutes on hard prompts
)

resp = client.chat.completions.create(
    model="gemini-4-hydrogen",
    messages=[
        {"role": "system", "content": "You are a senior Python reviewer."},
        {"role": "user", "content": "Find the bug in this retry loop and fix it: ..."},
    ],
)
print(resp.choices[0].message.content)
print(resp.usage)  # completion tokens include thinking tokens

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://qoraapi.com/v1",
  apiKey: process.env.QORA_API_KEY,
});

const r = await client.chat.completions.create({
  model: "gemini-4-hydrogen",
  messages: [{ role: "user", content: "Turn this CSV into a typed TypeScript interface: ..." }],
});
console.log(r.choices[0].message.content);

cURL

curl https://qoraapi.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_QORA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-4-hydrogen", "messages": [{"role": "user", "content": "Hello!"}]}'

The same key and base URL work in Cline, Kilo Code, Cursor, Open WebUI and SillyTavern: pick the “OpenAI Compatible” or “Custom (OpenAI-compatible)” provider, paste the base URL and key, and type gemini-4-hydrogen as the model ID. Step-by-step screenshots for those tools are in our Cursor, Cline and Continue guide and the Open WebUI and LibreChat guide.

What breaks when you migrate from Gemini 3.8 Flash?

Hydrogen uses the Gemini 4 API design, so a straight model-string swap mostly works, but Google lists these changes:

  1. Model ID: gemini-3.8-flash becomes gemini-4-hydrogen.
  2. Output caps: thinking and the answer share max_output_tokens. Old hardcoded caps such as 8,192 will truncate answers; raise them to 65,536 or remove them.
  3. Thinking level: the default moves from medium to high, so latency and output tokens rise unless you set it. minimal now returns an error.
  4. Sampling parameters: temperature, top_p and top_k are ignored. Steer the model with instructions and the thinking level instead.
  5. Explicit caching: remove cached_content; only implicit caching is supported.
  6. Tool calls: declare tools natively with function calling or use structured outputs. Asking for raw-text JSON tool calls with no declared tools can return MALFORMED_FUNCTION_CALL.
  7. Multi-turn state: return earlier model turns and thought signatures unchanged in generateContent histories.

Is Gemini 4 Hydrogen good for coding agents?

That is the job Google built it for. Hydrogen is now the default model behind Google’s Antigravity agent, and Google pairs it with Carbon in Antigravity’s new Orchestrator mode. Practical advice from the docs: keep high for repository-level coding and debugging, use medium for interactive UI work where speed matters, and give long tasks a generous output budget so thinking does not crowd out the answer. For the very hardest architecture or security reviews, Google still points to Gemini 4 Carbon.

FAQ

What is the Gemini 4 Hydrogen model ID?

The model ID is gemini-4-hydrogen. It is a stable model with no preview suffix, and the same string works on Google’s API and on OpenAI-compatible gateways such as Qora API.

How much does the Gemini 4 Hydrogen API cost?

As of November 13, 2026, Google charges $1.50 per 1M input tokens and $7.50 per 1M output tokens on the paid tier, with cached input at $0.075 per 1M. Thinking tokens are billed as output. The free tier costs nothing but is rate-limited.

Is Gemini 4 Hydrogen free?

Yes, there is a free tier in the Gemini API and Google AI Studio, with rate limits. Google may use free-tier content to improve its products, so use the paid tier for production or private data.

Is Gemini 4 Hydrogen better than Gemini 3.8 Flash?

Google calls it the recommended upgrade: it makes more than 5x fewer fabricated claims, handles tool calls better and adds the xhigh thinking level. It costs twice as much as 3.8 Flash at Google until December 31, 2026, and the same from January 1, 2027.

Gemini 4 Hydrogen vs Argon: which should I use?

Hydrogen is faster and cheaper at Google’s list price and scores 51 vs Argon’s 50 on the Artificial Analysis Intelligence Index at default settings. Argon is tuned for long-horizon work with fewer tokens. On Qora API, Argon costs $0.60 / $3.00 per 1M tokens, less than Hydrogen’s official price.

What is the Gemini 4 Hydrogen context window?

1,048,576 tokens, shared by input, thinking and output. A single synchronous response is capped at 65,536 tokens; background execution or client-side continuation lets output run up to the full window.

Does Gemini 4 Hydrogen support temperature?

No. Google’s migration guide says custom temperature, top_p and top_k values are ignored on Hydrogen. Use the thinking level and your instructions to control output.

Can I use Gemini 4 Hydrogen without a Google Cloud account?

Yes. Through an OpenAI-compatible gateway such as Qora API you call it with one API key and the base URL https://qoraapi.com/v1, paying in USD with no Google billing setup. Check qoraapi.com/pricing for the live price.

Get started

For a one-page summary of Hydrogen’s specs and prices, see the Gemini 4 Hydrogen API price page. To compare every Gemini model on one key, read our cheap Gemini API guide or browse all model prices. Qora API gives you Gemini, Claude, GPT, Grok and DeepSeek through one OpenAI-compatible key at up to 70% off official prices. Create an account to get your key; new users can ask for $5 of trial credit via @QoraAPI on X or [email protected].

Update (Nov 19, 2026): Google also announced Gemini 4 Neon ($3 / $15 per 1M tokens), a step up from Hydrogen.

Build AI features with one clear API

Qora API gives you a single, focused gateway to connect your apps, scripts and automations to AI. Start with one request.

qoraapi.com · AI API gateway for developers

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *