Model detail
Gemini 4 Hydrogen
Gemini 4 Hydrogen is designed for efficient coding, rapid agentic execution and multimodal knowledge work.
Model specs
- Model ID
-
gemini-4-hydrogen
- Context length
- 1.048576M
- Max output
- 1.048576M
- I/O modalities
- Released
- 2026-11
02
API endpoints
One MixRoute gateway, OpenAI-compatible
-
Gemini
/v1beta/models/{model}:generateContentPOST -
OpenAI-compatible
/v1/chat/completionsPOST
03
Pricing
Flat rate, unit: /1M Tokens
Pricing updated
Input
$1.5000 /1M Tokens
Completion
$7.5000 /1M Tokens
Cache read
$0.0750 /1M Tokens
05
Selection summary
Quickly judge whether it fits your workload
What is this model good for?
Coding
Gemini 4 Hydrogen is built for writing and reviewing code, and it reads images alongside text. It accepts input such as text, image and video, and returns text. Its capabilities are broken down in the section just below. Run it on one file from your own repository and check the patch before you commit.
What should you check before using it?
1,048,576 context, 1,048,576 output tokens
Gemini 4 Hydrogen accepts up to 1,048,576 tokens of context and returns up to 1,048,576 output tokens per request. Check that your longest prompt and its expected answer fit inside both limits before you size production traffic.
Why use it through MixRoute?
One MixRoute key reaches Gemini 4 Hydrogen
One MixRoute key covers gemini-4-hydrogen, on the same account as the rest of the catalog. MixRoute supports calling Gemini 4 Hydrogen through its OpenAI-compatible endpoint; point your client at https://api.mixroute.ai/v1 with the model ID gemini-4-hydrogen and re-run your integration tests.
07
Capabilities & compatibility
Unconfirmed capabilities stay "Unknown," no guesses
Tool calling
Gemini 4 Hydrogen supports function and tool calls.
tools definition; the response returns tool_calls to execute and feed results back.
Structured output
Gemini 4 Hydrogen can produce JSON-formatted output on demand.
response_format: { type: "json_schema" } forces valid JSON output.
Streaming
Gemini 4 Hydrogen supports streamed responses.
stream: true streams tokens incrementally, so chat UIs render as they arrive.
Prompt caching
Gemini 4 Hydrogen supports prompt caching under supported routing conditions.
Vision input
Gemini 4 Hydrogen can process image inputs alongside text.
image_url content part alongside text messages.
08
Token cost estimator
Live estimate from this page's pricing, not an actual bill
Share of the same prefix read repeatedly, up to 100%
09
FAQ
Gemini 4 Hydrogen is a reasoning model. Reasoning effort can be tuned per request. Lower effort settings cut reasoning tokens and cost for routine work; reserve higher settings for problems that need deeper search. Measure quality at two or three settings before fixing one in production.
More from Google
All Google modelsOne endpoint, a testable decision
Test this model and alternate routes with the same request format
Start from a real workload, then let quality, total cost, and failure conditions decide whether to send production traffic.