Gemini API
15 Gemini models on one OpenAI-compatible API and one prepaid balance, up to 10% off the official price for every account.
Gemini models and prices 15
| Model | Context | Price | Discount |
|---|---|---|---|
| Gemini 3.5 Flashgoogle/gemini-3.5-flash | 1.05M | $1.35 / $8.10 per 1M tokens | −10% |
| Gemini 3.1 Pro Previewgoogle/gemini-3.1-pro-preview | 1.05M | $1.80 / $10.80 per 1M tokens | −10% |
| Gemini 4 Argongoogle/gemini-4-argon | 1.05M | $1.80 / $9.00 per 1M tokens | −10% |
| Gemini 3.8 Flashgoogle/gemini-3.8-flash | 1.05M | $0.675 / $3.375 per 1M tokens | −10% |
| Gemini 3.7 Flashgoogle/gemini-3.7-flash | 1.05M | $0.675 / $3.375 per 1M tokens | −10% |
| Gemini 3.6 Flashgoogle/gemini-3.6-flash | 1.05M | $0.675 / $3.375 per 1M tokens | −10% |
| Gemini 3.5 Flash Litegoogle/gemini-3.5-flash-lite | 1.05M | $0.27 / $2.25 per 1M tokens | −10% |
| Gemini 3.1 Flash Litegoogle/gemini-3.1-flash-lite | 1.05M | $0.225 / $1.35 per 1M tokens | −10% |
| Gemini 3.1 Flash Lite Previewgoogle/gemini-3.1-flash-lite-preview | 1.05M | $0.225 / $1.35 per 1M tokens | −10% |
| Gemini 3.1 Pro Preview Custom Toolsgoogle/gemini-3.1-pro-preview-customtools | 1.05M | $1.80 / $10.80 per 1M tokens | −10% |
| Gemini 3 Flash Previewgoogle/gemini-3-flash-preview | 1.05M | $0.45 / $2.70 per 1M tokens | −10% |
| Gemini 2.5 Flash Litegoogle/gemini-2.5-flash-lite | 1.05M | $0.09 / $0.36 per 1M tokens | −10% |
| Gemini 2.5 Flashgoogle/gemini-2.5-flash | 1.05M | $0.27 / $2.25 per 1M tokens | −10% |
| Gemini 2.5 Progoogle/gemini-2.5-pro | 1.05M | $1.125 / $9.00 per 1M tokens | −10% |
| Gemini 2.5 Pro Preview 06-05google/gemini-2.5-pro-preview | 1.05M | $1.125 / $9.00 per 1M tokens | −10% |
Prices as of November 5, 2026. Official price: the model maker's list price. Tier 1–3: OceanToken's standing discounts by cumulative top-up, not limited-time offers.
Call the Gemini API
Any OpenAI-compatible SDK works: set the base URL to https://api.oceantoken.ai/v1, use your OceanToken key and the model id as written.
from openai import OpenAI
# Your API Key from the OceanToken console
client = OpenAI(base_url="https://api.oceantoken.ai/v1",
api_key="YOUR_API_KEY")
reply = client.chat.completions.create(
model="google/gemini-3.5-flash",
messages=[{"role": "user", "content": "Hello"}])
print(reply.choices[0].message.content)Why use Gemini on OceanToken
- One API key and one prepaid balance for nearly 500 models from 73 publishers.
- OpenAI-compatible: change the base URL and the key, and keep your code.
- Prepaid, with no subscription and no platform fee. Each API key can have its own spending limit.
Gemini compared
Gemini 3.5 Flash vs GPT-6 Luna · DeepSeek V4.1 Flash vs Gemini 3.5 Flash · Gemini 3.1 Pro Preview vs GPT-6 Sol · DeepSeek V4.1 Flash vs Gemini 3.5 Flash · DeepSeek V4.1 Flash vs Gemini 4 Argon · DeepSeek V4.1 Flash vs Gemini 3.8 Flash · DeepSeek V4 Pro vs Gemini 3.5 Flash · DeepSeek V4 Pro vs Gemini 4 Argon · All comparisons
Cheaper alternatives to Gemini 3.5 Flash · Cheaper alternatives to Gemini 3.1 Pro Preview · Cheaper alternatives to Gemini 4 Argon
Frequently asked questions
How much does the Gemini API cost?
On OceanToken Gemini 3.5 Flash costs $1.35 / $8.10 per 1M tokens, against an official price of $1.50 / $9.00 per 1M tokens. The lowest-priced Gemini model is Gemini 2.5 Flash Lite, at $0.09 / $0.36 per 1M tokens. Every model is billed per use from a prepaid balance, with no subscription.
Are these the official Gemini models?
Yes. You call each model by its own name and get that model, below its official price: up to 10% off on the top tier. Every model page shows the official price next to ours before you call it.
How do I call the Gemini API?
Create an API key in the OceanToken console, set the base URL to https://api.oceantoken.ai/v1 and use the model id, for example google/gemini-3.5-flash. The OpenAI SDKs and any OpenAI-compatible client work.
Do I need a subscription to use Gemini?
No. You add credits by card, and each request is billed at the model’s price. Purchased credits are valid for 12 months.
Other model APIs
Kimi API · MiniMax API · Claude API · GPT API · Grok API · Mistral API · Llama API · Gemma API · Nemotron API · Hunyuan API · Seed API · Sonar API · Command API · Nova API · Veo API · Kling API · Wan API · Hailuo API · Nano Banana API · Seedream API · GPT Image API · FLUX API · Qwen Image API · Grok Imagine API · Recraft API · MAI Image API · Whisper API · Voyage API