Google: Gemini 4 Hydrogen

gemini-4-hydrogen

Gemini 4 Hydrogen costs $1.95 per million input tokens and $9.75 per million output tokens, supports 1.05M context, and is available through the OpenAI-compatible API.

Google's Gemini 4 Hydrogen is a reasoning model for coding, problem solving, and multi-step tasks that use tools. It accepts text, images, audio, video, and PDFs and produces text, with tool calling and structured outputs. Its 1,048,576-token context is shared across input, thinking, and output, with up to 65,536 combined thinking and output tokens per response. Choose low, medium, high, or extra-high thinking; high is the default.

Modalities

Text + Image + Video + Audio → Text

Input / output price

$1.95 / $9.75 per 1M

Context

1.05M · max output 66K

Capabilities

ReasoningVisionTool callingLong context

Pricing

Billed per token actually used and deducted from your credits.

ItemUSD per 1M tokens
Input$1.95
Output$9.75
Cached input$0.0975

Calculator

Drag the sliders to estimate what this model will cost.

Per request
$0.0137
Per day
$6.83
Per month (30 days)
$204.75

Gemini 4 Hydrogen: input $1.95/M · output $9.75/M · cached input $0.0975/M

Request with these settings
curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gemini-4-hydrogen", "max_tokens": 800,
       "messages": [{"role": "user", "content": "…"}]}'

Code samples

OpenAI-compatible. Set the base URL to https://api.geniusrelaygpt.com/v1 and the model to gemini-4-hydrogen.

curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-4-hydrogen",
    "stream": true,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Use it in a client: Cursor · Cline · SillyTavern · Codex

Parameters

Common OpenAI parameters can be passed as-is.

temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseed

FAQ

How is Gemini 4 Hydrogen billed?
Input is $1.95 and output is $9.75 per million tokens; cached input is $0.0975. The charge for every request is listed in Usage Logs in the console.
How long is the context window?
1.05M tokens. In a long conversation every turn is billed for the full input, so keep the history under control.
Does it support streaming?
Yes. Add "stream": true to the request to receive server-sent events in the OpenAI format.
Gemini 4 Hydrogen API pricing · GeniusRelay