Docs
Connect Claude Code in three minutes
CoreCode is a pure Claude relay: requests go straight to official Anthropic Claude accounts. No model swaps, no other models mixed in, and each session stays on one account, so prompt caching hits reliably. CoreCode also serves OpenAI GPT, Google Gemini and xAI Grok, each in its own group.
Base URL
https://corecode.liveProtocol
Anthropic Messages (
/v1/messages), the same as the official APIKey
Create one on the console's API Keys page, choose the Claude 满血(仅限CC) (full Claude, Claude Code only) group; it starts with
sk-Models
See the Pricing page, for example
claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5; for GPT, Gemini and Grok see Supported modelsSupported models
The models in each group, the API each uses, and how to call every model with one key are in Supported models.
Choose a client
MagpieRecommendedA local gateway: pick CoreCode's Claude in any agent.
Claude CodeEdit one settings.json and it works in the terminal, VS Code and JetBrains.
CC SwitchA desktop app: import in one click and see your balance on the card.
Claude DesktopPoint the desktop app at CoreCode through third-party inference.
CodexGPT models: edit one config.toml.
OpenAI-compatible APIGPT, Gemini and Grok from an SDK, curl or any OpenAI-compatible client.
Quick start
New here? Follow the six steps of the new user guide: sign up, top up, choose a group, create a key, connect a tool, and check the usage logs. The newcomer pack is ¥29.9 for $50 of credit; see Top-up.
The group decides which models a key can call and at what price; if unsure, read Groups and Auto routing.