Gemini API in China — no VPN, no foreign card
Router One makes Gemini models callable from Mainland China without a VPN or foreign card: the same OpenAI-compatible endpoint https://api.router.one/v1 and key that reach GPT, Claude and Grok, billed per token with a cost trace for every request. Google's own Gemini endpoints are blocked for mainland networks and bill to a foreign card; the gateway removes both blockers.
Direct access, no VPN
Gemini models answer through the OpenAI-compatible endpoint at https://api.router.one/v1. Review the published benchmark below before relying on any point-in-time network result.
Million-token context
Gemini's long-context models (up to 1M tokens on select models) are in the catalog with live pricing — long documents, codebases, and multimodal inputs included.
Pay in RMB
Top up with a card or Alipay through one hosted checkout, or with USDT/USDC on six chains. Metered per token, pay-as-you-go — no Google Cloud billing account needed.
Review the China latency benchmark
This page does not make a separate latency promise. The published snapshot, last updated 2026-05-15, covers Beijing, Shanghai, and Shenzhen on China Telecom, China Unicom, and China Mobile in a rolling 7-day window. It is not an SLA, and individual networks may vary; review the full method and caveats before judging fit for your workload.
Read the published benchmarkGemini models in the catalog
Model IDs as you pass them in the model field — the lineup follows the live catalog, and current per-token rates, context windows, and capability tags are on the models page. The September listings — Gemini 3.8 Flash, Gemini 3.1 Flash Lite and Gemini 2.5 Pro — are covered in the September 2026 new-model guide at /blog/new-llm-models-september-2026; Gemini 3.5 Flash Lite is listed as of the 2026-10-09 catalog and Gemini 4 Argon as of the 2026-10-14 catalog (see the changelog at /blog/changelog); the Gemini 4 Argon API guide at /blog/gemini-4-argon-api-guide covers its catalog ID, the Chat Completions endpoint and plan coverage.
| Model ID | What it is |
|---|---|
| google/gemini-3.8-flash | 1M context and image input in the current catalog; check live rates and capability tags before selecting. |
| google/gemini-4-argon | Listed as of the 2026-10-14 catalog: text and image input, with the chat, streaming, tool-calling and vision flags; in the Premium models tier of the Pro, Max and Ultra plans as of the 2026-10-14 plan response. Check live rates on its model page before selecting. |
| google/gemini-3.7-flash | 1M context, vision and tool calling. Per Google's Gemini API release notes (October 8, 2026; checked 2026-10-13), Google has deprecated gemini-3.7-flash on the Gemini API and routes requests for it to gemini-3.8-flash, its named replacement; for new work, start with google/gemini-3.8-flash and compare live rates using the same workload. |
| google/gemini-3.6-flash | 1M context, vision and tool calling; compare live rates using the same workload. |
| google/gemini-3.5-flash | 1M context, vision and tool calling. Per Google's Gemini API release notes (October 8, 2026; checked 2026-10-13), Google has deprecated gemini-3.5-flash on the Gemini API and routes requests for it to gemini-3.6-flash (Google also lists gemini-3.8-flash as a migration target); for new work, start with google/gemini-3.8-flash and compare live rates using the same workload. |
| google/gemini-3-flash | 1M context, vision and tool calling; the only id that accepts the google_search hosted tool on Chat Completions (see the FAQ). Compare live rates using the same workload. |
| google/gemini-3-flash-preview | 1M context and image input in the current catalog; check live rates and capability tags before selecting. |
| google/gemini-3.5-flash-lite | 1M context, text and image input; listed as of the 2026-10-09 catalog, in the Standard models tier of the Pro, Max and Ultra plans as of the 2026-10-10 plan response, and a different model from google/gemini-3.5-flash. Check live rates and capability tags before selecting. |
| google/gemini-3.1-flash-lite | 1M context and image input in the current catalog; check live rates and capability tags before selecting. |
| google/gemini-3.1-flash-lite-preview | 1M context and image input in the current catalog; check live rates and capability tags before selecting. |
| google/gemini-2.5-pro | 1M context and image input in the current catalog; check live rates and capability tags before selecting. |
3-step setup
Any OpenAI-compatible client works — set the base URL, pick a Gemini model ID from the catalog, and call.
- 1Create a Router One API keySign up at router.one and create an API key in the dashboard. Top up with a card or Alipay on the hosted checkout, or with USDT/USDC — no foreign credit card required.
- 2Point your client at the gatewaySet the base URL to https://api.router.one/v1 in the OpenAI SDK or any compatible tool, and use a Gemini model ID copied from the /models page.
- 3Send a request and verifyMake a chat completion call, then open Dashboard → Logs to see the trace: model, tokens, latency, and cost for the request.
# Gemini via the OpenAI-compatible endpoint curl -X POST https://api.router.one/v1/chat/completions \ -H "Authorization: Bearer sk-your-router-one-key" \ -H "Content-Type: application/json" \ -d '{"model": "<gemini-model-id>", "messages": [{"role": "user", "content": "你好"}]}'
No low fixed cap for normal paid usage. Each key and each account runs under default request-per-minute and token-per-minute limits, and upstream constraints may still apply; if a request returns 429, back off and retry (honor Retry-After when it is sent), and if your traffic needs higher limits, email support@router.one to have the key or account limits raised.
FAQ
Why can't I call the Gemini API directly from China?
Google blocks its Generative AI endpoints for Mainland China network space, and billing requires a foreign card. A VPN adds latency and instability; a China-reachable gateway avoids both.
Which Gemini models are available?
The chat IDs listed in the catalog at 01:55 UTC on 2026-10-14 are google/gemini-4-argon, google/gemini-3.8-flash, google/gemini-3.7-flash, google/gemini-3.6-flash, google/gemini-3.5-flash, google/gemini-3-flash, google/gemini-3-flash-preview, google/gemini-3.5-flash-lite, google/gemini-3.1-flash-lite, google/gemini-3.1-flash-lite-preview, google/gemini-2.5-pro. As of the 2026-10-14 plan response, Gemini 4 Argon is in the Premium models tier of the Pro, Max and Ultra plans. Gemini 3.5 Flash Lite is listed as of the 2026-10-09 catalog and is a different model from Gemini 3.5 Flash; Gemini 3.1 Pro Preview is no longer listed as of the 2026-10-13 catalog, and the older Gemini 3 Pro Preview remains absent. Per Google's Gemini API release notes (October 8, 2026; checked 2026-10-13), Google has deprecated gemini-3.7-flash and gemini-3.5-flash on the Gemini API and routes requests for them to gemini-3.8-flash and gemini-3.6-flash, respectively; Gemini 3.5 Flash Lite is not affected. The Gemini image IDs (gemini-nano-banana-2.1, gemini-3.1-flash-image-preview and gemini-3-pro-image-preview) are on /image-generation-api. Check /models for live prices and capability tags.
Do I use Google's SDK?
No — you call Gemini models through the OpenAI-compatible interface: the official OpenAI SDK, curl, or any compatible client. Vision input works via standard image_url content parts — send images inline as base64 data URLs.
How does pricing compare to official rates?
Billing is metered per token with discounted rates on select models — the /models page shows each Gemini model's current price, with the base rate struck through where a discount applies — not every Gemini model is discounted.
Can a Gemini model search the web through the gateway?
On google/gemini-3-flash, yes. Send tools: [{"type": "google_search"}] with tool_choice: "auto" (or web_search_options: {}) on POST /v1/chat/completions; the model decides whether to search, and the sources it grounded on come back as url_citation annotations — choices[0].message.annotations on a normal reply, choices[0].delta.annotations on a stream. Billing is at the model's posted token rates with no separate search line. Other Gemini ids do not get this treatment: the tools array is forwarded as sent and a tool type the model rejects returns a 400. The API compatibility facts state the full rule.
Is there a detailed setup guide?
Yes — the Gemini API China guide on the blog walks through configuration step by step, including model selection and common errors. For Gemini 4 Argon, the guide at /blog/gemini-4-argon-api-guide covers its catalog ID, the Chat Completions endpoint and plan coverage.
Choose the next step for Gemini API access
Next steps after your first Gemini call: choose a model, check the API format, follow the full setup guide, or top up the shared wallet.
Start calling Gemini from China
Get your API key