Google Gemini Models
Access the Gemini 3.x family through AI Gateway with one OpenAI-compatible API — from high-speed Flash tiers to 1M-token context. Credit billing, no subscription.
Gemini's Flash tiers are built for speed and very long context (1,048,576 tokens across the 3.x family). Through AI Gateway you can call every Gemini variant below with a single OpenAI-compatible request.
Available Models
| Model | Context | Best For |
|---|---|---|
gemini-3.8-flash | 1M | Newest fast tier |
gemini-3.7-flash / -high | 1M | Speed with quality control |
gemini-3.6-flash / -tiered | 1M | High-volume production traffic |
gemini-3.5-flash-preview / -low / -high | 1M | Cost-tuned workloads |
gemini-3.1-pro-high / -preview | 1M | Stronger reasoning |
gemini-3-pro-preview | 1M | Complex multimodal tasks |
gemini-3-flash / 3.1-flash-lite | 1M | Lowest-latency calls |
Gemini 2.5 Pro / 2.5 Flash | 1M | Stable previous generation |
Live per-model credit pricing is on the Models page.
Quick Start
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://your-domain.com/api/ai/v1"
)
response = client.chat.completions.create(
model="gemini-3.8-flash",
messages=[{"role": "user", "content": "Summarize this 200-page PDF."}]
)
print(response.choices[0].message.content)
JavaScript / TypeScript
const res = await fetch("https://your-domain.com/api/ai/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "gemini-3.6-flash",
messages: [{ role: "user", content: "Draft a product update." }],
}),
});
Replace
your-domain.comwith your AI Gateway site domain. Get your API key from the dashboard after sign-up.
Why through AI Gateway
- Gemini + every other provider behind one key — no separate Google Cloud setup
- 1M-token context for whole-codebase and long-document work
- Flash-tier speed with credit-based per-token billing
Related Pages
| Model | Context | Type |
|---|---|---|
gemini-2.5-flash | 1.05M | chat |
gemini-2.5-pro | 1.05M | chat |
gemini-3-flash | 1.05M | chat |
gemini-3-pro-preview | 1.05M | chat |
gemini-3.1-flash-lite | 1.05M | chat |
gemini-3.1-flash-lite-preview | 1.05M | chat |
gemini-3.1-pro-high | 1.05M | chat |
gemini-3.1-pro-preview | 1.05M | chat |
gemini-3.5-flash-antigravity | 1.05M | chat |
gemini-3.5-flash-high | 1.05M | chat |
gemini-3.5-flash-low | 1.05M | chat |
gemini-3.6-flash | 1.05M | chat |
gemini-3.6-flash-tiered | 1.05M | chat |
gemini-3.7-flash | 1.05M | chat |
gemini-3.7-flash-high | 1.05M | chat |
gemini-3.8-flash | 1.05M | chat |
gemini-3.8-flash-a | 1.05M | chat |
gemini-3.8-flash-enterprise | 1.05M | chat |
gemini-3.8-flash-high-antigravity | 1.05M | chat |
| Model | Context | Type |
|---|---|---|
gemini-2.5-flash | 1.05M | chat |
gemini-2.5-pro | 1.05M | chat |
gemini-3-flash | 1.05M | chat |
gemini-3-pro-preview | 1.05M | chat |
gemini-3.1-flash-lite | 1.05M | chat |
gemini-3.1-flash-lite-preview | 1.05M | chat |
gemini-3.1-pro-high | 1.05M | chat |
gemini-3.1-pro-preview | 1.05M | chat |
gemini-3.5-flash-antigravity | 1.05M | chat |
gemini-3.5-flash-high | 1.05M | chat |
gemini-3.5-flash-low | 1.05M | chat |
gemini-3.6-flash | 1.05M | chat |
gemini-3.6-flash-tiered | 1.05M | chat |
gemini-3.7-flash | 1.05M | chat |
gemini-3.7-flash-high | 1.05M | chat |
gemini-3.8-flash | 1.05M | chat |
gemini-3.8-flash-a | 1.05M | chat |
gemini-3.8-flash-enterprise | 1.05M | chat |
gemini-3.8-flash-high-antigravity | 1.05M | chat |
| Model | Context | Type |
|---|---|---|
gemini-2.5-flash | 1.05M | chat |
gemini-2.5-pro | 1.05M | chat |
gemini-3-flash | 1.05M | chat |
gemini-3-pro-preview | 1.05M | chat |
gemini-3.1-flash-lite | 1.05M | chat |
gemini-3.1-flash-lite-preview | 1.05M | chat |
gemini-3.1-pro-high | 1.05M | chat |
gemini-3.1-pro-preview | 1.05M | chat |
gemini-3.5-flash-antigravity | 1.05M | chat |
gemini-3.5-flash-high | 1.05M | chat |
gemini-3.5-flash-low | 1.05M | chat |
gemini-3.6-flash | 1.05M | chat |
gemini-3.6-flash-tiered | 1.05M | chat |
gemini-3.7-flash | 1.05M | chat |
gemini-3.7-flash-high | 1.05M | chat |
gemini-3.8-flash | 1.05M | chat |
gemini-3.8-flash-a | 1.05M | chat |
gemini-3.8-flash-enterprise | 1.05M | chat |
gemini-3.8-flash-high-antigravity | 1.05M | chat |
| Model | Context | Type |
|---|---|---|
gemini-2.5-flash | 1.05M | chat |
gemini-2.5-pro | 1.05M | chat |
gemini-3-flash | 1.05M | chat |
gemini-3-pro-preview | 1.05M | chat |
gemini-3.1-flash-lite | 1.05M | chat |
gemini-3.1-flash-lite-preview | 1.05M | chat |
gemini-3.1-pro-high | 1.05M | chat |
gemini-3.1-pro-preview | 1.05M | chat |
gemini-3.5-flash-antigravity | 1.05M | chat |
gemini-3.5-flash-high | 1.05M | chat |
gemini-3.5-flash-low | 1.05M | chat |
gemini-3.6-flash | 1.05M | chat |
gemini-3.6-flash-tiered | 1.05M | chat |
gemini-3.7-flash | 1.05M | chat |
gemini-3.7-flash-high | 1.05M | chat |
gemini-3.8-flash | 1.05M | chat |
gemini-3.8-flash-a | 1.05M | chat |
gemini-3.8-flash-enterprise | 1.05M | chat |
gemini-3.8-flash-high-antigravity | 1.05M | chat |
| Model | Context | Type |
|---|---|---|
gemini-2.5-flash | 1.05M | chat |
gemini-2.5-pro | 1.05M | chat |
gemini-3-flash | 1.05M | chat |
gemini-3-pro-preview | 1.05M | chat |
gemini-3.1-flash-lite | 1.05M | chat |
gemini-3.1-flash-lite-preview | 1.05M | chat |
gemini-3.1-pro-high | 1.05M | chat |
gemini-3.1-pro-preview | 1.05M | chat |
gemini-3.5-flash-antigravity | 1.05M | chat |
gemini-3.5-flash-high | 1.05M | chat |
gemini-3.5-flash-low | 1.05M | chat |
gemini-3.6-flash | 1.05M | chat |
gemini-3.6-flash-tiered | 1.05M | chat |
gemini-3.7-flash | 1.05M | chat |
gemini-3.7-flash-high | 1.05M | chat |
gemini-3.8-flash | 1.05M | chat |
gemini-3.8-flash-a | 1.05M | chat |
gemini-3.8-flash-enterprise | 1.05M | chat |
gemini-3.8-flash-high-antigravity | 1.05M | chat |
Why through AI Gateway
- One unified interface: call every provider through a single OpenAI-compatible base URL
- One key: no per-vendor accounts; credits are shared and never expire
- Per-token billing: cache hits billed at steep discounts
- Flexible switching: change one string to move between models or vendors
About this data
Specs and prices come from the platform live catalog; performance figures from vendor or third-party publications. Updated 2026-10-13.
| Model | Context | Type |
|---|---|---|
gemini-2.5-flash | 1.05M | chat |
gemini-2.5-pro | 1.05M | chat |
gemini-3-flash | 1.05M | chat |
gemini-3-pro-preview | 1.05M | chat |
gemini-3.1-flash-lite | 1.05M | chat |
gemini-3.1-flash-lite-preview | 1.05M | chat |
gemini-3.1-pro-high | 1.05M | chat |
gemini-3.1-pro-preview | 1.05M | chat |
gemini-3.5-flash-antigravity | 1.05M | chat |
gemini-3.5-flash-high | 1.05M | chat |
gemini-3.5-flash-low | 1.05M | chat |
gemini-3.6-flash | 1.05M | chat |
gemini-3.6-flash-tiered | 1.05M | chat |
gemini-3.7-flash | 1.05M | chat |
gemini-3.7-flash-high | 1.05M | chat |
gemini-3.8-flash | 1.05M | chat |
gemini-3.8-flash-a | 1.05M | chat |
gemini-3.8-flash-enterprise | 1.05M | chat |
gemini-3.8-flash-high-antigravity | 1.05M | chat |
Why through AI Gateway
- One unified interface: call every provider through a single OpenAI-compatible base URL
- One key: no per-vendor accounts; credits are shared and never expire
- Per-token billing: cache hits billed at steep discounts
- Flexible switching: change one string to move between models or vendors
Capabilities
19 shipping models, context windows from 1.05M to 1.05M tokens; tiers: light ×14, deep reasoning ×3, previous generation ×2.
Pricing & billing
Per-token credit billing; cache hits at steep discounts. Live rates on the Models pricing page — numbers intentionally not fixed here.
FAQ
How large is the context window of Google Gemini?
1,048,576 Token (1.05M)
How is it billed?
Per-token credit billing with cache-hit discounts. Live rates on the Models page.
Do I need a provider account?
No. One AI Gateway API key covers this model and every other model on the site.
About this data
Specs and prices come from the platform live catalog; performance figures from vendor or third-party publications. Updated 2026-10-13.
Ready to build with Google?
One API Key, every model. Transparent pay-as-you-go pricing with credits that never expire.
Create free account