Gemini 4 Hydrogen

Gemini 4 Hydrogen,适合日常问答、代码和多模态内容理解。

Model ID: gemini-4-hydrogen · Type: chat · Provider: Google

Endpoints: /v1/chat/completions · /v1beta/models/{model}:generateContent · /v1beta/models/{model}:streamGenerateContent · /v1/models/{model}:generateContent · /v1/models/{model}:streamGenerateContent

Pricing

Input (per 1M tokens)$1.125 USD
Output (per 1M tokens)$5.625 USD
Cache read (per 1M tokens)$0.05625 USD
import os

from openai import OpenAI

client = OpenAI(api_key=os.environ["ROUTER_API_KEY"], base_url="https://api.router.ai/v1")
resp = client.chat.completions.create(
    model="gemini-4-hydrogen",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

FAQ

How much does Gemini 4 Hydrogen cost on 370.AI?

Gemini 4 Hydrogen (`gemini-4-hydrogen`) is billed per usage at $1.125/1M in · $5.625/1M out, in USD. Current pricing is always listed at https://370.ai/models/gemini-4-hydrogen.

How do I call Gemini 4 Hydrogen through 370.AI?

Send a request to https://api.router.ai/v1/chat/completions with the header `Authorization: Bearer <your API key>` and `"model": "gemini-4-hydrogen"`. The API is OpenAI-compatible, so any OpenAI SDK works by changing base_url to https://api.router.ai/v1 — no other code change.

Which endpoints does Gemini 4 Hydrogen support?

Gemini 4 Hydrogen can be called on: /v1/chat/completions; /v1beta/models/{model}:generateContent; /v1beta/models/{model}:streamGenerateContent; /v1/models/{model}:generateContent; /v1/models/{model}:streamGenerateContent.

Who makes Gemini 4 Hydrogen?

Gemini 4 Hydrogen is a chat model from Google, available through the 370.AI gateway with the same API key as every other model.

Call it through the 370.AI OpenAI-compatible endpoint (API base: https://api.router.ai/v1). AI agents can browse the catalog and call any text model through MCP (https://mcp.router.ai/mcp); for image, video and other modalities use the API above.

Which should you pick

API reference · All models