Anthropic’s official Claude API usually requires an official account plus compatible network and payment setup. Teams often want stable local access, shared quotas, and the same Claude Code tool protocol. 4AICode is one verifiable option: a relay API + dashboard billing—not a crack and not “unlimited” usage.
Facts you can verify here
- Protocol: Anthropic-compatible
POST /v1/messages— API docs. - Tooling: Dedicated Claude Code setup via
ANTHROPIC_BASE_URLandANTHROPIC_AUTH_TOKEN. - Routes:
https://relay.4aicode.net(mainland) andhttps://relay.4aicode.com(international); tokens work on both. - Billing: Usage-based; snapshot rates in the model catalog; live rates in the dashboard.
- Teams: Orgs, members, tokens, quotas, and usage history in one console.
Differences vs official Claude API
| Topic | Note |
|---|---|
| Upstream | 4AICode forwards through its own subscription pool / channels; it is not described as a direct Anthropic enterprise resale |
| Catalog | Follow the 4AICode dashboard / model pages; timing may differ from Anthropic’s latest public list |
| Moderation | Requests pass a moderation middleware; blocked content is rejected per product terms |
| Availability | Subject to upstream quota, cooldown, and routing — see cooldowns |
Choose 4AICode when
- Claude Code should keep working after an env-var change.
- You need a more stable mainland path and centralized invoices.
- The same team also uses Codex / Cursor and wants one control plane.
Prefer official Anthropic when
- You must sign Anthropic’s enterprise agreement or need official SLA / data-region commitments.
- Compliance forbids third-party relays.