---
title: "Gemini 4 Hydrogen — API access"
description: "Gemini 4 Hydrogen API, Google's fast Gemini 4 model for agentic workflows, with low, medium, high and xhigh reasoning, function calling, structured output and multimodal input. One key and balance with a flat 50% discount."
url: "https://apitoken.sale/models/gemini-4-hydrogen"
language: "en"
---
# Gemini 4 Hydrogen

Google’s fast Gemini 4 model for everyday coding and agentic workflows, with four reasoning levels, incremental streaming and a shared 1M-token context.

- **Model ID:** `gemini-4-hydrogen`
- **Tier:** Hydrogen
- **Context window:** 1M tokens shared by input, thinking and output
- **Max output:** 64K streaming · 32K non-streaming
- **Official price (per 1M):** $1.5 input / $7.5 output
- **Your price (per 1M):** input $0.75, output $3.75 (flat 50% off)
- **Base URL:** `https://router.apitoken.sale` · **Endpoint:** `POST /v1beta/models/gemini-4-hydrogen:generateContent` (x-goog-api-key)

## Best for

- High-volume coding, agents and chat where speed and price matter most.
- Function-calling agents and JSON schema output.
- Documents, images, audio and video in one shared context.

## Notes

- Use gemini-4-hydrogen. Reasoning levels are low, medium, high and xhigh; high is the default. minimal and thinkingBudget are unsupported. Sampling controls are ignored.
- Text, inline image, WAV audio, MP4 video and PDF input; text output. Native Gemini, Chat Completions, Responses and Messages share one key and balance.
- Input, thinking and output share 1,048,576 tokens. This route supports up to 65,536 streaming or 32,768 non-streaming output tokens; long-decode continuation is unavailable.
- Implicit caching bills cached input at 5% of the input rate. Explicit caches, Batch and server-side tools are unavailable on this model. The final user turn must contain text or only tool results.
- Official rates are flat across the 1M context: $1.50 input, $0.075 cached input and $7.50 output per 1M tokens, thinking included. The account discount applies after the tariff.

## Call it

```bash
curl https://router.apitoken.sale/v1beta/models/gemini-4-hydrogen:generateContent \
  -H "x-goog-api-key: $APITOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contents": [{"parts": [{"text": "Reply with exactly: connected"}]}]}'
```

## FAQ

**Which model ID do I use?**

Use gemini-4-hydrogen on router.apitoken.sale. Select low, medium, high or xhigh with thinkingLevel in Gemini requests or reasoning_effort in Chat Completions.

**How is Hydrogen different from Carbon?**

Hydrogen is the fast Gemini 4 model for everyday coding and agents, with an extra xhigh reasoning level and high as its default. Carbon is Google’s strongest Gemini 4 model for the hardest tasks. Both share the same context and output limits.

**What was verified?**

Incremental streaming, all four reasoning levels, JSON schema, function calls and tool results, implicit caching, image/audio/video/PDF input and long-context input. Batch, server-side tools and long-decode continuation are unavailable.

---
API reference: https://apitoken.sale/md/docs · All models: https://apitoken.sale/md/models
