Back to Models

Gemini 4 Hydrogen APIActive

gemini-4-hydrogen

No description available

By:GeminiInput Type:Output Type:

AI Code With channel availability

The same model is billed by channel discount. Copy a channel code to set your preference.

ChannelCache Hit RateContext
Gemini 经济档81% off
82.0%¥2.052/ M tokens¥10.26/ M tokensRead:¥0.1026/ M tokensWrite:¥0/ M tokens1M0.0s
Gemini 直连档51% off
82.0%¥5.292/ M tokens¥26.46/ M tokensRead:¥0.2646/ M tokensWrite:¥0/ M tokens1M0.0s

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.

Model IDgemini-4-hydrogen
ProtocolsOpenAI Chat Completions
Context1M
Max output1M

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.

Estimated cost$0.0428

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.