Skip to content

CC-Switch

CC-Switch is a desktop tool for switching AI coding tool configurations. Yunxi AI includes a CC Switch import entry on the API key page, so key, service URL, and model configuration can be imported quickly.

Who should use it

  • You switch between Claude Code and Codex often.
  • You do not want to edit environment variables or config files manually.
  • You maintain multiple API keys or providers.
  • You want to switch active tool profiles from a tray menu.

Install

Download CC-Switch from its release page:

text
https://github.com/farion1231/cc-switch/releases

Choose the package for your system:

SystemSuggested package
Windows.exe or installer
macOS.dmg
Linux.deb or AppImage

Import Yunxi AI configuration

Import CC-Switch from the key action menu

  1. Open https://ai.laiber.cloud and sign in.
  2. Go to API Keys.
  3. Find the key you want to use and open its action menu.
  4. Choose CC Switch.
  5. Select app type: Claude, Codex, or Gemini.
  6. Select or enter the primary model.
  7. Click Open CC Switch to finish importing.

TIP

Codex imports use /v1. Claude and Gemini imports use the site root. You usually do not need to edit the Base URL manually.

If you only want to open a chat client, use the same key action menu, expand Chat, and choose a preset client such as Cherry Studio, DeepChat, or Lobe Chat.

Manual fallback

Claude Code

text
Name: Yunxi Claude
Base URL: https://ai.laiber.cloud
API Key: your Claude Code key

Codex

text
Name: Yunxi Codex
Base URL: https://ai.laiber.cloud/v1
API Key: your Codex key

TIP

Claude Code and Codex use different protocols and configuration formats. Create separate keys and profiles for them.

Activate a profile

  1. Select the Yunxi AI provider in CC-Switch.
  2. Click activate.
  3. Restart the AI tool.
  4. Send a simple test prompt.

FAQ

It still uses the old configuration

Restart Claude Code or Codex. Some tools only read configuration when they start.

Stable, clear, and easy to connect