All models

Gemini 4 Hydrogen

New Launched on IteraCompute

Online

Google

gemini/gemini-4-hydrogen
Tool calling
SupportedTool calling · Supported
Reasoning
SupportedReasoning · Supported
Vision
SupportedVision · Supported
Streaming
SupportedStreaming · Supported
JSON mode
SupportedJSON mode · Supported

USD / 1M tokens

Input
$1.50
Cache read
$0.075
Cache write
—
Output
$7.50
Context
1M
Max output
64K
Precision
Official precision
Price checked

Overview

Google Cloud lists Gemini 4 Hydrogen for fast coding assistance, multimodal input and high-volume text generation.

Version
gemini-4-hydrogen
Input / output
text, image / text
Endpoint
/v1/chat/completions, /v1/responses, /v1/messages

API protocols and integration

Base URL · OpenAI SDK
https://api.iteracompute.com/v1
Authentication
Authorization: Bearer ITERACOMPUTE_API_KEY

Choose request fields, response parsing and stream completion by endpoint. This table describes wire formats; see this model's capabilities and verification scope.

Customer endpointModel statusInput / output budgetResultSSE completion
OpenAI Chat Completions
POST /v1/chat/completions
Declared for this modelmessages
max_completion_tokens
choices[0].message.content[DONE]
OpenAI Responses
POST /v1/responses
Declared for this modelinput
max_output_tokens
output[] (SDK: output_text)response.completed
Anthropic Messages
POST /v1/messages
Declared for this modelmessages; system (top-level)
max_tokens (required)
content[]message_stop

For the Messages SDK use https://api.iteracompute.com as base URL; max_tokens is required. Do not reuse another protocol's fields.

View docs
LLMs.txt · Copy for an AI coding assistant

Includes this model's ID, wire formats and parameter constraints. Check this page's verification scope and current prices before use.

LLMs.txt
# IteraCompute · gemini/gemini-4-hydrogen

Model ID: gemini/gemini-4-hydrogen
Base URL (OpenAI SDK): https://api.iteracompute.com/v1
Authentication: Authorization: Bearer ITERACOMPUTE_API_KEY
Content-Type: application/json

Use only the customer endpoints below. Request and response formats differ by protocol. An endpoint declaration does not certify every capability.

## Chat Completions
POST https://api.iteracompute.com/v1/chat/completions
Input: messages
Output budget: max_completion_tokens
Read result: choices[0].message.content
SSE completion: [DONE]
Docs: https://iteracompute.com/docs.html#api-reference

## Responses
POST https://api.iteracompute.com/v1/responses
Input: input
Output budget: max_output_tokens
Read result: output[] (SDK: output_text)
SSE completion: response.completed
Docs: https://iteracompute.com/docs.html#responses-api

## Messages
POST https://api.iteracompute.com/v1/messages
Input: messages; system (top-level)
Output budget: max_tokens (required)
Read result: content[]
SSE completion: message_stop
Docs: https://iteracompute.com/docs.html#anthropic-messages

## Parameters
Configuration and parameter acceptance do not establish semantic capability. Do not invent undisclosed defaults.
Parameter revision: 3ab5aa490926753c947ef80491c78d442b18b42a37d474ea5536b34462368040
Context tokens: 1048576
Maximum output tokens: 65536
Capability tools: configured enabled (see verification scope)
Capability vision: configured enabled (see verification scope)
Capability json_mode: configured enabled (see verification scope)
Capability reasoning: configured enabled (see verification scope)
Capability streaming: configured enabled (see verification scope)
- tools: array; accepted; min=unknown; max=unknown; default=Undisclosed. Tool definitions; the application executes tool calls and returns results.
- stream: boolean; accepted; min=unknown; max=unknown; default=Undisclosed. Enable SSE streaming; completion markers depend on the protocol.
- max_tokens: integer; accepted; min=16; max=65536; default=Undisclosed. Required budget for Messages. In Chat Completions this is a legacy alias with the same range as max_completion_tokens. If both fields are sent, their values must match.
- response_format: object; accepted; min=unknown; max=unknown; default=Undisclosed. Text: Chat output format. Images: b64_json only; not text JSON mode.
- max_output_tokens: integer; accepted; min=16; max=65536; default=Undisclosed. Responses output budget. Chat acceptance must be checked separately.
- max_completion_tokens: integer; accepted; min=64; max=65536; default=Undisclosed. Preferred Chat Completions field. The budget includes reasoning and visible output. A low budget may leave no visible text.

## Chat Completions example · JSON body
```json
{
  "model": "gemini/gemini-4-hydrogen",
  "messages": [
    {
      "role": "user",
      "content": "Reply OK"
    }
  ],
  "max_completion_tokens": 256
}
```

## Responses example · JSON body
```json
{
  "model": "gemini/gemini-4-hydrogen",
  "input": "Reply OK",
  "max_output_tokens": 256
}
```

## Messages example · JSON body
```json
{
  "model": "gemini/gemini-4-hydrogen",
  "max_tokens": 256,
  "messages": [
    {
      "role": "user",
      "content": "Reply OK"
    }
  ]
}
```

## References
Model catalog: https://iteracompute.com/models/
Current prices and billing: https://iteracompute.com/pricing/
Documentation index: https://iteracompute.com/llms.txt
Unknown prices are not zero. Account and subscription limits also apply.
Never include a real API key in an LLM prompt or client-side code.

Open plain text

