Gemini 4 Hydrogen

Google
gemini-4-hydrogen

Gemini 4 Hydrogen by Google: 1M context, 66K max output, with Vision, File input, Function calling, Structured output, Streaming, Reasoning. On Hostlinku: Performance starts at $0.72/1M input.

Input

0.72

per 1M tokens

$1.50original

Output

3.6

per 1M tokens

$7.50original

Cache read

per 1M token

$0.036

$0.075

Cache write (5m)

per 1M token

$0.9

Cache write (1h)

per 1M token

$1.44

Get started
Context window
1.0M
1,048,576 tokens
Max output
65.5K
65,536 tokens
30-day uptime
94.87%
78 requests · 4 failed
Measured throughput
172.7 tok/s
Streaming over the last 30 days
Average end-to-end latency
14.17s
P95 end-to-end latency
48.32s

Capabilities

What this model can do through the Hostlinku gateway.

6 of 15 supported
  • Vision

    Reads images, screenshots, and diagrams alongside text. Send image inputs directly in the messages payload.

  • Function calling

    The model calls tools you define and folds their results into the reply. Required for agentic workflows and multi-step automation.

  • Reasoning

    Spends extra thinking tokens on hard problems before answering. Best for math, code, and multi-step logic.

  • Response schema

    Guarantees JSON output that matches a schema you provide. No brittle post-parsing on your side.

  • Streaming

    Streams tokens as they are generated for real-time UX. Supported on every Hostlinku protocol.

  • File input

    Accepts documents such as PDFs and spreadsheets as context. Great for Q&A over long attachments.

Unsupported features (9)
  • Prompt caching
  • Web search
  • Audio
  • Video
  • Realtime
  • Session
  • Media
  • Multipart form
  • Binary response

Protocols & code samples

Swap the base URL and everything else stays the same. Native protocols pass through; adapted protocols are translated by the Hostlinku gateway.

Claude Code setup guide
Native
terminal
curl "https://api.hostlinku.com/v1beta/models/gemini-4-hydrogen:generateContent" \  -H "x-goog-api-key: $HOSTLINKU_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "contents": [      { "role": "user", "parts": [{ "text": "Explain how an API gateway routes a request." }] }    ]  }'

Full price list

Every billed dimension, with the vendor list price (struck through when higher) next to the $ price per Service Mode.

ItemOriginal ($)Performance$
Input (prompt)per 1M tokens$1.50$0.72
Output (completion)per 1M tokens$7.50$3.6
Cache readper 1M tokens$0.075$0.036

Vendor list price is struck through when at least one Service Mode is cheaper. Dimensions without strikethrough (e.g. web search) are not discounted upstream. This model is not yet available in Economy.

More from Google

Other models from the same vendor, with prices and context for comparison.

All models

$0.96 per 1M input tokens · 1.0M context · 66K max output

$0.96 per 1M input tokens · 1.0M context · 66K max output

In every mode

Dedicated, Performance, and Economy share one USD balance and the same API contract.

Full model quality

Full precision with the complete context window across every Service Mode.

Drop-in endpoints

Compatible with OpenAI Chat, Anthropic Messages, and Responses. Streaming and tool calling are supported.

Predictable USD spend

One non-expiring USD balance, hard spend caps per API key, and automatic refunds on failed requests.

FAQ

Common questions about Gemini 4 Hydrogen: pricing, capabilities, and how they are measured.

Google

Start using Gemini 4 Hydrogen today

Integrate Gemini 4 Hydrogen into your app with clear documentation, official SDKs, and transparent per-token USD pricing.