Skip to content

Cursor in China — OpenAI-compatible key, no-VPN gateway

Router One puts 30+ models behind the one key that Cursor's OpenAI slot accepts, topped up in RMB: override Cursor's OpenAI base URL with https://api.router.one/v1, use one Router One key for the chat models you pick, and top up with a card or Alipay — no foreign credit card required. The gateway endpoint is reachable from Mainland China without a VPN. Cursor's own connection is a separate matter: per Cursor's help page, requests made with your own key are routed through Cursor's servers, so the editor still depends on reaching Cursor's backend.

Gateway reachable without a VPN

Router One's OpenAI-compatible endpoint at https://api.router.one/v1 is reachable from Mainland China without a VPN. With Cursor, your own-key requests reach it through Cursor's servers (per Cursor's help page), so the benchmark below describes the gateway, not your editor's connection to Cursor.

One key, 30+ models

Reach GPT, Claude, Gemini and more through a single OpenAI-compatible key. Pay-as-you-go pricing as low as 10% of official list prices on select models.

Pay in RMB

Top up by card or Alipay through one hosted checkout, or with USDT/USDC on six chains. No foreign credit card required.

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 benchmark

3-step setup

Override Cursor's OpenAI base URL in Settings, paste your Router One key, and add the model you want as a custom model. The Router One side needs no VPN or proxy. Per Cursor's help page (checked 2026-10-01), your own key works with chat models only, and on Teams and Enterprise plans Cursor still adds its Cursor Token Rate to those requests. Router One replaces the model bill for the models you pick, not your Cursor plan. Setting up Cursor outside Mainland China? The global bring-your-own-key guide linked below walks through the same override.

  1. 1Create a Router One API keySign up at router.one and create an API key in the dashboard. Top up by card or Alipay on the hosted checkout, or with USDT/USDC — no foreign credit card required.
  2. 2Override the OpenAI base URL in CursorOpen Cursor Settings → Models, paste your Router One key into the OpenAI API Key field and save it, then turn on "Override OpenAI Base URL" and set it to https://api.router.one/v1.
  3. 3Add a model and send one test messageAdd the exact model ID from /models as a custom model, pick it in the chat or Agent model selector, and send a short message — the request then appears in Dashboard → Logs with its model, tokens and cost.
Cursor settings
# Cursor → Settings → Models → OpenAI API Key
Base URL: https://api.router.one/v1
API Key:  sk-your-router-one-key

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.

OpenAI's proposed November 12, 2026 shutoff and your own key

On August 28, 2026, OpenAI announced that it intends to wind down its contract providing OpenAI models to Cursor, with a proposed shutoff date of November 12, 2026, and that it will not provide future models to Cursor. The date is described as proposed, so check OpenAI's and Cursor's own announcements before planning around it. That contract covers the OpenAI models Cursor serves on its plans. The setup on this page is a separate path: Cursor sends the custom models you add to the base URL you set, and Router One bills them: plan quota for plan-covered models, otherwise your wallet. Per Cursor's help page (checked 2026-10-01), your provider bills own-key requests directly, own keys only work with chat models (for OpenAI keys, standard non-reasoning chat models), and on Teams and Enterprise plans the Cursor Token Rate still applies. Two points are not verified: how Cursor treats the override after November 12, and whether it accepts newer reasoning IDs such as openai/gpt-6-sol or openai/gpt-6-astra as custom models with their full behavior, reasoning effort included. Send one request with the model you plan to use and confirm it in Dashboard → Logs before relying on it.

FAQ

Do I need a VPN?

Not for the Router One endpoint: it is reachable from Mainland China without a proxy or VPN, and the benchmark below documents the dated network snapshot and its caveats. Cursor itself is a separate connection — per Cursor's help page, requests made with your own key are routed through Cursor's servers, so your editor still needs to reach Cursor's backend as it does today.

Which models can I use in Cursor?

Chat models from the Router One catalog — GPT, Claude, Gemini and more — added by their exact ID from /models as custom models. Your key covers the chat models you pick in the chat and Agent panel; Tab autocomplete, Auto, and Cursor's own Composer models stay on Cursor's built-in models. Cursor's own models page (checked 2026-10-01) lists no GPT-6 model. Cursor's help page lists OpenAI keys for standard, non-reasoning chat models, so send one request with a newer reasoning ID such as openai/gpt-6-sol and check it in Dashboard → Logs before relying on it. Per OpenAI's GPT-6 guide and model pages (checked 2026-10-01), GPT-6 Astra takes tool calls only on the Responses API and GPT-6 Sol takes function calls on Chat Completions only with reasoning_effort set to none, so check which request path Cursor's Agent panel sends before relying on tool calls with those IDs.

What happens to GPT models in Cursor after November 12, 2026?

Not settled yet. On August 28, 2026, OpenAI announced that it intends to wind down its contract providing OpenAI models to Cursor, with a proposed shutoff date of November 12, 2026, and that it will not provide future models to Cursor; treat the date as proposed until OpenAI or Cursor confirms it. The announcement covers the models Cursor serves itself. Requests you send with your own key through the base-URL override are billed by Router One, and the models available on your key are the ones listed on /models. Cursor has not documented how the override behaves after that date — as of 2026-09-29 its help page does not describe the override at all — so send one test request after each Cursor update and check it in Dashboard → Logs.

Why does Claude Opus 5 or Opus 5.5 hit a context limit in Cursor?

Set Cursor's Context parameter for that model to 1M. Router One serves claude-opus-5 and claude-opus-5-5 with a million-token window — the /models page shows the live figure, 1.05M today for both — but Cursor sends whatever Context value the model entry carries: open the model picker in the chat pane, edit the model's parameters, switch Context to 1M (older Cursor builds call this the MAX toggle), then start a new chat before you retry.

How does billing work?

Use prepaid wallet balance or a live subscription plan. Top up by card or Alipay in one hosted checkout, or with USDT/USDC on six chains — usage outside plan coverage is metered per token.

Is my code stored?

Two policies apply. Per Cursor's help page (checked 2026-10-01), requests made with your own key are routed through Cursor's servers for final prompt building, and Cursor's Zero Data Retention policy does not apply to them. On Router One's side: Router One does not retain prompt or model-response bodies from direct API calls. It records request metadata for billing, usage tracking, and troubleshooting. Playground saves conversation history so users can revisit and continue their chats.

Choose the next step for your Cursor workflow

Next steps for Cursor: shared controls across coding tools, API compatibility details, topping up, or a terminal agent.

Start using Cursor in China

Get your API key