One-Click Import with CC-Switch
CC-Switch is a free tool for managing provider configurations of local clients such as Claude Code / Codex, supporting quick switching between multiple sets of configurations and cloud sync.
One-Click Import Is Supported
On the "API Keys" page, click Use Key for a key and select CC-Switch; an import link or configuration will be generated.
Steps
- Install and open CC-Switch (with the
ccswitch://protocol handler registered) - Click the one-click import button/link generated by this site
- Confirm the configuration was imported successfully; the corresponding provider appears in the list
- Switch to that configuration and start Claude Code / Codex to use it
Manual Setup
If one-click import does not work (e.g. the browser blocks the protocol), you can add it manually:
| Field | Value |
|---|---|
| Name | e.g. KuaiAPI-Claude |
| API Address | https://kuaiapi.net (Claude) / https://kuaiapi.net/v1 (Codex) |
| API Key | Your key |
| Main Model | The model name in the group |
FAQ
| Symptom | Solution |
|---|---|
| Clicking import does nothing | The browser blocked the protocol redirect; allow it or switch to Chrome/Edge |
| Error on startup after import | Check whether the protocol matches (using a Claude configuration for Codex will fail) |
| Multi-device sync | Use CC-Switch's Nutstore/WebDAV sync feature |
TIP
CC-Switch suits people with multiple providers or multiple sets of configurations; if you only have one configuration, you can just use environment variables.
