AI-generated content. This article was researched and written by an automated AI editorial system and published without prior human review. Every factual claim is checked against cited primary sources before publication, but no journalist read this page before you did — treat it accordingly, and report anything that looks wrong. How this works ›

Some links on this page are affiliate links. We may earn a commission at no extra cost to you.

Gemini 3.8 Flash to Gemini 4 Hydrogen: Migrate Now or Wait for 1 January 2027?

Updated: Dec 3, 2026
3 tools · 2026

Gemini 3.8 Flash is not deprecated, and Hydrogen costs double today and the same from 1 January 2027 on every tier. Standard, batch, flex and priority all converge. Here is who should move now, who should wait, and what breaks.

Do not migrate a synchronous workload from Gemini 3.8 Flash to Gemini 4 Hydrogen before 1 January 2027. Move only workloads that can run on batch or flex, or ones that gain from Hydrogen itself. Flash is not deprecated. Hydrogen costs $1.50/$7.50 per million tokens today, twice Flash’s $0.75/$3.75, and from 1 January every Flash rate doubles to match. After that, the migration costs nothing in rate and changes only the model’s behaviour. Three breaks need testing first: thinking defaults to high, explicit caching is gone, and sampling parameters stop applying. Pick your row in the table below, then read the section on the break that applies to you.

Which move is right for your workload

Your Flash workloadMove now?Why
Synchronous, cost-sensitiveWait until JanuaryDoubles your rate for 29 days, then costs the same
Synchronous but latency-tolerant (hours)Move to Hydrogen batch nowHydrogen batch $0.75/$3.75 equals today’s standard Flash rate
Already on Flash batchWait until JanuaryToday Flash batch is $0.375/$1.875, so Hydrogen batch doubles it
Large stable prefix, resent every turnTest in JanuaryHydrogen’s cached input is half of Flash’s from 1 January, but hits are implicit only
New buildStart on HydrogenIts price has no expiry date, and Flash’s rate card ends on 31 December
Needs temperature control or explicit cachesStay on FlashNeither works on Hydrogen

The rest of this page shows the arithmetic and how to do the move.

The price: every tier converges on 1 January

Prices verified 3 December 2026 against Google’s Gemini API pricing page. Rates are USD per million tokens, input / output (thinking tokens bill as output).

TierFlash now (to 31 Dec)Flash from 1 Jan 2027Hydrogen (no expiry)
Standard$0.75 / $3.75$1.50 / $7.50$1.50 / $7.50
Batch$0.375 / $1.875$0.75 / $3.75$0.75 / $3.75
Flex$0.375 / $1.875$0.75 / $3.75$0.75 / $3.75
Priority$1.35 / $6.75$2.70 / $13.50$2.70 / $13.50
Cached input (standard)$0.075$0.15$0.075

Google does not call the Flash rate promotional. It publishes two dated rates, one “through December 31, 2026” and one “starting January 1, 2027”. The result is the same: the Flash line’s price doubles in 29 days, and it lands exactly on Hydrogen’s.

Two practical consequences:

Worked example: what 100M input and 10M output tokens a month costs

Illustrative workload, standard tier, no caching, output including thinking:

Flash nowFlash from 1 JanHydrogen
Input, 100M tokens$75.00$150.00$150.00
Output, 10M tokens$37.50$75.00$75.00
Monthly total$112.50$225.00$225.00

Move this to Hydrogen on 4 December and the bill doubles for 28 days with no capability you asked for. Move it on 1 January and it does not change.

Batch is the exception, and it cuts both ways. If the same workload ran on Hydrogen batch, it costs $112.50, which is the standard Flash price you pay today. But if it already runs on Flash batch, the bill is $56.25 today. Moving to Hydrogen batch doubles it to $112.50 until 1 January, when Flash batch also reaches $112.50. Earlier guidance on this site and in Google’s own migration framing treated Hydrogen batch as a free lunch. It is one only for standard-tier Flash users who can tolerate batch latency.

The thinking effect is the unknown that decides the real bill. Hydrogen defaults to thinking high; Flash defaults to medium. If the same tasks produced 50% more output tokens on Hydrogen (the 10M becomes 15M), the January bill would be $150.00 + $112.50 = $262.50, 17% above Flash’s $225.00. That 50% is a hypothetical to show the shape of the risk: Google publishes no token-count comparison, so measure your own. Run your numbers through the API cost calculator.

Caching is the one place Hydrogen gets cheaper. Cached reads cost 5% of Hydrogen’s input rate and 10% of Flash’s. Take an agent with 100M input tokens a month, 80M of them cache hits, plus 5M output. From 1 January Flash costs 20M × $1.50 + 80M × $0.15 + 5M × $7.50 = $79.50. Hydrogen costs 20M × $1.50 + 80M × $0.075 + 5M × $7.50 = $73.50, about 8% less. That saving needs hits to happen, and implicit hits start from 4,096 tokens and cannot be reserved, so it is a bet, not a design.

What breaks when you change the model string

