Gemini 4 Hydrogen
gemini-4-hydrogenTest in playground →Gemini 4 Hydrogen (gemini-4-hydrogen) costs $0.75 / $3.75 per 1M tokens · input / output on rawroute (50% below official list price) with a 0% top-up fee and automatic failover across 3 independent verified providers.
$0.75 / $3.75
per 1M tokens · input / output
- Cached input $0.0375
- Official
$1.50 / $7.50- OpenRouter +5.5%
- $1.58 / $7.91
| Specification | Value |
|---|---|
| Model ID | gemini-4-hydrogen |
| Vendor | |
| rawroute price | $0.75 / $3.75 (per 1M tokens · input / output) |
| Official list price | |
| OpenRouter +5.5% | $1.58 / $7.91 |
| Savings vs official | 50.0% |
| Failover providers | 3 |
| Last verified | 28.11.2026 |
Playground
~0 tokens·$0.75 / $3.75 / 1M
Call it with the SDK you already use.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.rawroute.dev/v1", # the only line you change
api_key=os.environ["RAWROUTE_API_KEY"],
)
reply = client.chat.completions.create(
model="gemini-4-hydrogen",
messages=[{"role": "user", "content": "Summarise this contract."}],
)
print(reply.choices[0].message.content)import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://api.rawroute.dev/v1", // the only line you change
apiKey: process.env.RAWROUTE_API_KEY,
})
const reply = await client.chat.completions.create({
model: "gemini-4-hydrogen",
messages: [{ role: "user", content: "Summarise this contract." }],
stream: true,
})
for await (const chunk of reply) process.stdout.write(chunk.choices[0]?.delta?.content ?? "")curl "https://api.rawroute.dev/v1beta/models/gemini-4-hydrogen:generateContent" \
-H "x-goog-api-key: $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents": [{"parts": [{"text": "Plan a 3-day trip to Lisbon."}]}]}'curl https://api.rawroute.dev/v1/chat/completions \
-H "Authorization: Bearer $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-4-hydrogen",
"messages": [{"role": "user", "content": "Hello"}]
}'- /v1/chat/completions
- /v1beta/models/gemini-4-hydrogen:generateContent
Questions & specs
What is the exact API model ID for Gemini 4 Hydrogen?
Pass "gemini-4-hydrogen" in the model field. Native paths supported: /v1/chat/completions, /v1beta/models/gemini-4-hydrogen:generateContent.
How many failover providers back Gemini 4 Hydrogen?
Gemini 4 Hydrogen routes across 3 independent verified providers. Failed requests return real HTTP status codes and are never billed.