Gemini 4 Hydrogen API

Active
google/gemini-4-hydrogen
by Google•release date: 11/12/2026

Gemini 4 Hydrogen is Google's fast, disciplined model built for repository coding and agent execution across a unified 1M token multimodal context window.

Free

Gemini 4 Hydrogen API Background

Overview

Gemini 4 Hydrogen, developed by Google, is a fast, execution-focused model in the Gemini 4 family, served through the Gemini 4 Hydrogen API with the code gemini-4-hydrogen. Publicly released on 2026-11-12 and adapted from Gemini4Carbon, it has a March 2026 knowledge cutoff. Its parameter count is not disclosed.

Development History

Introduced in November 2026 as a lighter sibling of Gemini4Carbon, with Google publishing evaluation results that month. It targets fast, disciplined coding and tool use rather than deep long-horizon reasoning. The Gemini 4 Hydrogen API emphasizes low-latency execution, long context, and agent-ready features.

Key Innovations

  • Unified 1,048,576-token context shared across input, thinking, and output
  • Thinking levels from low to xhigh, with minimal rejected and high as default
  • Implicit prompt caching starting at 4,096 tokens, with no explicit caching needed
  • Parallel execution agent support and long output decode near 1M tokens

Gemini 4 Hydrogen API Technical Specifications

Architecture

Adapted from Gemini4Carbon; detailed architecture is not publicly disclosed. The Gemini 4 Hydrogen API provides unified context handling across text, image, audio, video, and PDF inputs, with text-only output.

Parameters

Not disclosed.

Capabilities

  • Multimodal input including text, image, audio, video, and PDF; text-only output
  • Tool calling and structured outputs for reliable automation
  • Repository coding, web development, and multimodal document understanding
  • Default synchronous output of 65,536 tokens; near-1M long decode via background execution or continuation

Limitations

  • Cannot generate image, audio, or video content
  • temperature, top_p, and top_k parameters are ignored and should be removed
  • max_output_tokens includes both thinking and answer, so long reasoning consumes output budget

Gemini 4 Hydrogen API Performance

Strengths

  • Google November 2026 evaluations: AutomationBench-AA 76.1%, AgentsLastExam v1.1 71.6%, HLEDiamond 58.8%
  • TerminalBench 4.1 cheating-adjusted 57.0% and OSWorld 2.1 offline 77.6%
  • Fast, disciplined performance in daily coding, tool calls, and agent loops

Real-world Effectiveness

In the Gemini 4 lineup, Gemini 4 Hydrogen is strongest for well-specified, high-frequency tasks rather than open-ended research. Google reports a cheating-adjusted TerminalBench score, showing honest generalization in terminal environments. Developers gain the most by using the Gemini 4 Hydrogen API for agent workflows, structured data extraction, everyday repository work, and parallelized subtasks, where reliable tool calling and long context improve throughput. It is not universally superior to Carbon or Argon for deep, long-horizon judgment.

Gemini 4 Hydrogen API When to Use

Scenarios

  • You have a high-volume automation pipeline with well-defined steps. The Gemini 4 Hydrogen API is ideal because it supports tool calling and parallel execution agents, so multiple API calls, database updates, and web actions run concurrently with less latency and predictable structured output.
  • You need fast, disciplined assistance inside a code repository. Gemini 4 Hydrogen handles repository coding, web development, and codebase Q&A with a 1M token context, allowing large files and documentation in one request. Structured outputs make generated code and diffs easier to automate in CI/CD pipelines.
  • You process multimodal documents at scale, such as PDFs, images, and videos that require extraction or summaries. The long context and text-only output keep workflows simple, and the 65,536-token default output is sufficient for full reports when configured correctly through the Gemini 4 Hydrogen API.

Best Practices

  • Do not send temperature, top_p, or top_k; they are ignored by the API
  • Use the 65,536 default max_output_tokens instead of low hardcoded limits for long responses
  • Prefer high thinking for complex reasoning and low or medium thinking for latency-sensitive tool loops
  • For near-1M output, plan on background execution or continuation with enough remaining context

Technical Specs

Context Length1,048,576
Release Date11/12/2026
Input Formats
textimageaudiovideopdf
Output Formats
text

Capabilities & Features

Capabilities
tool_callingstructured_outputsmultimodal_document_understandingrepository_codingweb_developmentparallel_execution_agents
Supported File Types
.pdf.png.jpg.jpeg.webp.mp3.wav.mp4
Gemini 4 Hydrogen API - Cheap API - Google - Defapi