Cursor in China — OpenAI-compatible, no VPN
Cursor is one of the most popular AI code editors. The catch from Mainland China: reaching the OpenAI API is slow and unreliable, and billing needs a foreign credit card. Point Cursor at Router One's OpenAI-compatible endpoint and both problems go away.
Direct access, no VPN
Based on the China latency benchmark last updated 2026-05-15, Router One measured 110-130ms p50 across Beijing, Shanghai, and Shenzhen; individual networks may vary. Cursor talks to the OpenAI-compatible endpoint at https://api.router.one/v1.
One key, 40+ 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 with WeChat Pay, Alipay, Stripe, or USDT/USDC on six networks. No foreign credit card required.
Measured latency: VPN vs Router One
Based on the China latency benchmark last updated 2026-05-15, Router One measured 110-130ms p50 across Beijing, Shanghai, and Shenzhen; individual networks may vary.
| City | VPN (direct) | Router One |
|---|---|---|
| Shanghai | 620 ms · 12% timeout | 120 ms · 0% timeout |
| Beijing | 580 ms · 8% timeout | 110 ms · 0% timeout |
| Shenzhen | 700 ms · 15% timeout | 130 ms · 0% timeout |
3-step setup
Override Cursor's OpenAI base URL in Settings, paste your Router One key, and pick a model. No VPN or proxy required.
- 1Create a Router One API keySign up at router.one and create an API key in the dashboard. Top up with WeChat Pay, Alipay, Stripe, or USDT/USDC — no foreign credit card required.
- 2Override the OpenAI base URL in CursorOpen Cursor → Settings → Models → OpenAI API Key. Enable "Override OpenAI Base URL", set it to https://api.router.one/v1, and paste your Router One key.
- 3Verify and start codingClick Verify, then use Cursor's chat with your chosen model — requests now route through Router One's China-reachable, OpenAI-compatible endpoint.
# 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. Abuse prevention, per-account protection limits, and upstream constraints may still apply; if a request returns 429, check Dashboard -> Logs or contact support to raise limits.
FAQ
Do I need a VPN?
Based on the China latency benchmark last updated 2026-05-15, Router One measured 110-130ms p50 across Beijing, Shanghai, and Shenzhen; individual networks may vary. No proxy or VPN is required for the Router One endpoint.
Which models can I use in Cursor?
Any OpenAI-compatible model Router One exposes — GPT, Claude, Gemini and more. Select a model in Cursor, or add the model ID under custom models if it is not listed.
How does billing work?
Use prepaid wallet balance or a live subscription plan. Top up via WeChat Pay, Alipay, Stripe, or USDT/USDC — usage outside plan coverage is metered per token.
Is my code stored?
No. Router One proxies requests in real time; prompts and completions are not persisted. We log only metadata (model, tokens, latency, cost) for billing and observability.
Start using Cursor in China
Get your API key