Router One

A Vercel AI Gateway alternative built for China and CLI workflows

Vercel AI Gateway is a strong managed gateway, tightly integrated with the Vercel and AI SDK ecosystem. Router One is an OpenAI-compatible LLM API gateway that adds China-reachable access, local and stablecoin payment, and first-class Claude Code & Codex CLI setup through Anthropic-compatible and OpenAI-compatible endpoints for 25+ supported models including GPT, Claude, Gemini, and DeepSeek.

Where Router One differs

FeatureRouter OneVercel AI Gateway
Accessible from Mainland ChinaChina-reachable endpoint with published latency benchmarkGlobal edge routing; not China-specific
Payment methodsWeChat Pay, Alipay, Stripe, USDT/USDC; RMB top-upCard and credits through a Vercel account
Claude Code & Codex CLIDrop-in ANTHROPIC_BASE_URL / OPENAI_BASE_URL setupAI SDK and application-focused integration
Account requirementStandalone account — no US card or platform lock-inRouted through a Vercel account
Smart routing & fallbackEWMA latency + posted cost + 5xx rateProvider routing with fallback options
Per-request observabilityFull trace per request — model, tokens, cost, latencyGateway observability in the dashboard
OpenAI-compatible APIYes — Chat Completions, drop-in base URLYes — OpenAI-compatible gateway

Where Router One helps

China access without VPN

Global edge gateways can be inconsistent from some Mainland China networks. 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.

Pay without a foreign card

Top up in RMB with WeChat Pay, Alipay, Stripe, plus USDT and USDC on six chains (Tron, BSC, Ethereum, Polygon, Base, Arbitrum) — from one wallet flow.

First-class AI coding tools

Claude Code and OpenAI Codex CLI work natively with Router One. Drop-in replacement for ANTHROPIC_BASE_URL and OPENAI_BASE_URL, with automatic failover during upstream outages.

View the China latency benchmark ->

Switch with one base URL change

Router One speaks the OpenAI Chat Completions API, so most Vercel AI Gateway integrations move with a base URL and key change — including CLI tools that read OPENAI_BASE_URL.

terminal
# Point your client at Router One
export OPENAI_BASE_URL=https://api.router.one/v1
export OPENAI_API_KEY=sk-your-router-one-key

FAQ

Is Router One OpenAI-compatible like Vercel AI Gateway?

Yes. Router One speaks the OpenAI Chat Completions API, so any library or tool that targets an OpenAI-compatible gateway works by changing the base URL.

Can I migrate from Vercel AI Gateway?

Yes. Update the base URL and API key and you are done. CLI tools and SDKs that read OPENAI_BASE_URL pick up Router One immediately.

Do I need a Vercel account?

No. Router One is a standalone account with its own wallet and billing, so there is no platform lock-in and no US credit card requirement.

How does pricing work?

Router One supports pay-per-token wallet billing and live subscription plans. See each model's rate on the models page and current plan options on the pricing page.

More comparisons

Ready to try a China-friendly gateway?

Get started free