Skip to content

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. Each request the gateway sends to a model is logged with the wallet charge or plan quota it used (a streamed request that failed before any output may have no record). 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, Alipay or WeChat Pay through 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, measured 2026-11-15, timed 86 HTTPS requests to api.router.one from 43 probes in 25 mainland cities on China Telecom, China Unicom, China Mobile and cloud networks, and the same probes against OpenAI's and Anthropic's APIs. 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 benchmark

Gemini 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 and Gemini 3.1 Flash Lite — 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, Gemini 4 Argon as of the 2026-10-14 catalog, Gemini 4 Carbon as of the 2026-11-11 catalog, Gemini 4 Hydrogen as of the 2026-11-13 catalog (not in the 2026-11-16 catalog, listed again as of the 2026-11-18 catalog), and Gemini 4 Neon as of the 2026-11-25 catalog; the Gemini 4 Argon API guide at /blog/gemini-4-argon-api-guide covers its catalog ID, the Chat Completions endpoint and plan coverage, the Gemini 4 Carbon API guide at /blog/gemini-4-carbon-api-guide covers its catalog ID, the Chat Completions endpoint and plan coverage, and the comparison page at /models/compare/gemini-4-carbon-vs-gemini-4-argon puts the two side by side; the Gemini 4 Hydrogen API guide at /blog/gemini-4-hydrogen-api-guide covers its catalog ID, the Chat Completions endpoint, wallet billing and how it differs from Gemini 4 Carbon and Gemini 4 Argon; the Gemini 4 Neon API guide at /blog/gemini-4-neon-api-guide covers its catalog ID, the Chat Completions endpoint and wallet billing. The Gemini 3.8 Flash API guide at /blog/gemini-3-8-flash-api-guide covers its catalog ID, Google's thinking levels and price dates, and plan coverage. The table lists default-channel IDs; as of the 2026-11-18 catalog, the sales channels also list ten Vertex channel Gemini IDs, among them vertex/gemini-3.8-flash, vertex/gemini-4-argon and vertex/gemini-4-hydrogen, and two AI Studio channel Gemini IDs, aistudio/gemini-4-argon and aistudio/gemini-3.8-flash: separately priced channel products of the same base models, and no plan tier lists a vertex/ or aistudio/ ID in the 2026-11-18 plan response (the channel model ids guide at /blog/azure-aws-vertex-channel-model-ids explains channel IDs).

Model IDWhat it is
google/gemini-3.8-flash1M context and image input; check live rates and capability tags before selecting.
google/gemini-4-argonListed 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-11-18 plan response. Check live rates on its model page before selecting.
google/gemini-4-carbonListed as of the 2026-11-11 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-11-18 plan response. Check live rates on its model page before selecting.
google/gemini-4-hydrogenListed as of the 2026-11-18 catalog (first listed 2026-11-13; not in the 2026-11-16 catalog): text and image input, with the chat, streaming, tool-calling and vision flags; in no plan tier of Pro, Max or Ultra as of the 2026-11-18 plan response, so its calls bill the wallet. Check live rates on its model page before selecting.
google/gemini-4-neonListed as of the 2026-11-25 catalog: text and image input, with the chat, streaming, tool-calling and vision flags; in no plan tier of Pro, Max or Ultra as of the 2026-11-25 plan response, so its calls bill the wallet. Check live rates on its model page before selecting.
google/gemini-3.7-flash1M context, vision and tool calling. Per Google's Gemini API release notes (October 8, 2026; checked 2026-11-25), 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-flash1M context, vision and tool calling; compare live rates using the same workload.
google/gemini-3.5-flash1M context, vision and tool calling. Per Google's Gemini API release notes (October 8, 2026; checked 2026-11-25), 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-flash1M 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-preview1M context and image input in the current catalog; check live rates and capability tags before selecting.
google/gemini-3.5-flash-lite1M 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-lite1M context and image input in the current catalog; check live rates and capability tags before selecting.
google/gemini-3.1-flash-lite-preview1M context and image input in the current catalog; check live rates and capability tags before selecting.
See live Gemini model pricing