Google’s Hydrogen migration guide lists the differences. The ones that cost money or change output:

  1. Thinking. Hydrogen “defaults to high rather than medium, adds xhigh, and rejects minimal with an error.” low is the lowest level it accepts. Because “every token the model processes” is billed, including thinking, set the level explicitly on the first deploy. If you were already on low on Flash, this is the cheapest configuration to test first.
  2. Explicit caching is gone. “Gemini 4 Hydrogen does not support explicit caching (cachedContents and caches.create).” Code that creates caches will fail rather than degrade. The prompt cache retention costs guide shows what a reserved cache is worth, and why Claude’s explicit caching is the usual alternative.
  3. Sampling parameters. Google’s instruction is “Remove temperature, top_p, and top_k from requests,” and out-of-range values return a 400. If your SDK wrapper fills those fields by default, you will hit this on the first call. Behaviour tuned through temperature on Flash will not carry over.
  4. Tool calls. Prompting the model to emit custom raw-text JSON tool calls can return MALFORMED_FUNCTION_CALL when no tools are declared, and thought signatures must not be copied across parallel functionCall parts. Test agent loops, not just single calls.
  5. Shared context window. Hydrogen shares one 1,048,576-token window across input, thinking and output. Long outputs up to the 1,048,576 ceiling need the long-decode path; the default synchronous limit is 65,536 tokens, the same as Flash’s output limit.

The tools list is unchanged on the model pages: both support function calling, structured outputs, code execution, Search grounding, computer use, URL context and file search.

How safe is waiting?

Flash is not deprecated. Google’s deprecations page lists gemini-3.8-flash as released 2 September 2026 with “No shutdown date announced”, and the table never names Hydrogen as a replacement. The “recommended upgrade” language comes from the Hydrogen migration guide and the choosing-a-model page, which maps 3.8 Flash, 3.6 Flash and 2.5 Flash to Hydrogen.

On Google Cloud the picture differs: as read on 15 November, Flash sat in the group with a “September 2, 2027 or later” date that cannot move earlier, while Hydrogen sat in the short-availability group, where Google commits to 45 days’ notice once a date posts. Moving up the model line moves you to the weaker guarantee. The Gemini retirement dates you can plan against page tracks both platforms.

Two reasons not to treat “not deprecated” as permanent. Google deprecated Argon seven weeks after it launched, and on 1 December it rerouted gemini-2.5-pro to gemini-3.8-flash at Flash rates, which means Flash is now the landing spot for retiring Pro traffic. And in October it rerouted two Flash models without listing them on the deprecations page. Pin an evaluation set so a forced move takes a day, not a sprint.

Decision rules

Related: Gemini review and plans, model retirement tracker, pricing tracker, and the news analysis behind this page.

What changed

Frequently asked questions

Is Gemini 3.8 Flash being shut down?

Not as of 3 December 2026. Google's deprecations page lists gemini-3.8-flash with release date 2 September 2026 and 'No shutdown date announced', and its recommended-replacement cell is empty. Google does recommend Hydrogen as the upgrade, but that wording lives in the Hydrogen migration guide and the choosing-a-model page, not in the lifecycle table. Google's record is the reason to keep watching: it deprecated Gemini 4 Argon seven weeks after launch and rerouted 2.5 Pro to 3.8 Flash on 1 December.

Is Hydrogen cheaper than Gemini 3.8 Flash?

No. Today it is exactly twice the price on every tier: $1.50/$7.50 per million tokens standard against Flash's $0.75/$3.75, and $0.75/$3.75 batch against Flash's $0.375/$1.875. From 1 January 2027 every Flash rate doubles to Hydrogen's, so standard, batch, flex and priority all become identical. The only line that stays different is cached input, which is $0.075 on Hydrogen and $0.15 on Flash from January.

Does moving batch jobs to Hydrogen avoid the price increase?

Only if you were paying standard Flash rates. Hydrogen batch at $0.75/$3.75 equals standard Flash today, so a synchronous workload that can tolerate batch latency migrates at no extra cost. If you already run Flash batch at $0.375/$1.875 through 31 December, the same move doubles your batch bill until 1 January, when Flash batch also becomes $0.75/$3.75.

Will my output bill rise by more than 2x?

It can. Hydrogen defaults to thinking level 'high' where Flash defaults to 'medium', and thinking tokens bill at the output rate, so output tokens per task can rise even when the rate does not. Google rejects 'minimal' with an error. Set the thinking level explicitly, run a sample of real tasks on both models and compare output tokens before you trust the rate-card ratio.

What breaks silently when I switch the model string?

Sampling parameters and caching. Google's migration guide says to remove temperature, top_p and top_k and warns that out-of-range values return a 400, so check what your SDK sends by default. Explicit caching (cachedContents and caches.create) is not supported at all, so a workload built around a reserved cache must rely on implicit caching, which you cannot pin. Custom raw-text JSON tool calls can also return MALFORMED_FUNCTION_CALL.

Are there cheaper options than Hydrogen for Flash workloads?

Gemini 3.5 Flash-Lite is $0.30 input and $2.50 output per million tokens on the standard tier, which is below today's Flash rate, and Google lists it as a replacement route for 2.5 Flash. It is a lower tier of model, so run your own evaluation before swapping. Claude and OpenAI have comparable small-model rates, compared on the API cost calculator.