Synchronize recorded aggregated relay accounts to downstream systems like CherryStudio, CC Switch, New API, and Claude Code Hub with one click, avoiding repetitive input of Base URL, API Keys, and model lists.
| Target | Method | Notes |
|---|
| CherryStudio | Launches client via local protocol, automatically populates API information | Requires CherryStudio desktop client to be running and authorized |
| CC Switch | Outputs in JSON/clipboard format, with built-in dedicated field mapping | Requires using the import function within CC Switch to paste content |
| Self-hosted Sites (New API / DoneHub / Veloera / Octopus / AxonHub / Claude Code Hub) | Calls the target backend management interface to automatically create or update Channel / Provider | Requires completing the corresponding backend configuration in the extension first |
- Site Synchronization: First, complete account identification in the plugin to ensure that exportable APIs exist in the API key list.
- Target Credentials:
- CherryStudio / CC Switch: No additional configuration required, but the application must remain running.
- Self-hosted Sites: Select the target type and complete the configuration in "Basic Settings → Self-hosted Site Management".
- Model List: If whitelist export is required, models can be pre-filtered in "New API Model Synchronization".
- Open the plugin → API Key Management, click the corresponding export button in any site card; if you need to process multiple API keys at once, you can select items in the API key list first.
- Select the target platform:
CherryStudio / CC Switch / Current Self-hosted Site. When multiple API keys are selected, you can use "Batch Import to Current Self-managed Site" to enter the preview. - Complete authorization as prompted:
- CherryStudio: The browser will prompt whether to open the desktop client, and will complete automatically after confirmation.
- CC Switch: Generates JSON and copies it to the clipboard, simply switch to CC Switch and paste.
- Self-hosted Sites: Calls the corresponding management interface in the backend to import the current site configuration as Provider / Channel. When batch importing, the target channel preview for each API key will be displayed first, and channels that already exist precisely will be skipped by default.
- Verify if the channel/provider appears in the target system and test the call.
| Field | Description |
|---|
| Site Name | Automatically taken from site/account remarks, can be modified before export |
| Base URL | Uses the account's base_url, ensure it includes the protocol prefix |
| API Key | Taken from the API key list; if the site supports multiple API keys, they will be listed individually |
| Model List | From site capability detection or New API Model Synchronization results |
| Recharge Ratio | Used for conversion display in CherryStudio/CC Switch |
| Group/Priority | For self-hosted sites, can be adjusted by target backend capabilities in the export panel |
| Issue | Solution |
|---|
| Self-hosted Sites prompt 401/403 | Confirm that the backend credentials have not expired and that the configuration has been re-saved in the plugin; if necessary, refer to Cloudflare Bypass Helper. |
| CherryStudio unresponsive | Check if the desktop client is installed and if the browser is allowed to launch the cherrystudio:// protocol. |
| CC Switch import failed | Paste the generated JSON into the official import dialog. If prompted for missing fields, please update CC Switch to the latest version. |
| Model list is empty | The site has not yet returned model data. You can first refresh the model list within the plugin or perform New API Model Synchronization. |