Sprachmodelle/Google/Gemini 4 Hydrogen
Googletext2 Routen

Gemini 4 Hydrogen API

Google's fast, efficient Gemini 4 model for everyday coding and agentic workflows.

gemini-4-hydrogenAPI-Schlüssel holen

Preise USD pro Million Token

TokenPro 1 Mio. Token
Eingabe$2.16
Zwischengespeicherte Eingabe$0.108
Cache-Schreibvorgang (5 Min.)$2.16
Cache-Schreibvorgang (1 Stunde)$2.16
Ausgabe$10.80

Reasoning-Token werden als Ausgabe abgerechnet. Die usage jeder Antwort enthält cost_usd, den von Ihrem Guthaben abgezogenen Betrag; eine Anfrage ohne Antwort kostet $0.00.

Anfrage

curl
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-4-hydrogen","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
    model="gemini-4-hydrogen",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)

Jedes OpenAI-SDK funktioniert: Setzen Sie die Basis-URL auf https://api.revana.si/v1. Streaming, Tools und alles Weitere stehen in der Dokumentation zu Chat Completions.

Details

Modell-ID
gemini-4-hydrogen
Hersteller
Google
Endpunkt
POST /v1/chat/completions
Kontextfenster
1 Mio. Token
Max. Ausgabe
64K Token
Streaming
Ja (Server-Sent Events)
Routen
2 (Fallback automatisch)

2 Routen

Jede Anfrage beginnt auf der günstigsten Route. Eine ausgelastete oder fehlgeschlagene Route übergibt sie an die nächste, bevor eine Antwort gesendet wird.

About the Gemini 4 Hydrogen API

How much does the Gemini 4 Hydrogen API cost?

Gemini 4 Hydrogen costs $2.16 per million input tokens, $0.108 per million cached input tokens and $10.80 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.

How do I call Gemini 4 Hydrogen from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "gemini-4-hydrogen". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

Was passiert, wenn eine Anfrage fehlschlägt?

Revana has 2 routes for Gemini 4 Hydrogen and moves a request to the next one when a route is busy or down. A request that gets no answer costs nothing.

Is Gemini 4 Hydrogen on Revana the same model?

Ja. Revana gibt Ihre Anfrage unverändert an das Modell von Google weiter und liefert dessen Antwort im OpenAI-Format zurück, mit der gemeldeten Nutzung und den Kosten der Anfrage.

Mehr von Google

Every Gemini model and its price

Auch als Markdown für Agenten. Jedes Sprachmodell und jeder Preis: llms.json.