Gemini 4 Hydrogen

google/gemini-4-hydrogen
NewFeatured
VisionAudioToolsJSONReasoning
by Google · 2026-11-12

Google Gemini 4 Hydrogen is a model in Google's Gemini 4 family, serving a ~1.05M-token context window and tuned for agentic, multimodal and software-development work. It speaks the OpenAI-compatible chat-completions format and is served via Google Vertex AI. (Capability specifics such as modalities, max output and reasoning are provisional pending the official model card.)

Max output65K
Inputtext + image + audio + video
Outputtext
p50 TTFT2.04 s
Context window1Mtokens
INPUT$1.50/ 1M tokens
OUTPUT$7.50/ 1M tokens
p50 TTFT2.04 s7d
p95 TTFT2.04 s7d

Pricing

Pricing
Input / 1M tokens$1.50
Output / 1M tokens$7.50
Cache read / 1M$0.075
Cache write / 1M$0.083
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $5.40 · With prompt caching $4.26

1.6M input × $1.5/M + 400K output × $7.5/M

Prompt caching assumes half of the input tokens are read from cache at $0.07/M.

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0025$2.55
Summarize a long doc30K / 1K$0.052$52.50
Code review8K / 2K$0.027$27.00

Token & cost estimator

Input tokens: 20Cost per request: $0.003780

Estimate only — actual token counts depend on the provider's tokenizer.

Compare monthly costs across models in the LLM cost calculator

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="google/gemini-4-hydrogen",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "google/gemini-4-hydrogen",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
top_pNucleus sampling: only consider tokens within this cumulative probability.

Full API reference

Use cases and examples

  • Long context — 1M-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes text + image + audio + video in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
2.04 s
#64 fastest of 150 models
Output speedHow many tokens per second the model streams once it starts answering.
Collecting…
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
2.04 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
0%

Benchmarks

Source: Design Arena

Compare models

Gemini 4 HydrogenGemini 3.1 Pro PreviewGemini 3.1 Pro Preview Custom ToolsGemini 4 Carbon
Input $/M$1.50$2.00$4.00$4.00
Output $/M$7.50$12.00$18.00$20.00
Context1.0M1.0M1.0M1.0M
Quality8/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

How much does Google: Gemini 4 Hydrogen cost on OrcaRouter?
Google: Gemini 4 Hydrogen is priced at $1.50 per 1M input tokens and $7.50 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is Google: Gemini 4 Hydrogen's context window?
Google: Gemini 4 Hydrogen supports a context window of 1M tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call Google: Gemini 4 Hydrogen via the OpenAI SDK?
Set OpenAI base_url to https://api.orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="google/gemini-4-hydrogen" in the chat.completions.create call.
Does OrcaRouter rate-limit Google: Gemini 4 Hydrogen?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.

Embed this badge

Google: Gemini 4 Hydrogen•$1.50/M in•2042ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/google/gemini-4-hydrogen" target="_blank"> <img src="https://www.orcarouter.ai/embed/google/gemini-4-hydrogen.svg" alt="Google: Gemini 4 Hydrogen on OrcaRouter" /> </a>
Markdown [![Google: Gemini 4 Hydrogen](https://www.orcarouter.ai/embed/google/gemini-4-hydrogen.svg)](https://www.orcarouter.ai/models/google/gemini-4-hydrogen)

Model card as data

GET /api/public/models/google/gemini-4-hydrogenOpen
Machine-readable:/llms.txt/llms-full.txt