No description available
Gemini 4 Hydrogen APIActive
AI Code With channel availability
The same model is billed by channel discount. Copy a channel code to set your preference.
Related Models
More models from Gemini
Compare models from other providers
Gemini 4 Hydrogen API: price, model ID, and how to call it
Call Gemini 4 Hydrogen through AI Code With. Use model ID gemini-4-hydrogen with 1M context. list price about $1.50 / $7.50 per 1M tokens before channel discounts. About $0.0428 for 100,000 input / 10,000 output tokens at the cheapest live channel.
Next: Get API key · See integration guides · All model prices · All model prices
Cost calculator
Estimate at the cheapest live channel: $0.2850 / $1.43 per 1M tokens, cache read $0.0142, cache write $0. Billed usage follows your prepaid balance.
cURL example
Set model to gemini-4-hydrogen. The page slug is only the URL, not the API parameter.
curl https://api.aicodewith.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AICODEWITH_API_KEY" \
-d '{
"model": "gemini-4-hydrogen",
"messages": [
{ "role": "user", "content": "What is the meaning of life?" }
]
}'FAQ
What is the Gemini 4 Hydrogen model ID?
Send model "gemini-4-hydrogen" in the API request. The page path /gemini-4-hydrogen is only the URL, not the model parameter.
How do I call the Gemini 4 Hydrogen API?
Use one AI Code With API key against https://api.aicodewith.ai/v1/chat/completions, and set model to gemini-4-hydrogen. Supported protocols: OpenAI Chat Completions. See See integration guides.
How is Gemini 4 Hydrogen priced?
Gemini 4 Hydrogen is list price about $1.50 / $7.50 per 1M tokens before channel discounts. The public page shows available channel discounts; billed usage follows your prepaid balance and the live channel. About $0.0428 for 100,000 input / 10,000 output tokens at the cheapest live channel.
How long is the Gemini 4 Hydrogen context window?
Gemini 4 Hydrogen has about 1M input context and up to 1M output tokens. Treat that as capacity, not a reason to fill every request.
GPT-5.6 Sol