---
title: "Gemini 3 API: model ids, live prices, one key"
canonical: https://relayswitch.io/gemini-3-api
generated: 2026-10-27T10:24:16.501Z
source: https://api.relayswitch.io/v1/catalog
base_url: https://api.relayswitch.io/v1
---

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.

[Get a key](https://app.relayswitch.io/console/login)[Every Gemini price](https://relayswitch.io/pricing/gemini)

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](https://ai.google.dev/gemini-api/docs/pricing).

| Model | Context | Input | Output | List input | List output | Under list |
| --- | --- | --- | --- | --- | --- | --- |
| [Gemini 3.1 Pro Preview](https://relayswitch.io/models/gemini-3.1-pro-preview)gemini-3.1-pro-preview | 1M | $1.20 | $7.20 | $2.00 | $12.00 | 40% |
| [Gemini 3 Flash Preview](https://relayswitch.io/models/gemini-3-flash-preview)gemini-3-flash-preview | 1M | $0.375 | $2.25 | $0.50 | $3.00 | 25% |
| [Gemini 3.1 Flash Lite](https://relayswitch.io/models/gemini-3.1-flash-lite)gemini-3.1-flash-lite | — | $0.15 | $0.90 | $0.25 | $1.50 | 40% |
| [Gemini 3.1 Flash Lite Preview](https://relayswitch.io/models/gemini-3.1-flash-lite-preview)gemini-3.1-flash-lite-preview | 1M | $0.1875 | $1.125 | $0.25 | $1.50 | 25% |
| [Gemini 3.1 Flash Image](https://relayswitch.io/models/gemini-3.1-flash-image)gemini-3.1-flash-image | — | $13.192 | $1,583.04 | — | — | — |
| [Gemini 3.1 PRO Preview Customtools](https://relayswitch.io/models/gemini-3.1-pro-preview-customtools)gemini-3.1-pro-preview-customtools | 1M | $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](https://relayswitch.io/compare) 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](https://ai.google.dev/gemini-api/docs/openai) for its own endpoint, so code written that way moves here by changing the base URL and the key.

### Python, OpenAI SDK

python

1`from openai import OpenAI`

2

3`client = OpenAI(base_url="https://api.relayswitch.io/v1", api_key="sk-relay-...")`

4`reply = 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`)`

11`print(reply.choices[0].message.content)`

### Node, OpenAI SDK

typescript

1`import OpenAI from "openai";`

2

3`const client = new OpenAI({ baseURL: "https://api.relayswitch.io/v1", apiKey: process.env.RELAYSWITCH_KEY });`

4`const 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`});`

8`console.log(reply.choices[0].message.content);`

### curl, streamed

bash

1`curl 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](https://relayswitch.io/docs); Cursor, Cline and the other editors are in the [guides](https://relayswitch.io/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.

Related

-   [Gemini API pricing hub](https://relayswitch.io/pricing/gemini)
-   [Every model and price](https://relayswitch.io/models)
-   [Compare models](https://relayswitch.io/compare)
-   [No-KYC AI API](https://relayswitch.io/no-kyc)
-   [Pay for the API with crypto](https://relayswitch.io/crypto)
-   [Uncensored models](https://relayswitch.io/uncensored)

FAQs

## Gemini 3 API: questions

Free tiers, access, ids and policies.

Open the console

A key in under a minute

[Get a key](https://app.relayswitch.io/console/login)

Or email [hello@relayswitch.io](mailto: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.

[Gemini pricing hub](https://relayswitch.io/pricing/gemini)[Get a key](https://app.relayswitch.io/console/login)

