Gemini 4 Hydrogen
Use this model through the Rawrter OpenAI-compatible API. Requests are routed through available nodes with account-level usage tracking.
Modalities
Input Price / 1M
$0.80
Output Price / 1M
$4.00
Cache Price / 1M
$0.08
Provider
Google
Context
1M
About Gemini 4 Hydrogen
Gemini 4 Hydrogen is Google's fast model for everyday development: dependency upgrades, code deduplication, scaffolding, unit tests, and documentation. It has a 1,048,576 token context window and four reasoning levels including an extra-high one, and is designed to act as the implementer alongside an Argon planner.
API
Copy a ready config for your client — the base URL and this model's id (gemini-4-hydrogen) are already filled in. Paste your API key and you're set.
from openai import OpenAI
client = OpenAI(
base_url="https://api.rawrter.com/v1",
api_key="<YOUR_API_KEY>",
)
response = client.chat.completions.create(
model="gemini-4-hydrogen",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.rawrter.com/v1",
apiKey: "<YOUR_API_KEY>",
});
const response = await client.chat.completions.create({
model: "gemini-4-hydrogen",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);
{
"providers": {
"rawrter": {
"baseURL": "https://api.rawrter.com/v1",
"apiKey": "<YOUR_API_KEY>",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false
}
}
},
"models": {
"gemini-4-hydrogen": {
"provider": "rawrter",
"id": "gemini-4-hydrogen",
"contextWindow": 1048576
}
}
}
curl https://api.rawrter.com/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-4-hydrogen",
"messages": [{ "role": "user", "content": "Hello" }]
}'