Getting started
Get an API key
Create a key in the console; the group you choose determines the protocol and billing.
1Register and sign in
Create an account and open the console. Top up your balance for pay-as-you-go access, or purchase a subscription on the Plans page. You can use both.
2Create an API key
Open the console’s API keys page, click “New API Key”, enter a name, and select a bound group. The group determines the protocols and billing rules for this key:
- Pay-as-you-go plans: charge your balance based on actual usage. Check the model catalog for rates.
- Subscription groups: use the corresponding plan’s quota and require an active subscription.
- Composite groups: one key can use Anthropic, OpenAI, and Gemini protocols. A key bound to a single-platform group can only use that platform’s protocol.
After creating a key, return to any integration guide and choose it at the top of the page. The placeholder in the examples is replaced with it automatically.
Create an API key3Save your key
Keys start with sk-… and can be viewed or copied from the list after creation. We recommend a separate key for each device and tool so usage is tracked separately and a leaked key can be revoked without affecting other devices.
Your key grants access to your balance. Do not share it.
Configuration files, terminal commands, and CC Switch import links contain the full key. If it leaks, delete it on the API keys page and create a replacement.
4Connect using the buttons on each key row
Each key row has two shortcuts:
- Connect: opens ready-to-copy Claude Code / Codex configuration commands and OpenAI / Anthropic cURL examples with your key and URL filled in.
- CC Switch: imports your key and URL into CC Switch so you can switch providers.
You can also configure each tool manually using the corresponding guide.