API parameters

  • For Chat Completions use max_completion_tokens with a minimum of 64. The legacy max_tokens spelling uses the same budget and range. Send one field, or use equal values if sending both. Responses uses max_output_tokens and Messages uses max_tokens. Both accepted 16 in testing. At very low budgets reasoning can consume the allowance before any visible text.
  • Chat Completions passed the tool-call and tool-result round trip.

These parameters and ranges describe the current route. Account and context limits also apply. Parameter acceptance does not establish model capability.

Tool calling
Supported
Reasoning
Supported
Vision
Supported
Streaming
Supported
JSON mode
Supported

Parameters and values

Click a parameter to copy its name; scroll the table horizontally to see all columns. Usage notes identify protocol differences; identical names do not guarantee cross-endpoint support.

ParameterTypeAcceptanceRangeUsage / protocol
arrayAccepted—Tool definitions; the application executes tool calls and returns results.
booleanAccepted—Enable SSE streaming; completion markers depend on the protocol.
integerAcceptedMessages [16, 65536] · Chat [64, 65536]Required budget for Messages. In Chat Completions this is a legacy alias with the same range as max_completion_tokens. If both fields are sent, their values must match.
objectAccepted—Text: Chat output format. Images: b64_json only; not text JSON mode.
integerAccepted[16, 65536]Responses output budget. Chat acceptance must be checked separately.
integerAccepted[64, 65536]Preferred Chat Completions field. The budget includes reasoning and visible output. A low budget may leave no visible text.

Current configuration example

POST /v1/chat/completions

Chat Completions request
{
  "model": "gemini/gemini-4-hydrogen",
  "messages": [
    {
      "role": "user",
      "content": "Reply OK"
    }
  ],
  "max_completion_tokens": 256
}

Parameter revision:3ab5aa490926

API

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.iteracompute.com/v1",
    api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.chat.completions.create(
    model="gemini/gemini-4-hydrogen",
    messages=[
      {
        "role": "user",
        "content": "Reply OK"
      }
    ],
    max_completion_tokens=256,
)
print(response.choices[0].message.content)

Pricing

USD per million tokens. — means unknown. Account and subscription limits still apply.

Input$1.50
Cache read$0.075
Cache write—
Output$7.50
Version / Model ID
gemini/gemini-4-hydrogengemini-4-hydrogen
Context
1M
Precision
Official precision
Price checked
Verification scope and sources
View verification scope and sources

2026-11-20 · Short requests verified text, usage and stream completion on Chat Completions, Responses and Messages. Red and blue image probes, short reasoning and JSON probes also returned observable results. Maximum token lengths are vendor specifications.

Complete token prices

USD per million tokens. Unknown prices are shown as —. Token ranges include cache reads and writes; ranges use (start, end].

Billing itemOur priceOfficial reference
Input$1.5$1.5
Cache read$0.075$0.075
Output$7.5$7.5
Revision: 35d1af7cab38

Vendor-documented context window · 1,048,576 tokens · Maximum output · 65,536 tokens ·

Cost calculator

USD · Estimate
Calculation mode
Advanced token usage

Input includes cache reads and writes; these portions must not overlap. Output already includes reasoning; enter reasoning as a subset, never add it twice. Count agent steps and retries as requests.

Estimated monthly cost

—USD

Gemini 4 Hydrogen

Cache hits and capacity are not guaranteed.

Cost breakdown
Uncached input
—
Cache read
—
Cache writes (5m + 1h)
—
Output (including reasoning)
—

Usage limits

  • Google Cloud specifies a shared 1,048,576-token context. This route is configured for up to 65,536 output tokens. Long decode and continuation are outside this route's tested scope.
  • For Chat Completions use max_completion_tokens with a minimum of 64. The legacy max_tokens spelling uses the same budget and range. Send one field, or use equal values if sending both. Responses uses max_output_tokens and Messages uses max_tokens. Both accepted 16 in testing. At very low budgets reasoning can consume the allowance before any visible text.
  • Google Cloud lists a future effective cache-write price. Current retail cache-write pricing is unconfirmed.

Use cases

Routine coding

Multimodal analysis

High-volume text tasks

Integration tools and guides

FAQ

How do I call Gemini 4 Hydrogen?

Use Model ID gemini/gemini-4-hydrogen and the native fields in this page's API examples. Declared endpoints: /v1/chat/completions, /v1/responses, /v1/messages.

How is usage priced?

Use the current prices and billing units. Missing prices remain unknown, not free. The calculator uses native Gateway quotes; an estimate is not a bill.

Which parameters and limits apply?

Check the current parameter table and usage limits. Budget fields differ by protocol. Configured limits do not establish full-window quality or guarantee a maximum-length output.

New arrivals

Explore the models selected for New Arrivals, with API pricing, supported capabilities and integration guides.

View new arrivals
OpenAINew

GPT-6.2 Astra

openai/gpt-6.2-astra

OpenAI lists GPT-6.2 Astra for complex engineering and long-horizon reasoning.

Launched on IteraCompute

Input
$8.00
Output
$40.00

USD / 1M tokens

OpenAINew

GPT-6.2 Sol

openai/gpt-6.2-sol

OpenAI lists GPT-6.2 Sol for everyday coding and agent workflows.

Launched on IteraCompute

Input
$2.00
Output
$10.00

USD / 1M tokens

QwenNew

Qwen4-Max

qwen/qwen4-max

Qwen4-Max through Alibaba Cloud Model Studio, with text, reasoning, tools and image input.

Launched on IteraCompute

Input
$1.50
Output
$4.50

USD / 1M tokens