Gemini 4 Neon
gemini-4-neon
- Context
- 1M
- Input / 1M
- $3.00$0.90
- Output / 1M
- $15.00$4.50
Google · Text
Gemini 4 Hydrogen is a Google Gemini model. Call it with native Gemini generateContent requests under /v1beta, or through the OpenAI-compatible Chat Completions endpoint, with one APIRail key and 30% of the list price per token.
| Billed item | APIRail | List price |
|---|---|---|
| Input tokens per 1M tokens | $0.45 | $1.50 |
| Cached input tokens per 1M tokens | $0.0225 | $0.075 |
| Cache write tokens per 1M tokens | $0.45 | $1.50 |
| Output tokens per 1M tokens | $2.25 | $7.50 |
Replace ar-live-YOUR_KEY with a key from Dashboard → API keys.
curl "https://api.apirail.dev/v1beta/models/gemini-4-hydrogen:generateContent" \
-H "x-goog-api-key: ar-live-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"contents": [{"parts": [{"text": "Say hello in one sentence."}]}]}'gemini-4-neon
gemini-4-argon
gemini-4-carbon
gemini-3.8-flash
gemini-3.5-flash-lite
Sign in to APIRail with Google, create a key under Dashboard → API keys and top up at least $20. The same ar-live key works for Gemini 4 Hydrogen and every other model in the catalog.
$0.45 per 1M input tokens and $2.25 per 1M output tokens, 30% of the list price of $1.50 and $7.50. Cached input costs $0.0225 per 1M tokens.
POST /v1beta/models/gemini-4-hydrogen:generateContent, POST /v1/chat/completions. Send the model ID gemini-4-hydrogen in the request.
Yes. Pass your APIRail key as the API key and set the base URL to https://api.apirail.dev; generateContent calls work unchanged. The key can also be sent as x-goog-api-key or ?key=.