Skip to content

CC-Switch Setup Guide ​

CC-Switch manages multiple Claude Code, Codex, or Gemini channels. It is useful when switching between official APIs, third-party API gateways, and local proxies.

Download and Install ​

Download the package for your system from the project Release page:

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

Open CC-Switch after installation.

Add a Claude Channel ​

  1. Select Claude at the top.
  2. Click add channel.
  3. Fill in a provider name, for example MiouFun Claude.
  4. Fill in the API Key.
  5. Fill in the request URL.
  6. Save and enable the channel.

Add a Codex Channel ​

  1. Select Codex at the top.
  2. Add a custom channel.
  3. Fill in a provider name, for example MiouFun Codex.
  4. Fill in the API Key.
  5. Set the request URL to https://api.mioufun.top/v1, or use the OpenAI-compatible URL from the console and make sure it ends with /v1.
  6. Save and enable it.
  • Enable applying settings to the Claude Code plugin.
  • Enable skipping the initial Claude Code installation confirmation.
  • Use clear names for different channels to avoid selecting the wrong one.

After switching channels, reopen the terminal or restart the corresponding client before testing.