Gemini 4 Hydrogen vs Gemini 3.8 Flash: Same Price on Jan 1
OpenLux TeamPublished
Google lists Gemini 4 Hydrogen at $1.50 per million input tokens and $7.50 per million output, exactly twice Gemini 3.8 Flash's $0.75 and $3.75, according to its Gemini API pricing page. On the Artificial Analysis Intelligence Index (v5.0.2, read on 30 November 2026), the more expensive model is the cheaper one to run: Hydrogen at its default high thinking level scores 51.0 for $1.87 per task, while Gemini 3.8 Flash at high scores 30.7 for $3.02. That is 20.3 points more for 38% less money. And the rate-card gap has an expiry date. On 1 January 2027, Google raises 3.8 Flash to $1.50 and $7.50, the same as Hydrogen. After that there is no price argument for staying put, only a migration one.
Both models are on OpenLux; group prices are on the gemini-4-hydrogen and gemini-3.8-flash pages. Compiled by the OpenLux Team from public sources on 30 November 2026.
Double the rate card, 38% less per task
Hydrogen wins on cost because it does the same work with about half the reading. Across the full index run at high, Hydrogen read 5.34 billion input tokens and 3.8 Flash read 10.16 billion, 1.9 times as many. Output was close, 110 million against 126 million. When one model needs half the input tokens, a doubled input price washes out, and Hydrogen's output price is the only place it pays more.
The cost breakdown shows where 3.8 Flash loses most. Of its $3.02 per task, $1.76, or 58%, is cache writes; Hydrogen's cache writes are $0.65 of $1.87, 35%. Artificial Analysis updates these per-task figures as it reruns models, so check the page on the day you decide; the 30 November reading is the one used throughout this article.
Hydrogen is also faster. A high-level index task takes 8.4 minutes on Hydrogen and 15.4 minutes on 3.8 Flash. At medium the gap widens: Hydrogen finishes in 4.0 minutes and scores 41.1 for $0.80, while 3.8 Flash takes 13.4 minutes to score 30.1 for $2.61. Hydrogen at medium is 11 points better, 3.35 times faster and costs 31% as much.
Hydrogen is Google's named replacement
Google released Gemini 3.8 Flash on 2 September 2026 and describes it as its most intelligent Flash model for long-horizon software engineering and agents. Hydrogen followed on 12 November, per its DeepMind model card, which says it is adapted from Gemini 4 Carbon and has a March 2026 knowledge cutoff. Google's Hydrogen upgrade guide calls it "the recommended upgrade from Gemini 3.8 Flash". Google's deprecations page lists no shutdown date for 3.8 Flash, so nothing forces a move yet. Artificial Analysis already marks 3.8 Flash as deprecated in favour of Hydrogen.
Both take text, images, video, audio and PDF and return text. Both are available on Google's free tier. The difference is in the limits and controls, which the table and the migration section below cover.
| Gemini 4 Hydrogen | Gemini 3.8 Flash | |
|---|---|---|
| Input / cached input / output per 1M | $1.50 / $0.075 / $7.50 | $0.75 / $0.075 / $3.75 until 31 Dec; $1.50 / $0.15 / $7.50 from 1 Jan 2027 |
| Context window | 1,048,576 shared by input, thinking and output | 1,048,576 input plus 65,536 output |
| Output per request | 65,536; up to about 1M with long decode | 65,536 |
| Thinking levels | low, medium, high (default), xhigh | low, medium (default), high |
| Explicit context caching | Not supported | Supported, storage $0.50 per 1M tokens per hour |
| AA index at high, cost, time | 51.0, $1.87, 8.4 min | 30.7, $3.02, 15.4 min |
| OpenLux, 100M in + 20M out a month | $45.00 to $286.77 | $22.50 to $143.38 |
Twenty points, mostly in agent work
The largest gaps are on tasks that run tools. Terminal-Bench 4.1 is 56.1% for Hydrogen and 18.2% for 3.8 Flash at high, more than three times higher. FrontierCode 2.0, which grades repository changes against maintainer standards, is 36.3% to 18.7%. HLE-Diamond, hard expert-level questions, is 54.9% to 33.1%, and Terminal-Bench-Science 41.4% to 10.0%. Hydrogen also leads on the PDF-heavy professional tasks of GDP.pdf, 30.0% to 21.0%.
Google's own table on the model card compares Hydrogen with other vendors rather than with 3.8 Flash. It reports 57.0% on Terminal-Bench 4.1, close to the 56.1% Artificial Analysis measured, plus 76.1% on AutomationBench-AA, 77.6% on OSWorld-2.1 and 58.8% on HLE-Diamond. At xhigh, Hydrogen reaches 54.1 on the index for $3.16 a task, still about the cost of 3.8 Flash at high, with 23.4 more points.
Hydrogen guesses less, but 3.8 Flash does not know less
Google says Hydrogen "cuts fabricated claims by more than 5x compared to Gemini 3.8 Flash by flagging missing context instead of guessing". The independent numbers back that up. On AA-Omniscience, when the model did not know an answer, 3.8 Flash gave a wrong one 55.1% of the time and Hydrogen 8.7% of the time, a 6.3-fold difference.
Accuracy alone tells a different story. 3.8 Flash answered 50.5% of the questions correctly and Hydrogen 48.2%, so the older model actually knows slightly more. What changed is behaviour under uncertainty: Hydrogen declines instead of inventing. For support bots, document Q&A and anything that cites facts to users, that is the more useful property. If your evaluation only counts correct answers and ignores wrong ones, it will understate Hydrogen.
What 1 January 2027 does to the numbers
Google's pricing page shows every 3.8 Flash rate doubling on 1 January 2027: input to $1.50, output to $7.50, cached input to $0.15 and cache storage to $1.00 per million tokens per hour. OpenLux follows on the same date: from 1 January 2027, gemini-3.8-flash moves to $1.50 and $7.50 with cached input at $0.15, and group ratios stay the same.
After that date the input and output prices match Hydrogen's, but cached reads on 3.8 Flash cost twice Hydrogen's $0.075. If the token usage stayed the same, the index run for 3.8 Flash at high would cost about $6.04 a task, 3.2 times Hydrogen's $1.87, for 20 fewer points. Before 31 December, 3.8 Flash still wins on one kind of workload: short calls with little reasoning, where token counts are similar. A request with 2,000 input tokens and a 300-token reply costs $0.0026 on 3.8 Flash and $0.0053 on Hydrogen. That edge lasts one more month.
What it costs on OpenLux
OpenLux prices were read from the pricing API at 10:01 Beijing time on 30 November 2026. For 100 million input and 20 million output tokens a month, no caching, the list price is $300.00 on Hydrogen and $150.00 on 3.8 Flash until 31 December, then $300.00 on both.
The two models share four groups. Anti-Gemini-2 (0.15, "Minor discount, dedicated resources") is $45.00 a month on Hydrogen and $22.50 on 3.8 Flash. Aistudio-Gemini-2 (0.26471, "generous discount, sufficient base quota") is $79.41 and $39.71. Aistudio-Gemini-3 (0.44118, "Moderate discount, higher quota") is $132.35 and $66.18, and Aistudio-Gemini-4 (0.95589, "Minor discount, priority access to new model previews") $286.77 and $143.38. Hydrogen is also in Vertex-Gemini-3 (0.9, "Minor discount, high-priority dedicated pool") at $270.00. From 1 January the 3.8 Flash figures become identical to Hydrogen's in every shared group.
Scaled by the Anti-Gemini-2 ratio, an index task at high costs about $0.281 on Hydrogen and $0.453 on 3.8 Flash today, and roughly $0.907 on 3.8 Flash after the January change. Hydrogen at medium is about $0.120. How the ratio becomes a bill is explained in how OpenLux billing works.
Four changes that break a 3.8 Flash integration
The model ID change is the easy part. The upgrade guide lists the rest, and four items are likely to cause errors or surprises.
First, the context window is now shared. 3.8 Flash gives you 1M input tokens and a separate 64K output budget; Hydrogen counts input, thinking and output against one 1,048,576-token window, still with a 65,536-token cap per request. Remove hardcoded low max_output_tokens values; Google recommends 65,536 and says to lower the thinking level instead if you want fewer tokens.
This matters most for very long prompts. Send a 1,000,000-token document to 3.8 Flash and it can still return up to 65,536 tokens. On Hydrogen the same prompt leaves 48,576 tokens in the window for thinking and the answer together. Neither model charges more for long prompts, so a 300,000-token document with a 5,000-token reply costs $0.24 on 3.8 Flash and $0.49 on Hydrogen at list price until the January change; for single long-document reads with little reasoning, the old model stays cheaper as well.
Second, the default thinking level moves from medium to high, and xhigh is new. If you never set thinking_level, your requests will think harder and cost more after the switch. Given the numbers above, test medium first.
Third, explicit caching is gone. Hydrogen does not support cachedContents or caches.create; requests carrying a cached_content field must drop it. Implicit caching applies automatically to prompts of at least 4,096 tokens and discounts cache hits by 95%.
Fourth, sampling parameters are out. Remove temperature, top_p and top_k; in-range values are ignored and out-of-range values return a 400 error. Google also asks for natively declared tools rather than JSON tool calls described in a system prompt, and for thought signatures to be passed back unchanged across turns.
Move now, and test medium first
For coding agents, tool-using workflows and document Q&A, switch to Hydrogen now: it is cheaper per task today, faster, and 20 points better at high. Run your evaluation at medium and high before choosing; at medium Hydrogen already beats 3.8 Flash at high by 10 points for about a quarter of the cost. Keep 3.8 Flash only for short, low-reasoning calls and single long-document reads until 31 December, or where your pipeline depends on explicit caches you cannot rebuild in a month.
On OpenLux the switch is a change to the model field, with the same key and Base URL in Gemini or OpenAI format. For more on Hydrogen in Google's apps, see Gemini 4 Neon Tasks and free Hydrogen. For 3.8 Flash against a cheaper OpenAI option, see GPT-6 Luna vs Gemini 3.8 Flash, and against Baidu's model, ERNIE 5.5 Flash Preview vs Gemini 3.8 Flash.