3-step setup

Any OpenAI-compatible client works — set the base URL, pick a Gemini model ID from the catalog, and call.

  1. 1Create a Router One API keySign up at router.one and create an API key in the dashboard. Top up with a card, Alipay or WeChat Pay through hosted checkout, or with USDT/USDC — no foreign credit card required.
  2. 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.
  3. 3Send a request and verifyMake a chat completion call, then open Dashboard → Logs to see the trace: model, tokens, latency, and the wallet charge or plan quota the request used.
gemini-via-router-one.sh
# 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 03:22 UTC on 2026-11-18 are google/gemini-4-hydrogen, google/gemini-4-carbon, 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. The same read lists ten Vertex channel Gemini IDs, among them vertex/gemini-4-argon and vertex/gemini-3.8-flash, and two AI Studio channel Gemini IDs, aistudio/gemini-4-argon and aistudio/gemini-3.8-flash: separately priced products of the same base models (six earlier AI Studio channel Gemini 3 IDs and two earlier Vertex channel Gemini IDs are not in the 2026-11-18 catalog). No plan tier lists a vertex/ or aistudio/ ID in the 2026-11-18 plan response. As of the 2026-11-18 plan response, Gemini 4 Argon and Gemini 4 Carbon are in the Premium models tier of the Pro, Max and Ultra plans. As of the 2026-11-18 plan response, no tier of the Pro, Max or Ultra plans lists Gemini 4 Hydrogen. Separately, as of the 2026-11-25 catalog, Router One lists google/gemini-4-neon (in no plan tier of Pro, Max or Ultra as of the 2026-11-25 plan response); the IDs above are from the 2026-11-18 read, and /models shows the live lineup. Gemini 3.5 Flash Lite is listed as of the 2026-10-09 catalog and is a different model from Gemini 3.5 Flash; the default-channel Gemini 3.1 Pro Preview is no longer listed as of the 2026-10-13 catalog (its Vertex channel ID is listed as of the 2026-11-18 catalog), Gemini 2.5 Pro is no longer listed as of the 2026-10-15 catalog, and the older Gemini 3 Pro Preview remains absent. Per Google's Gemini API release notes (October 8, 2026; checked 2026-11-25), 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.

Do I need a Google AI Studio or Vertex AI account?

No. One Router One key on the OpenAI-compatible endpoint reaches every Gemini model in the catalog, so you do not create a Google API key or a Google Cloud billing account. Default-channel chat ids start with google/. Ids that start with aistudio/ (the AI Studio channel) or vertex/ (the Vertex channel) belong to Router One sales channels: they are separately priced products of the same base models, each billed at the rates on its own model page, and no tier of the 2026-10-24 plan response lists an aistudio/ or vertex/ id. The prefix is a product label, not a disclosure of who serves the request, and channel-prefixed ids carry no region, data-residency or compliance commitment. How channel ids work: /blog/azure-aws-vertex-channel-model-ids.

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. For Gemini 4 Carbon, the guide at /blog/gemini-4-carbon-api-guide covers its catalog ID, the Chat Completions endpoint, plan coverage and how it differs from Gemini 4 Argon. For Gemini 4 Hydrogen, the guide at /blog/gemini-4-hydrogen-api-guide covers its catalog ID, the Chat Completions endpoint, wallet billing and how it differs from Gemini 4 Carbon and Gemini 4 Argon. For Gemini 4 Neon, the guide at /blog/gemini-4-neon-api-guide covers its catalog ID, the Chat Completions endpoint and wallet billing. For Gemini 3.8 Flash, the guide at /blog/gemini-3-8-flash-api-guide covers its catalog ID, Google's thinking levels and price dates, 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