Gemini API14 models online
Gemini API Gateway, built for production
One entry point for every Gemini model, taking you to production at lower cost.
# pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.teamorouter.com/v1",
api_key="<your TeamoRouter API key>",
)
resp = client.chat.completions.create(
model="gemini-4-neon",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)01Pricing
Lower cost per call
Every Gemini model is priced below Google's official rates, billed by token usage.
| Model | Resource | Official | TeamoRouter |
|---|---|---|---|
| Gemini 4 Carbongemini-4-carbon | Standard69.3% offReady to use | In$2.0000Out$10.0000 | In$0.6148Out$3.0740 |
| Vertex10.0% off | In$2.0000Out$10.0000 | In$1.8000Out$9.0000 | |
| Gemini 4 Argongemini-4-argon | Standard69.3% offReady to use | In$2.0000Out$10.0000 | In$0.6148Out$3.0740 |
| Vertex10.0% off | In$2.0000Out$10.0000 | In$1.8000Out$9.0000 | |
| Gemini 3.8 Flashgemini-3.8-flash | Standard69.3% offReady to use | In$0.7500Out$3.7500 | In$0.23055Out$1.15275 |
| Vertex10.0% off | In$0.7500Out$3.7500 | In$0.6750Out$3.3750 | |
| Gemini 3.1 Pro Previewgemini-3.1-pro-preview | Standard69.3% offReady to use | In$2.0000Out$12.0000 | In$0.6148Out$3.6888 |
| Vertex10.0% off | In$2.0000Out$12.0000 | In$1.8000Out$10.8000 | |
| Gemini 3.7 Flashgemini-3.7-flash | Standard69.3% offReady to use | In$0.7500Out$3.7500 | In$0.23055Out$1.15275 |
| Vertex10.0% off | In$0.7500Out$3.7500 | In$0.6750Out$3.3750 | |
| Gemini 3.6 Flashgemini-3.6-flash | Standard69.3% offReady to use | In$0.7500Out$3.7500 | In$0.23055Out$1.15275 |
| Vertex10.0% off | In$0.7500Out$3.7500 | In$0.6750Out$3.3750 | |
| Gemini 3.5 Flashgemini-3.5-flash | Standard69.3% offReady to use | In$1.5000Out$9.0000 | In$0.4611Out$2.7666 |
| Vertex10.0% off | In$1.5000Out$9.0000 | In$1.3500Out$8.1000 |
02Enterprise
Enterprise-grade reliability and service
Requests fail over between Google AI Studio and Vertex AI routes, so one route going down does not stop your calls.
- Gemini 4 NeonTTFT8.0 s98.50%
- Gemini 4 HydrogenTTFT6.4 s99.18%
- Gemini 4 CarbonTTFT7.3 s82.17%
- Gemini 4 ArgonTTFT6.7 s97.53%
- Nano Banana 2.1TTFT5.3 s95.30%
- Gemini 3.8 FlashTTFT3.4 s99.12%
- Dedicated routesDedicated routes and concurrency, with Vertex AI on request.
- Dedicated supportA dedicated engineer for setup, migration and troubleshooting.
- Bank transfer and invoicesCompany bank transfer, with Chinese VAT invoices.
- Enterprise dashboardMembers, API keys, budgets and usage in one place.
~/project $ gemini --model gemini-4-neon
Tips for getting started:
1. Ask questions, edit files, or run commands.
2. Create GEMINI.md files to customize your interactions.
✓ Using base URL https://api.teamorouter.com
> Type your message or @path/to/file
~/projectno sandboxgemini-4-neon
03Gemini CLI
Native Gemini CLI support
Just swap the API base and key to migrate.
# ~/.gemini/.env
GOOGLE_GEMINI_BASE_URL=https://api.teamorouter.com
GEMINI_API_KEY=<your TeamoRouter API key>
GEMINI_API_KEY_AUTH_MECHANISM=bearer
# pick a model at launch
gemini --model gemini-4-neon04Clients
Works with popular AI dev tools
Gemini CLI, Cherry Studio, Cursor, Antigravity and OpenCode all connect.
/v1beta/v1BASE=https://api.teamorouter.com/v1beta/models
curl $BASE/gemini-3.1-flash-image:generateContent \
-H "Authorization: Bearer <your TeamoRouter API key>" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"role": "user", "parts": [
{"text": "A perfume bottle on a rainy night street, cyan neon reflections"}
]}],
"generationConfig": {
"responseModalities": ["IMAGE"],
"imageConfig": {"aspectRatio": "3:4", "imageSize": "2K"}
}
}'candidates[0].content.parts[]
└ inlineData
mimeType: "image/png"
data: "iVBORw0KGgo…"05Image generation
Nano Banana, the popular image model
Supports the latest Nano Banana 2.1, Gemini 3 Pro Image and more.
06FAQ
About the Gemini API
How do I connect to the Gemini API?
Create an API key on TeamoRouter, set the base URL in your code or client to https://api.teamorouter.com/v1 (Gemini-native clients such as Gemini CLI use https://api.teamorouter.com), use the TeamoRouter key, and pick a model ID from the pricing table. Your existing SDK stays the same.
Do I need a Google account or a foreign credit card?
No. Requests go to TeamoRouter with a TeamoRouter API key, so you do not need a Google account or a Google billing card.
How is the Gemini API billed?
Pay as you go by token usage, with no monthly fee or minimum spend; top-ups start at $5. The official price and the TeamoRouter price of every model are in the pricing table above and update with the live catalog.
Which payment methods are supported?
Bank cards, Alipay, WeChat Pay and USDT.
Can a company pay by bank transfer?
Yes. Companies can top up by bank transfer; the contract is arranged by an account manager. Leave your contact details on the enterprise page.
Can I get invoices?
Yes. Chinese VAT special and general invoices are available, issued on actual usage; the 6% tax is borne by the customer.
How is this different from calling Google directly?
The protocol matches Google's, so you only change the base URL and key. You do not need a Google account, and one key also reaches Claude, GPT, DeepSeek and other providers.
How do I call Nano Banana?
Nano Banana and the Gemini image models use the Gemini-native generateContent endpoint, with the same key and balance as text models. See the Nano Banana API docs for all parameters.
Which clients work?
Gemini CLI, Cherry Studio, Cursor, Antigravity, OpenCode, Codex. Usually you only swap the base URL and API key for TeamoRouter's.

