China Developer Guide

Claude API Guide for China Developers

Solve registration, payment, and network issues — connect to Claude API in 5 minutes

Get API Key Now Supports Alipay / WeChat Pay

3 Pain Points for China Developers

🌐

Network Access Blocked

Anthropic official site is inaccessible in China, API requests frequently timeout

💳

Payment Not Supported

Official platform only accepts foreign credit cards, no Alipay/WeChat Pay

📱

Overseas Phone Required

Registration requires overseas phone number verification

Recommended Solution

Use Aiberm Relay Service

Aiberm is a Claude API relay platform designed for China developers

Direct Access in China

Stable low-latency API access without VPN

Alipay / WeChat Pay

Pay in CNY, no foreign credit card needed

Fully Compatible API

Same interface as official Anthropic API, no code changes needed

All Models Supported

Claude Opus 4.6, Claude Sonnet 4.6 and all latest models available

No Overseas Account

Register with Chinese phone number, instant activation

Enterprise Reliability

99.9% uptime SLA, production-ready

3 Steps to Get Started

1

Register on Aiberm

Visit aiberm.com, register with your Chinese phone or email

Register Now →
2

Top Up & Get API Key

Pay via Alipay or WeChat, API Key generated instantly

View Pricing →
3

Change base_url & Done

Replace the API endpoint in your code with Aiberm relay URL, no other changes needed

Code Example

Just change one line — base_url — everything else stays the same

Python
import anthropic

# Only change base_url, everything else stays the same
client = anthropic.Anthropic(
    api_key="your-aiberm-api-key",
    base_url="https://aiberm.com",  # Aiberm relay endpoint
)

message = client.messages.create(
    model="claude-opus-4-6",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello, introduce yourself"}
    ]
)

print(message.content)
Claude Code / Environment Variables
# Set env vars, Claude Code will use Aiberm relay automatically
export ANTHROPIC_API_KEY="your-aiberm-api-key"
export ANTHROPIC_BASE_URL="https://aiberm.com"

# Then use Claude Code normally
claude

Solution Comparison

Solution Comparison
SolutionNetworkPaymentPriceStability
Anthropic Official❌ VPN Required❌ Foreign CardPay-as-you-go⭐⭐⭐⭐⭐
Aiberm Relay✅ Direct in China✅ Alipay/WeChat19% official / 80% AWS⭐⭐⭐⭐⭐
Self-hosted Proxy⚠️ Maintenance✅ FlexibleServer Cost⭐⭐⭐
Other Relays✅ Available✅ PartialVaries⭐⭐⭐

FAQ

Is Aiberm API fully compatible with official?

Yes, Aiberm is 100% compatible with Anthropic official API format. Just replace base_url with Aiberm endpoint, no other code changes needed.

Which Claude models are supported?

Claude Opus 4.6, Claude Sonnet 4.6 and all latest models are supported, synced with official releases.

How does pricing compare to official?

Aiberm offers two channels: official channel at just 19% of official price, and AWS channel at 80% of official price. Pay via Alipay/WeChat, far cheaper overall.

Is my data safe?

Aiberm acts as a relay, requests pass through their servers. Avoid sending sensitive personal data in API requests.

How to use with Claude Code?

Set ANTHROPIC_BASE_URL to Aiberm relay endpoint and ANTHROPIC_API_KEY to your Aiberm API Key.

Start Using Claude API Today

Preferred by China developers, Alipay/WeChat Pay, instant activation