Google/Gemini 4 Hydrogen

-70%vs official

Google Gemini 4 Hydrogen is the fastest, lowest-cost Gemini 4 model, for everyday coding and agentic workflows, scoring 51 on the Artificial Analysis Intelligence Index at high. It runs file reads and searches in parallel, takes multimodal input in a 1M-token context, and offers three reasoning levels.

24-hour availability —CodeInput $0.45/1MOutput $2.25/1MData privacy
View docs

Input

Output

Send a message on the left. The reply appears here.

Availability 24 hours

Hourly success rate of all completed requests to this site.

Loading…

Pricing

This model is priced by the usage dimensions listed here. Compare all pricing.

Prices are shown in USD. Charges depend on the model and your actual usage.

Billing itemOur priceCurrent pricefal.aiOfficial priceSavings
Input$0.45/1M tokens$1.5/1M tokens$1.5/1M tokens70% cheaper than official70% cheaper than fal.ai
Cache read$0.0225/1M tokens$0.075/1M tokens$0.075/1M tokens70% cheaper than official70% cheaper than fal.ai
Audio input$0.45/1M tokens$1.5/1M tokens$1.5/1M tokens70% cheaper than official70% cheaper than fal.ai
Output$2.25/1M tokens$7.5/1M tokens$7.5/1M tokens70% cheaper than official70% cheaper than fal.ai

Reference prices checked on 2026-12-02: fal.ai · Official pricing

README

Gemini 4 Hydrogen

gemini-4-hydrogen is the speed tier of Gemini 4, handling frequent everyday tasks and agentic execution while Carbon and Argon take deeper reasoning, with 57% on Terminal-Bench 4.1. It reads dense PDFs, spreadsheets, audio and video in a 1M-token context.

Why Choose This?

Run short development cycles
Hydrogen is designed for everyday coding and rapid iteration. A clearly reproduced issue and a small testable scope make it easier to inspect a proposed change, run the relevant checks, and incorporate feedback in the next pass.
Adjust the thinking level
Google documents several thinking levels for Hydrogen. Separate straightforward editing tasks from work that crosses several files, then compare settings on representative inputs to see which balance of completeness and turnaround suits the routine workload.
Give visual context
Pair written requirements with a screenshot to show the order of controls, missing content, and layout hierarchy. Record the viewport and mark the area under review so the next iteration can address a specific change.

Parameters

ParameterRequiredDescription
contentsarrayRequiredConversation turns in the Gemini format.
contents[].rolestringOptionalWho wrote the message, such as user or assistant.
contents[].partsarrayOptionalContent parts of a turn, such as text or inline images.
generationConfig.temperaturenumberOptionalTemperature Default: 0.7.
generationConfig.topPintegerOptionalTop P Default: 1.
generationConfig.topKintegerOptionalTop K
generationConfig.maxOutputTokensintegerOptionalMax Output Tokens
toolsarrayOptionalTools

How to Use

  1. Try it here first — Sign in and run the model in the playground above to check the output before you write code.
  2. Create an API key — Open Console → API Keys and create a key. The same key works for every model.
  3. Write your messages — Put the task and its context in the messages array; add a system prompt to set the assistant behavior.
  4. Set optional parameters — Adjust the optional parameters listed above to control the output.
  5. Send the request — Call POST /v1beta/models/gemini-4-hydrogen:generateContent with the model ID gemini-4-hydrogen.
  6. Read the reply — The reply and its token usage come back in the response and are logged in the console.

Writing Effective Prompts

Clear instructions get better answers. Tell the model who it is, what you need and how the answer should look.

1. Set the role and goal

Open with who the model should act as and what the task is. Put rules that never change in the system prompt.

You are a senior Python reviewer. Review the function below for bugs and readability.

2. Give the context

Paste what the answer depends on: documents, code, data or earlier decisions. Separate each part with a heading or tag.

3. Specify the output

Name the format, length and tone: a table, JSON with given keys, five bullet points, a 200-word summary.

4. Show an example

One or two input and output examples fix the style faster than a long description.

5. Iterate

When an answer misses, add the missing constraint to the prompt instead of starting over.

Prompt
WeakWrite about our product.
StrongYou are a B2B copywriter. Write three 40-word LinkedIn posts announcing our invoicing API for small accounting firms. Tone: confident, plain English, no emojis. End each post with a question.

Pricing

Billing itemPriceOfficial price
Input$0.45 per 1M tokens$1.50 / 1M tokens
Cache read$0.0225 per 1M tokens$0.075 / 1M tokens
Audio input$0.45 per 1M tokens$1.50 / 1M tokens
Output$2.25 per 1M tokens$7.50 / 1M tokens

That is 70% below the official list price.

Example: a request with 10,000 input tokens and 1,000 output tokens costs about $0.0067.

Prices are shown in USD. Charges depend on the model and your actual usage. Compare all pricing

Best Use Cases

  • Iterate on a formProvide a field list and screenshot, then ask Hydrogen to compare their order and labels. Assign one visible adjustment to each pass and check the results at the same viewport with the same sample entries.
  • Fix a focused regressionSupply a failing test, the affected function, and the expected result. Ask for a narrowly scoped change with a proposed assertion, then check two boundary inputs and record the version and outcome of the retest.
  • Move from sketch to prototypeSupply the sketch, section order, and two representative screen widths. Ask for a first layout, check hierarchy and overflow with real content, and use the screen regions you observed to guide the next revision.
  • Convert meeting notes to tasksProvide the notes and participant list. Ask for an owner, due date, and dependencies for every decision that requires action. Mark items that still lack an owner so someone can confirm them before distributing the list.

Pro Tips

  • Give each pass a target — Limit a pass to a checkable outcome such as correcting sort order or standardizing terminology. Use the same example to verify the result, then write the next task based on what the review uncovered.
  • Show one complete example — Provide one source item and its expected output before asking for a larger transformation. Include field order and missing-value rules, then test an unusual record to check how the model interprets the boundary before processing more items.
  • Make acceptance criteria observable — Replace a vague layout request with visible conditions, such as keeping a specific button visible and the main heading inside the viewport at two widths. Ask for the changes and validation steps so another teammate can reproduce the review.

FAQ

What is Gemini 4 Hydrogen?

gemini-4-hydrogen is the speed tier of Gemini 4, handling frequent everyday tasks and agentic execution while Carbon and Argon take deeper reasoning, with 57% on Terminal-Bench 4.1. It reads dense PDFs, spreadsheets, audio and video in a 1M-token context.

How do I call the Gemini 4 Hydrogen API?

Send POST /v1beta/models/gemini-4-hydrogen:generateContent with the model ID gemini-4-hydrogen and your API key. Ready-to-run samples are in the API section above.

How is billing calculated?

Charges are based on the selected model, its billing method, and your actual usage.

Where do I get an API key?

Create one in Console → API Keys. The same key works for every model on the gateway.

Can I use the output commercially?

Yes. You can use what you generate in commercial projects, subject to the model provider’s terms.

About Gemini 4 Hydrogen on DreamTo

gemini-4-hydrogen is the speed tier of Gemini 4, handling frequent everyday tasks and agentic execution while Carbon and Argon take deeper reasoning, with 57% on Terminal-Bench 4.1. It reads dense PDFs, spreadsheets, audio and video in a 1M-token context.