Back to Text & reasoning

Model comparison

Gemini 4 Hydrogen vs Gemini 3.8 Flash

Provider-published facts for Gemini 4 Hydrogen and Gemini 3.8 Flash, side by side: price, limits, inputs, access and data policy. No mystery scores and no invented benchmark rankings.

What changed

What changed from Gemini 3.8 Flash to Gemini 4 Hydrogen

Hydrogen is Google's recommended upgrade from Gemini 3.8 Flash. It shares one token budget across input, thinking and output, adds long decode and computer use, and costs more per token than 3.8 Flash's current promotional price. Google reports it finishes tasks 2.5 times faster; that is a provider claim, not a Cody measurement.

SpecGemini 3.8 FlashGemini 4 Hydrogen
Context window1,048,576 tokens1,048,576 tokens shared by input, thinking and output
Maximum output65,536 tokens65,536 synchronous; long decode uses the remaining context
Knowledge cutoffMarch 2026; some domains may lag to January 2025March 2026
Input price$0.75 / 1M promo$1.50 / 1M
Output price$3.75 / 1M promo$7.50 / 1M
Tools & agentsFunctions, search, code execution, file searchFunctions, code execution, search, file search, computer use

Unchanged: inputs.

Before you switch from Gemini 3.8 Flash to Gemini 4 Hydrogen

  • Change the model ID to gemini-4-hydrogen; Gemini 3.8 Flash stays available, with no shutdown date announced.
  • Thinking defaults to high; set thinking_level to low or medium where latency or cost matters more than depth.
  • Input, thinking and output now share one 1,048,576-token window, and replies longer than 65,536 tokens need long decode through background mode or client-side continuation.
  • Explicit context caching is not supported; implicit caching discounts repeated input automatically.
  • Re-baseline costs: Hydrogen's standard rates match the rates Gemini 3.8 Flash moves to on January 1, 2027.
Source: Google

Estimate your cost

Set your usage. Your estimate updates as you type.

Example: 6,000 input tokens for 10 pages, plus a 500-token summary. Page lengths vary; adjust the numbers below.

One run sends your input to the model once and receives an answer. Tokens are pieces of text: input is what you send, output is the answer you receive.

Advanced options
How this estimate works

Estimates exclude taxes, tools, cache storage/writes, free allowances and custom discounts. Image estimates cover output only, not prompt or reference-image charges. Quality modes differ by model. Unlisted settings are not treated as free.

Estimate your cost
ModelEstimated total (USD)
Gemini 3.8 FlashGoogle$0.0064
Gemini 4 HydrogenGoogle$0.0128

Quick take

Gemini 4 Hydrogen

Google's fast Gemini 4 model for agentic workflows and everyday coding, and its recommended upgrade from Gemini 3.8 Flash.

Best for

  • Fast agentic workflows
  • Everyday coding
  • High-volume multimodal tasks

Watch out for

Its paid rates are higher than Gemini 3.8 Flash's current promotional price, and thinking defaults to high, which adds output tokens. Explicit context caching and the Live API are not supported, and free-tier prompts may be used to improve Google's products.

Gemini 3.8 Flash

Google's stable, high-efficiency multimodal model for agents, software work, and large mixed-media inputs at an introductory Flash-tier price.

Best for

  • High-volume multimodal agents
  • Long video, audio, PDF, and code inputs
  • Teams optimizing capability per token cost

Watch out for

Free and paid Gemini services have materially different data-use terms. Verify billing status and regional availability for the exact project.

Compare the published facts

Gemini 4 Hydrogen vs Gemini 3.8 Flash

Values use each provider's own published units and limits. A blank means the provider did not publish a directly comparable value in the sources reviewed.

Text & reasoningGemini 4 HydrogenGemini 3.8 Flash
Context windowMaximum combined prompt and working context documented by the provider.1,048,576 tokens shared by input, thinking and output1,048,576 tokens
Maximum outputProvider-published response limit, where available.65,536 synchronous; long decode uses the remaining context65,536 tokens
Knowledge cutoffLatest reliable knowledge date explicitly published by the model provider. Search and connected tools can retrieve newer information but do not change the model's built-in cutoff.March 2026March 2026; some domains may lag to January 2025
Input priceCurrent standard list price per million input tokens unless noted.$1.50 / 1M$0.75 / 1M promo
Output priceCurrent standard list price per million output tokens unless noted.$7.50 / 1M$3.75 / 1M promo
InputsMedia types accepted by the listed model endpoint.Text, image, video, audio, PDFText, image, video, audio, PDF
Tools & agentsSelected native tools and agent-building capabilities, not an exhaustive list.Functions, code execution, search, file search, computer useFunctions, search, code execution, file search

How to choose

Data policy and API access

Start with the job you need to complete, then validate cost, access, and policy details on your exact provider route.

Gemini 4 Hydrogen

On the Gemini API's free tier, Google may use prompts and responses to improve its products; on the paid tier, it does not.

Gemini 3.8 Flash

Google says paid Gemini API prompts and responses are not used to improve its products. Unpaid-service content generally may be used, with different treatment for EEA, UK, and Swiss users; check the current terms for your account and region.

Frequently asked questions

Gemini 4 Hydrogen vs Gemini 3.8 Flash FAQ

What is the main difference between Gemini 4 Hydrogen and Gemini 3.8 Flash?

Gemini 4 Hydrogen: Google's fast Gemini 4 model for agentic workflows and everyday coding, and its recommended upgrade from Gemini 3.8 Flash. Gemini 3.8 Flash: Google's stable, high-efficiency multimodal model for agents, software work, and large mixed-media inputs at an introductory Flash-tier price.

What changed from Gemini 3.8 Flash to Gemini 4 Hydrogen?

Hydrogen is Google's recommended upgrade from Gemini 3.8 Flash. It shares one token budget across input, thinking and output, adds long decode and computer use, and costs more per token than 3.8 Flash's current promotional price. Google reports it finishes tasks 2.5 times faster; that is a provider claim, not a Cody measurement. Changed in the published specs: context window, maximum output, knowledge cutoff, input price, output price and tools & agents. Unchanged: inputs.

Should I choose Gemini 4 Hydrogen or Gemini 3.8 Flash?

Best fit for Gemini 4 Hydrogen: Fast agentic workflows. Best fit for Gemini 3.8 Flash: High-volume multimodal agents. Test both with your own data and provider route before committing.

Where do the facts in this Gemini 4 Hydrogen vs Gemini 3.8 Flash comparison come from?

From each provider's own documentation, pricing and policy pages for the Text & reasoning category. Cody does not add its own benchmark scores or name a universal winner.