🌉 For mainland China developers · 国内开发者

Claude Code in China.
No VPN. WeChat Pay.

Anthropic's Claude Code CLI is the best agentic coding tool of 2026 — but Anthropic doesn't serve China directly, requires a USD card, and most China-issued cards get declined. AIPower routes Claude Code through Cloudflare global edge, accessible from inside China without VPN, paid via WeChat Pay or Alipay.

10 free trial calls · One env var change · Same Claude quality, China-friendly billing

⚠️ Status: Anthropic-native endpoint coming soon

Claude Code uses the Anthropic SDK (Messages API), which is different from OpenAI's Chat Completions API. Our Anthropic-compatible passthrough endpoint is in development — ETA this week. For now, AIPower is fully usable with any tool that uses the OpenAI SDK:Cursor,Continue.dev,Cline,Open WebUI — all work today with Claude routed through our gateway.

Want early access? Reply to the intake form — we're prioritizing China-based Claude Code users.

Use Claude Sonnet 4 today (via OpenAI SDK)

Same Claude model, accessible from China today. Your tool just needs to support OpenAI SDK with custom base_url (most do).

1

Sign up + top up $5

Get your API key at aipower.me/register. $5 first top-up unlocks Claude Sonnet 4 + Opus 4.6 + adds +100 bonus calls. Pay via WeChat Pay (¥36) or Alipay or card.

2

Use Claude with OpenAI SDK

from openai import OpenAI

client = OpenAI(
    base_url="https://api.aipower.me/v1",
    api_key="sk-aipower-...",
)

# Claude Sonnet 4 — best for code (same as Claude Code uses)
response = client.chat.completions.create(
    model="anthropic/claude-sonnet",
    messages=[
        {"role": "user", "content": "Refactor this Python to use async/await: ..."}
    ],
)
print(response.choices[0].message.content)

Same Claude Sonnet 4 model. Same quality. Just routed through our gateway — accessible from China, paid via WeChat.

3

Or use any OpenAI-SDK-compatible CLI

Most modern AI coding tools accept a custom base URL:

# Cursor: Settings → Models → API Provider → Custom OpenAI-compat
#   base URL: https://api.aipower.me/v1
#   model:    anthropic/claude-sonnet

# Continue.dev: ~/.continue/config.json
#   "models": [{ "provider": "openai", "apiBase": "https://api.aipower.me/v1",
#                "model": "anthropic/claude-sonnet", "apiKey": "..." }]

# Cline: Settings → API Provider → OpenAI Compatible
#   base URL: https://api.aipower.me/v1
#   model:    anthropic/claude-sonnet

Per-tool guides: Cursor · Continue.dev · Cline.

Why this works inside China

🌐 Cloudflare global edge

api.aipower.me hits Cloudflare edge POPs (Beijing / Shanghai / Shenzhen). No VPN. No GFW issues. Same latency as accessing from Hong Kong.

💬 China payment methods

WeChat Pay (¥) and Alipay (¥/USD) supported via Stripe. AI POWER LIMITED is HK entity → no Stripe China-card-decline issues.

📋 商业发票 / Fapiao

Hong Kong commercial receipt on every payment. CN VAT fapiao available for enterprise procurement (contact for details).

🔁 Plus the rest of AIPower

Same API key works for GPT-5, Gemini 2.5 Pro, DeepSeek V3 + R1, Qwen, GLM, Kimi, Doubao, MiniMax. Mix Claude + DeepSeek across your AI tools for cost optimization.

Common questions

When will Claude Code (the official Anthropic CLI) work directly?

Anthropic-native /v1/messages passthrough endpoint is in development — ETA this week. Once shipped, you'll be able to set ANTHROPIC_BASE_URL to AIPower and Claude Code will work transparently. Sign up for early access via /team-intake?plan=byok.

Same Claude model? Same speed?

Same model — we route to Anthropic's official API. Speed is comparable (~50-100ms latency from China via Cloudflare edge, vs ~30ms from US). Token output speed identical (provider-side).

What about Claude Sonnet's tool use / vision / streaming?

All supported via OpenAI Chat Completions API today (Cursor, Continue.dev, Cline use this). Tool use, vision, streaming SSE all work. The Anthropic Messages API passthrough (for Claude Code specifically) is in development.

What does it cost?

Same per-token pricing as direct Anthropic ($3.60/M input, $18/M output for Sonnet 4). No markup. AIPower's value is the gateway/billing/access — see /pricing for full breakdown.

Can I also use Cursor / Continue.dev / Cline this way?

Yes — same approach. Each tool reads either OPENAI_BASE_URL or ANTHROPIC_BASE_URL from env. Set both to AIPower and all your AI tools route through us. Per-tool guides at /cursor /continue-dev /cline.

Start using Claude Code in China — $5

First top-up adds +100 bonus calls. Pay via WeChat in 30 seconds. No VPN setup.