CodeOperational
Gemini 4 Hydrogen
Speed-focused Gemini 4 model for coding and agents, one price across the full 1M context.
- Context window
- 1M tokens
- Max output
- 65,536 tokens
- Input / 1M
- $1.50
- Output / 1M
- $7.50
- Median TTFT
- 420ms
API example
Call Gemini 4 Hydrogen with the unified API.
index.ts
1import Pivotra from "@pivotra/sdk";2 3const client = new Pivotra({ apiKey: process.env.API_KEY });4 5const response = await client.chat.completions.create({6 model: "gemini-4-hydrogen",7 messages: [8 { role: "user", content: "Summarize this support ticket in one sentence." },9 ],10});11 12console.log(response.choices[0].message.content);13console.log(response.routing.model, response.usage.cost);Performance
Hourly latency profile, last 24h.
Demo data
Throughput
170 tok/sEval index
88 / 100Availability
operationalCapabilities
- Streaming
- Tool calling
- Vision input
- Structured output
- Extended reasoning
- Long context
- Embeddings
Not sure Gemini 4 Hydrogen is the right fit?
Set model to “auto” and let the routing engine choose per request.