Roar AI
Get started
All models
Google · Chat

Gemini 4 Hydrogen API

Gemini 4 Hydrogen costs $1.50 per million input tokens and $7.50 per million output tokens on Roar AI. Google’s fast Gemini 4 for agent work, adapted from Carbon to finish tasks quickly.

Input$1.50per 1M tokens
Output$7.50per 1M tokens
Context window1.05Mtokens

These are API prices for building with Gemini 4 Hydrogen, billed by what you use. They are not the price of a Gemini plan.

Gemini 4 Hydrogen API pricing

Input$1.50 per 1M tokens
Output$7.50 per 1M tokens
Batch input$0.75 per 1M tokens
Batch output$3.75 per 1M tokens

Example: 1,000 requests with 3,000 input and 1,000 output tokens each cost $12. Every rate is published and stays the same from one request to the next. See every model, or estimate a monthly bill with the token calculator.

Rates as of 1 December 2026.

Specs

Made byGoogle
ReleasedNovember 2026
TypeChat
Context window1.05M tokens
Longest answer66K tokens
ReadsText, images, PDFs
Thinks before answeringYes, adjustable
WeightsClosed
Processed inGlobal
Model idgemini-4-hydrogen

About Gemini 4 Hydrogen

Hydrogen is Google’s fast model for agent work, released on 12 November 2026 and adapted from Gemini 4 Carbon. Google pitches it two ways: as an agent on its own, or as the model that carries out the steps while Carbon or Argon does the planning. It takes over that role from Gemini 3.8 Flash, and Google says it finishes tasks about 2.5 times faster at its default setting.

Google reports 57.0% on Terminal-Bench 4.1, against 18.2% for Gemini 3.8 Flash, and first place on Vals AI’s tax agent test. Artificial Analysis scores it 51 on its Intelligence Index at its default and 54 at its highest effort, around Argon’s level.

You choose how hard it thinks, from low to extra-high, and the default is high. It reads text, images and PDFs in a window of about a million tokens.

What is Gemini 4 Hydrogen good for?

  • Agents that take many quick steps.
  • Carrying out a plan that Carbon or Argon wrote.
  • Tax and legal research tasks, where Google reports leading Vals AI results.
  • High-volume work that needs more than a Flash model.

Gemini 4 Hydrogen limitations

  • Wordy: Artificial Analysis rates it among the wordiest models it tests, and at its highest effort it used several times the median number of tokens, which adds to cost.
  • Higher thinking settings did not raise its coding score in the tests VentureBeat reported, so try the default before paying for more.
  • Google reports that it refuses more harmless requests than Gemini 3.8 Flash, mostly ones with images.
  • Video and audio input, and Google’s very long answers, are not available through our API yet; answers are capped at about 65K tokens.

How to use the Gemini 4 Hydrogen API

Use the OpenAI SDK you already have: point it at Roar AI and set the model name. Read the docs.

from openai import OpenAI

client = OpenAI(base_url="https://api.roar-ai.com/v1", api_key="roar_live_…")

reply = client.chat.completions.create(
    model="gemini-4-hydrogen",
    messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)

Gemini 4 Hydrogen FAQ

How much does Gemini 4 Hydrogen cost?

Input is $1.50 per 1M tokens; output is $7.50 per 1M tokens. For example, 1,000 requests with 3,000 input and 1,000 output tokens each cost $12.

Can I use Gemini 4 Hydrogen alongside other models?

Yes. Every model on Roar AI is on the same API key and the same monthly invoice, so switching from Gemini 4 Hydrogen to another model only means changing the model name in your code.

Is Gemini 4 Hydrogen open source?

No. Google does not publish the weights, so it is only available through an API like this one.

What is the context window of Gemini 4 Hydrogen?

Gemini 4 Hydrogen can read up to 1.05M tokens in one request, and write an answer of up to 66K tokens.

Can Gemini 4 Hydrogen read images and PDFs?

Yes. Gemini 4 Hydrogen reads images and PDFs directly.

Start using Gemini 4 Hydrogen

Create a free account, get an API key and call Gemini 4 Hydrogen with the OpenAI SDK.