Skip to main content
Gemini 4 Hydrogen is Google’s speed- and efficiency-focused Gemini 4 model for everyday coding, interactive agents and multimodal work. It accepts text, images, video, audio and PDFs, and produces text.

Model specifications

The provider’s 1,048,576-token window is shared by input, thinking and output. A standard request has a 65,536-token combined thinking/output cap. Longer generation uses a separate continuation workflow; these examples do not establish MixRoute support for long decode or Interactions.

Request examples

Set MIXROUTE_API_KEY to your MixRoute API key.

Gemini native API

OpenAI-compatible Chat Completions

Request parameters

Integration notes

  • The examples use text input. Multimodal formats, function calling and structured output follow their respective Gemini contracts; route limits still apply.
  • Omit temperature, topP, topK and candidateCount: Google ignores custom sampling values for this model. Explicit context caching through cachedContent is not supported.
  • The presence of built-in Google tools in the provider model specification does not establish that every hosted tool, Files API operation or continuation flow is available through MixRoute.
Availability and pricing depend on your MixRoute route. See the Model Marketplace.