Gemini models and API prices
This page lists all Google models you can call with one relay.fast key. The tables are built from the live catalog, so the prices and the model list are current.
Gemini API prices
Prices checked from the live catalog. "From" is the lowest price among the relay.fast sources that currently serve the model. The price you pay depends on the source your request uses and can change on any day. The pricing page always shows current values.
| Model | Model ID | Official input / output per 1M tokens | relay.fast from, input / output | Cache read from | Context |
|---|---|---|---|---|---|
| Gemini 3.8 Flash | gemini-3.8-flash | $1.5 / $7.5 | $0.06 / $0.3 (−96%) | $0.006 | 1.05M |
| Gemini 4 Argon | gemini-4-argon | $4 / $20 | $0.32 / $1.6 (−92%) | $0.016 | 1.05M |
| Gemini 4 Carbon | gemini-4-carbon | $4 / $20 | $0.32 / $1.6 (−92%) | $0.016 | 1.05M |
| Gemini 4 Hydrogen | gemini-4-hydrogen | $1.5 / $7.5 | $0.12 / $0.6 (−92%) | $0.006 | 1.05M |
| Gemini 4 Neon | gemini-4-neon | $3 / $15 | $0.24 / $1.2 (−92%) | $0.012 | 1.05M |
Specifications
Release month, limits and features are as published by Google.
| Model | Released | Context | Max output | Input | Features |
|---|---|---|---|---|---|
| Gemini 3.8 Flash | September 2026 | 1.05M | 66K | text, images, audio, video, files | tool calling, reasoning, structured output, image input, prompt caching |
| Gemini 4 Argon | October 2026 | 1.05M | — | text, images, audio, video, files | tool calling, reasoning, structured output, image input, prompt caching |
| Gemini 4 Carbon | November 2026 | 1.05M | — | text, images, audio, video, files | tool calling, reasoning, structured output, image input, prompt caching |
| Gemini 4 Hydrogen | November 2026 | 1.05M | — | text, images, audio, video, files | tool calling, reasoning, structured output, image input, prompt caching |
| Gemini 4 Neon | November 2026 | 1.05M | — | text, images, audio, video, files | tool calling, reasoning, structured output, image input, prompt caching |
Image, video and speech models
| Model | Model ID | List price | Price from |
|---|---|---|---|
| Gemini Nano Banana 2.1 | gemini-nano-banana-2.1 | $0.6 per image | $0.0375 per image (−93%) |
| Gemini Omni Edit | gemini-omni-edit | $0.32 per video | $0.32 per video |
| Gemini Omni Fast | gemini-omni-fast | $0.255 per video | $0.255 per video |
| Veo 3.1 Lite | veo-3.1-lite | $0.12 per second of video | $0.12 per second of video |
Example request
Keep the key in the RELAY_FAST_API_KEY environment variable. Any model ID from the table works in the same request.
curl https://relay.fast/v1/chat/completions \
-H "Authorization: Bearer $RELAY_FAST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-3.8-flash","messages":[{"role":"user","content":"Hello"}]}'How to connect
Create a relay.fast account, add funds and generate an API key. OpenAI-compatible clients use the base URL https://relay.fast/v1. Anthropic-compatible clients use https://relay.fast with the Messages API. Requests are charged to your balance for the tokens or units they use.
There are setup guides for the coding tools Claude Code, Codex, Cursor, Cline and OpenCode. Each model name in the tables links to its own page with prices, limits and an example request.
How pricing works
The official price is the list price published by Google. The relay.fast price depends on the source a request uses, and the tables show the lowest current price. Prices and the model list can change at any time, so check the pricing page before you plan a budget.
Frequently asked questions
Do I need an account with Google to use Gemini models here?
No. You use a relay.fast account and API key. relay.fast is an independent API gateway and is not affiliated with Google.
Can I keep my existing SDK or coding tool?
Yes, if it lets you set a custom base URL and key. Point it at relay.fast and pick a model ID from the tables.
Where is the full list of models and prices?
The pricing page at https://relay.fast/pricing lists every model. The same data is available as JSON at https://relay.fast/pricing.json.