Change one endpoint. Claude Code keeps working.
One API endpoint with usage-based billing, per-key limits and call auditing. Set ANTHROPIC_BASE_URL and your API key, then use the public model channels of your key's group.
- Pay as you go, live balance
- Independent per-key limits
- Not used to train general models
"apiKeyHelper": "echo 'sk-····'", "env": { "ANTHROPIC_BASE_URL": "https://api.ccodezh.com", "ANTHROPIC_AUTH_TOKEN": "sk-····" }
- claude-sonnet-5-543.8K10.1s$0.0532
- claude-haiku-5-56.0K4.7s$0.0016
- claude-fable-5-170.9K6.3s$0.1710
- Model channels
- 6
- Models
- 24
- Top-up rate
- ¥0.8 = $1
- Minimum top-up
- $2
Service boundaries
- We do not use your inputs, outputs or code to train, fine-tune or distill general models
- Customer data is never sold, rented or resold
- Routing follows the groups shown in the console; we do not silently switch your channel
- Essential call logs are kept for billing, troubleshooting and security audits
Do not send passwords, private keys, unauthorized personal information or other high-risk data.Full list
- State secrets, confidential work information, core data or regulated important data
- Personal information without authorization, sensitive personal information, or data about minors
- Health records, financial account data, passwords, API keys or private keys
- Un-anonymized customer lists, unauthorized code repositories, or data that may not be processed by third-party model services
- If your team must process sensitive data, complete authorization, de-identification and compliance review first
From sign-up to your first call in three steps
Keep your workflow. Only the endpoint changes.
- 1
Sign in and top up
Email code or Google sign-in. Top-ups start at $2 via Alipay or WeChat Pay.
- 2
Copy your API key
The console creates a key for you. Add keys per group or rotate them any time.
- 3
Configure and run
Put the endpoint and key into Claude Code's settings, then run claude.
{
"apiKeyHelper": "echo 'sk-····'",
"env": {
"ANTHROPIC_BASE_URL": "https://api.ccodezh.com",
"ANTHROPIC_AUTH_TOKEN": "sk-····"
}
}export ANTHROPIC_BASE_URL="https://api.ccodezh.com" export ANTHROPIC_AUTH_TOKEN="sk-····"
Your usual tools, pointed at a new endpoint
Each of these has a setup guide or a one-click config in the console.
- Claude CodePut the endpoint and API key into ~/.claude/settings.json, then run claude.Setup guide
- VS Code extensionInstall the Claude Code extension; it shares settings.json with the CLI.Install guide
- Codex CLIPick a key in a Codex group; the console's setup script writes your ~/.codex config.One-click setup (console)
- CC SwitchUse one-click setup on a key in the console to import the Claude Code or Codex config into CC Switch.One-click import (console)
What you get
One API key for several model channels, with usage, permissions and audit logs visible in the console.
One endpoint
Manage Claude, Codex / GPT and other channels with one set of API keys, and split credits and model access per project.
Call auditing
Essential call metadata is kept for usage statistics, troubleshooting, security auditing and anomaly review.
Security controls
Credit limits, model allowlists, IP allowlists and high-risk data warnings reduce the impact of a leaked key.
Model routing
Requests follow the group of your API key to the matching channel; we never silently switch the channel you selected.
Usage statistics
See calls, tokens and charges per model and per day; balance and usage update live in the console.
Key management
Create several independent API keys and rotate them at any time, so projects never affect each other.
Billing, payment and support
- What you pay
- Top-ups are paid in Chinese yuan (CNY) through WeChat Pay or Alipay, depending on which methods are currently enabled in the top-up dialog. The amount charged is shown before you pay.
- What you receive
- Each top-up adds account credits denominated in USD. Credits are not cash and are only used for calls on this platform.
- What a call costs
- Each call deducts the model's listed token price (input, output, cache write and cache read counted separately) multiplied by the channel multiplier. Final charges are shown in the console.
- Account and support
- Sign in with an email verification code, or with Google where it is enabled. The console is currently in Chinese. For help, email [email protected].
Video walkthrough
A short walkthrough of configuring and using ccodezh (narrated in Chinese).
Change the endpoint, start today
Sign in to get an API key. Balance, usage and call logs are all visible in the console.