Claude Code in China — Stable, No VPN, Alipay Pay
Anthropic's Claude Code is one of the strongest AI coding agents available. The problem: reaching Anthropic's API from Mainland China is slow and unreliable, and you need a foreign credit card. Router One solves both.
Direct access, no VPN
api.router.one is reachable from China Telecom, Unicom, and Mobile. Typical latency 80–150 ms, no timeouts, no packet loss.
Pay in RMB
Top up with WeChat Pay, Alipay, or USDT. No foreign credit card, no currency conversion.
No artificial rate limits
Router One distributes load across upstream providers. Your Claude Code sessions aren't throttled mid-task.
Measured latency: VPN vs Router One
Tested from three cities analyzing a 500-line TypeScript file
| 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 |
2-minute setup
If you have Claude Code installed, export three variables and relaunch. Persistent setup: add these lines to ~/.zshrc or ~/.bashrc.
# Point Claude Code at Router One export ANTHROPIC_BASE_URL=https://api.router.one export ANTHROPIC_API_KEY=sk-your-router-one-key export ANTHROPIC_AUTH_TOKEN=sk-your-router-one-key
FAQ
Do I need a VPN?
No. Router One's endpoint (api.router.one) is directly reachable from Mainland China without any proxy or VPN.
How does billing work?
Prepaid balance. Top up via WeChat Pay, Alipay, or Stripe/USDT — your balance is charged per token used. No subscription, no monthly fee.
Is my data 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.
What if the upstream Anthropic API goes down?
Claude Code traffic routes through Router One's infrastructure with automatic failover. When upstream issues occur, requests are retried or redirected transparently.
Start using Claude Code in China
Get started free