Gemini 4 Hydrogen API: price, model ID and setup
Gemini 4 Hydrogen (model ID gemini-4-hydrogen) is Google's fast Gemini 4 model for everyday coding and agentic work, released on November 12, 2026 on both the free and paid tiers of the Gemini API. The paid price is $1.50 per 1M input tokens and $7.50 per 1M output tokens, flat across its 1M-token context window. Google now recommends it as the upgrade from Gemini 3.8 Flash.
Last updated · Sources: Google announcement, What's new in Gemini 4 Hydrogen, Gemini API pricing
On Qora API: Qora adds new official models as they launch. Check qoraapi.com/pricing for the live gemini-4-hydrogen price before you switch. Gemini 4 Argon is available now at $0.60 / $3.00 per 1M tokens and Gemini 4 Carbon at $1.00 / $5.00.
Gemini 4 Hydrogen at a glance
| Model ID | gemini-4-hydrogen (stable) |
|---|---|
| Developer | Google DeepMind |
| Released | November 12, 2026 (Gemini API free and paid tiers, Google AI Studio, Gemini app, Google Search AI Mode) |
| Context window | 1,048,576 tokens, shared by input, thinking and output |
| Output per request | 65,536 tokens; up to the 1M window with background execution or continuation |
| Thinking levels | low, medium, high (default), xhigh (new); minimal is rejected |
| Input / output | Text, image, audio, video and PDF in; text out |
| Tools | Function calling, structured outputs, code execution, computer use, Google Search and Maps grounding, URL context, file search |
| Caching | Implicit only (95% off cached input); explicit caching not supported |
| Sampling parameters | temperature, top_p and top_k are ignored |
Gemini 4 Hydrogen pricing (official)
| Model | Input / 1M | Cached input / 1M | Output / 1M |
|---|---|---|---|
| Gemini 4 Hydrogen (paid tier) | $1.50 | $0.075 | $7.50 |
| Gemini 4 Hydrogen (free tier) | Free, rate-limited | Free | Free |
| Gemini 3.8 Flash, through Dec 31, 2026 | $0.75 | $0.075 | $3.75 |
| Gemini 3.8 Flash, from Jan 1, 2027 | $1.50 | $0.15 | $7.50 |
| Gemini 4 Argon / Carbon, through Nov 30, 2026 | $2.00 | $0.10 | $10.00 |
| Qora API | See the live price on qoraapi.com/pricing | ||
Official prices from Google's Gemini API pricing page, checked November 13, 2026. Thinking tokens are billed as output. Free-tier content may be used by Google to improve its products; paid-tier content is not.
What it costs in practice
A coding agent that uses 30M input and 6M output tokens a month (thinking included) costs $90 on Hydrogen at Google's list price. The same token volume costs $45 on Gemini 3.8 Flash until December 31, 2026, then $90 from January 1, 2027, and $120 on Argon or Carbon in November ($240 from December 1). Hydrogen defaults to the high thinking level, so dropping to medium or low is the easiest way to cut its bill.
Hydrogen vs Argon vs Carbon vs 3.8 Flash
| Hydrogen | Argon | Carbon | |
|---|---|---|---|
| Model ID | gemini-4-hydrogen | gemini-4-argon | gemini-4-carbon |
| Best for | Everyday coding, web apps, tool-using agents, documents, parallel subagents | Most advanced long-horizon tasks with lower token use than Carbon | Hardest debugging, architecture, science and security audits |
| Default / max thinking | high / xhigh | medium / high | medium / high |
| Official price | $1.50 / $7.50 | $2 / $10, $4 / $20 from Dec 1 | $2 / $10, $4 / $20 from Dec 1 |
| Free tier | Yes | No | No |
| Qora API price | Live price | $0.60 / $3.00 | $1.00 / $5.00 |
Google says Hydrogen scores 51 on the Artificial Analysis Intelligence Index at its default high level, above Argon's 50, and 54 at xhigh, and that it makes more than 5x fewer fabricated claims than Gemini 3.8 Flash. Google's suggested pattern for bigger jobs: let Carbon plan and verify, and hand code edits and parallel subtasks to Hydrogen.
Migrating from Gemini 3.8 Flash
- Change the model string from
gemini-3.8-flashtogemini-4-hydrogen. - Remove hardcoded low
max_output_tokenscaps (such as 8,192); thinking and answer share the limit. - Hydrogen defaults to
highthinking instead ofmedium, and rejectsminimal. Testmediumif latency or cost matters. - Drop
temperature,top_pandtop_k; they are ignored. - Declare tools natively with function calling instead of asking for raw-text JSON tool calls, which can return
MALFORMED_FUNCTION_CALL.
Full walkthrough with cost scenarios and code: Gemini 4 Hydrogen API: pricing, model ID and vs 3.8 Flash.
Call Gemini 4 Hydrogen through an OpenAI-compatible API
Qora API exposes Gemini models in the standard OpenAI Chat Completions format, so existing OpenAI code only needs a new base URL, key and model name.
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://qoraapi.com/v1",
api_key="YOUR_QORA_KEY",
timeout=600,
)
resp = client.chat.completions.create(
model="gemini-4-hydrogen",
messages=[{"role": "user", "content": "Refactor this function and add tests: ..."}],
)
print(resp.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!"}]}'
Node.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://qoraapi.com/v1", apiKey: process.env.QORA_KEY });
const r = await client.chat.completions.create({
model: "gemini-4-hydrogen",
messages: [{ role: "user", content: "Summarize this PDF table: ..." }],
});
console.log(r.choices[0].message.content);
Quick setup in popular tools
- Cline / Kilo Code: API Provider OpenAI Compatible, Base URL
https://qoraapi.com/v1, your Qora key, Model IDgemini-4-hydrogen. Walkthrough: Cline custom API guide. - Cursor: Settings, Models, override the OpenAI base URL with
https://qoraapi.com/v1and addgemini-4-hydrogenas a custom model. Walkthrough: Cursor, Cline and Continue setup. - SillyTavern: Chat Completion, source Custom (OpenAI-compatible), base URL
https://qoraapi.com/v1, modelgemini-4-hydrogen. Walkthrough: SillyTavern API setup guide. - Open WebUI: Admin Settings, Connections, OpenAI API, add
https://qoraapi.com/v1with your key. Walkthrough: Open WebUI and LibreChat guide.
FAQ
What is Gemini 4 Hydrogen?
Gemini 4 Hydrogen is Google's fast, efficient Gemini 4 model for everyday coding and agentic workflows, released on November 12, 2026. It replaces Gemini 3.8 Flash as Google's recommended default and is available on both the free and paid tiers of the Gemini API.
What is the Gemini 4 Hydrogen model ID?
The model ID is gemini-4-hydrogen (a stable version, no preview suffix). On Qora API you use the same string with the OpenAI-compatible base URL https://qoraapi.com/v1.
How much does the Gemini 4 Hydrogen API cost?
Google's paid tier is $1.50 per 1M input tokens and $7.50 per 1M output tokens, flat across the whole 1M context window, with cached input at $0.075 (95% off) through implicit caching. Thinking tokens are billed as output. The free tier is free of charge but rate-limited, and Google may use free-tier content to improve its products.
Is Gemini 4 Hydrogen available on Qora API?
Qora API adds new official models as they launch. Check qoraapi.com/pricing for the live gemini-4-hydrogen price before you switch. Gemini 4 Argon (gemini-4-argon) is available now at $0.60 / $3.00 per 1M tokens and Gemini 4 Carbon at $1.00 / $5.00.
Gemini 4 Hydrogen vs Gemini 3.8 Flash: which is cheaper?
Until December 31, 2026, Gemini 3.8 Flash is cheaper at $0.75 / $3.75 per 1M tokens. On January 1, 2027 its price doubles to $1.50 / $7.50, the same as Hydrogen, so from then on Hydrogen gives you a stronger model for the same price.
What thinking levels does Gemini 4 Hydrogen support?
Four: low, medium, high (the default) and a new xhigh level for the hardest multi-step problems. The minimal level from Gemini 3.x is rejected with an error. Carbon and Argon default to medium and cap at high.
What are the Gemini 4 Hydrogen context window and output limits?
Input, thinking and output share one 1,048,576-token window. A single synchronous response is capped at 65,536 tokens; with background execution or client-side continuation, output can run up to the 1M window.