Gemini 4 Hydrogen API

Fast Gemini 4 model for agents and everyday coding

google/gemini-4-hydrogen
GoogleConversation

About this model

Gemini 4 Hydrogen is the fast, cost-conscious model in Google’s Gemini 4 family. Google introduced it for agentic workflows and everyday coding, and describes it as the upgrade path from Gemini 3.8 Flash.

Google suggests pairing it with Carbon: Carbon for planning turns, Hydrogen for execution turns. Choose Hydrogen as the default workhorse and move up to Carbon or Argon when a task needs more depth.

In this catalog it accepts text and images and has a context window of about 1,000,000 tokens.

Use cases

  • Agentic workflows and tool-driven tasks
  • Everyday coding assistance
  • High-volume text and image processing

Input and output

Input
Text and images
Output
Text
Developer
Google
Type
Conversation
Context
1,000,000 tokens
Capabilities
Image input

Gemini 4 Hydrogen request example

Use https://gatelum.com/v1 as the base URL and pass google/gemini-4-hydrogen in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "google/gemini-4-hydrogen",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=google/gemini-4-hydrogen
claude

Where to use Gemini 4 Hydrogen

Guides with step-by-step instructions for the tools that support this model: