Gemini 4 Hydrogen
Gemini 4 Hydrogen by Google, through an OpenAI-compatible chat completions API.
gemini-4-hydrogenAPI-Schlüssel holenPreise USD pro Million Token
| Token | Pro 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 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."}]}'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
gemini-4-hydrogenPOST /v1/chat/completions1 Route
Heute eine Route. Eine Anfrage ohne Antwort wird nicht berechnet.
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?
Eine Anfrage ohne Antwort kostet nichts.
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
- Gemini 3 Flash Preview $0.72 in / $4.32 out per 1M tokens
- Gemini 3 Flash Preview (no thinking) $0.72 in / $4.32 out per 1M tokens
- Gemini 3 Flash Preview (thinking) $0.72 in / $4.32 out per 1M tokens
- Gemini 3 Pro Preview $2.88 in / $17.28 out per 1M tokens
- Gemini 3 Pro Preview (thinking) $2.88 in / $17.28 out per 1M tokens
- Gemini 3.1 Flash Lite Preview $0.36 in / $2.16 out per 1M tokens
- Gemini 3.1 Pro Preview $2.88 in / $17.28 out per 1M tokens
- Gemini 3.1 Pro Preview (thinking) $2.88 in / $17.28 out per 1M tokens
Auch als Markdown für Agenten. Jedes Sprachmodell und jeder Preis: llms.json.