Google: Gemini 4 Hydrogen

Chat
google/gemini-4-hydrogen

Gemini 4 Hydrogen is Google’s fast reasoning model for coding, agent workflows and multimodal analysis. It supports tool calling and structured output, with a shared 1,048,576-token input, reasoning and output window and up to 65,536 output tokens per foreground segment. Thinking levels are low, medium, high (default) and xhigh. It supports implicit context caching. This short-term GA release is subject to a minimum 45-day retirement notice.

Context Window
1M
Max Output Tokens
66K
Released
2026-11-12
Capabilities
VisionFunction CallingReasoningPrompt CachingWeb SearchAudio InputVideo InputPDF Input
Available Providers
Vertex
Supported Protocols
openaigemini

Providers

Vertexprovider.type: "google_vertex"
Input Tokens
$1.5/M
Output Tokens
$7.5/M
Cache Read
$0.075/M
Audio Input
$1.5/M
Cached Image
$0.075/M
Cached Audio
$0.075/M
Cached Video
$0.075/M
Web Search
$0.014/R
Protocols
openai/v1/chat/completions
gemini

Documentation

How to call Gemini 4 Hydrogen on OfoxAI: model IDs, request parameters and the errors you are most likely to hit.

Code Examples

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "base_url": "https://api.ofox.io/gemini"},
)
response = client.models.generate_content(
model="google/gemini-4-hydrogen",
contents="Hello!",
)
print(response.text)

Frequently Asked Questions

Google: Gemini 4 Hydrogen on Ofox.ai costs $1.5 per million input tokens and $7.5 per million output tokens. Pay-as-you-go, no monthly fees.