Models / Gemini

Gemini 3 API: the ids to call and what they cost

The Gemini 3 API on one prepaid key: 6 Gemini 3 ids, which one to call for Pro, Flash and Flash Lite, and what each costs per million tokens, read live next to Google's list. Paid by card or in USDT, USDC, BTC, ETH, SOL, no Google account.

6Gemini 3 ids
4Priced under Google's list
$7.20Gemini 3.1 Pro Preview output / M$12.00 on Google's list
$2.25Gemini 3 Flash Preview output / M$3.00 on Google's list
Gemini 3 API pricing

Gemini 3 Pro, Flash and Flash Lite, per million tokens

USD per million tokens, read from the catalog at render. Google's list beside ours where the catalog has it; the source is the Gemini API pricing page.

ModelContextInputOutputList inputList outputUnder list
Gemini 3.1 Pro Previewgemini-3.1-pro-preview1M$1.20$7.20$2.00$12.0040%
Gemini 3 Flash Previewgemini-3-flash-preview1M$0.375$2.25$0.50$3.0025%
Gemini 3.1 Flash Litegemini-3.1-flash-lite—$0.15$0.90$0.25$1.5040%
Gemini 3.1 Flash Lite Previewgemini-3.1-flash-lite-preview1M$0.1875$1.125$0.25$1.5025%
Gemini 3.1 Flash Imagegemini-3.1-flash-image—$13.192$1,583.04———
Gemini 3.1 PRO Preview Customtoolsgemini-3.1-pro-preview-customtools1M$4.80$28.80———

Cached input is cheaper on every row that supports it; the model page has the rate. The later Gemini generations and the 2.5 line are on the Gemini pricing hub, 20 Gemini ids in all.

Which id

Pick by what the request does

Gemini 3.1 Pro Preview

gemini-3.1-pro-preview

Long reasoning, large codebases, documents and video in the prompt. The dearest of the three per token and the one to pick when the answer has to be right the first time.

Gemini 3 Flash Preview

gemini-3-flash-preview

The default for chat, extraction and agent steps: most of the quality of Pro at a fraction of the output rate, with the same context window.

Gemini 3.1 Flash Lite

gemini-3.1-flash-lite

Classification, routing, short summaries and anything that runs millions of times. Pick it when per-token price is the whole decision.

A chat turn of 2,000 tokens in and 500 out costs $0.0060 on Gemini 3.1 Pro Preview, $0.0019 on Gemini 3 Flash Preview and $0.0008 on Gemini 3.1 Flash Lite at today's prices. The compare page puts any two side by side.

First request

One request in the OpenAI format

The Gemini 3 ids answer the OpenAI chat completions format at https://api.relayswitch.io/v1/chat/completions. Google documents the same OpenAI-compatible shape for its own endpoint, so code written that way moves here by changing the base URL and the key.

Python, OpenAI SDK

python
1from openai import OpenAI
2
3client = OpenAI(base_url="https://api.relayswitch.io/v1", api_key="sk-relay-...")
4reply = client.chat.completions.create(
5 model="gemini-3.1-pro-preview",
6 messages=[
7 {"role": "system", "content": "Answer in one sentence."},
8 {"role": "user", "content": "What does the Gemini 3 API cost here?"},
9 ],
10)
11print(reply.choices[0].message.content)

Node, OpenAI SDK

typescript
1import OpenAI from "openai";
2
3const client = new OpenAI({ baseURL: "https://api.relayswitch.io/v1", apiKey: process.env.RELAYSWITCH_KEY });
4const reply = await client.chat.completions.create({
5 model: "gemini-3.1-flash-lite",
6 messages: [{ role: "user", content: "Three bullet points on Gemini 3." }],
7});
8console.log(reply.choices[0].message.content);

curl, streamed

bash
1curl https://api.relayswitch.io/v1/chat/completions \
2 -H "Authorization: Bearer $RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"model": "gemini-3-flash-preview", "messages": [{"role": "user", "content": "Hello"}], "stream": true}'

Code on the google-genai SDK: swap it for the OpenAI SDK with the base URL above. Tool calls, JSON mode, images in the prompt and the response headers that carry the request id and the charge are in the docs; Cursor, Cline and the other editors are in the guides.

The account

No Google account, no Google Cloud project

Sign-up

An email address. No Google account, no AI Studio key, no billing project, no identity documents, no phone number.

Payment

A top-up from $10 by Card, Apple Pay, PayPal, or USDT, USDC, BTC, ETH, SOL to the address the checkout shows. The balance credits in USD; nothing recurs.

The key

One key, every Gemini 3 id and every other model in the catalog, from the same balance. A monthly spend limit per key if you want one. Each request shows its charge.

FAQs

Gemini 3 API: questions

Free tiers, access, ids and policies.

Open the console

A key in under a minute

Get a key

Or email hello@relayswitch.io

Gemini 3 on one key

Pro, Flash and Flash Lite at live prices under Google's list, from a $10 top-up by card or crypto. No Google account, no subscription.