> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CC Switch

CC Switch is a cross-platform configuration manager for AI coding tools. It centralizes model provider settings from different tools in one place, so you can switch between API backends with one click without editing configuration files manually. It supports popular tools such as Claude Code, Claude Desktop, Codex, and Gemini CLI, making it suitable for individual developers and teams that frequently switch between model services.

By connecting to Interface AI, you can use directly accessible API services with Claude Code and other agents in CC Switch. No project code changes are required: create a custom provider, enter the endpoint and API key, and save it.

## Key Features of CC Switch

### Visual Configuration Management

All provider configurations are stored in a local database and can be created, edited, queried, and deleted through the interface. You do not need to edit JSON files or repeatedly configure environment variables.

### One-Click Switching

More than 50 provider presets are built in. Switching takes one click, and changes take effect without restarting the agent.

### Unified Management for Multiple Tools

* Claude Code and Claude Desktop
* Codex and Gemini CLI
* OpenCode, OpenClaw, Hermes, and more
* Cross-application synchronization of MCP services, prompts, and Skills

### Cross-Platform Support

CC Switch supports Windows, macOS, and Linux, including major distributions.

### Configuration Safety

Atomic writes and automatic backups are used. Configuration files and backups are stored under `~/.cc-switch/`, so existing settings are not damaged during switching.

## Connect Interface AI to CC Switch

Complete the integration in three steps.

### 1. Get an API Key

1. Sign in to [jiekou.vip](https://jiekou.vip), register, and open the management console. Click “My” in the upper-right corner and select “API Key Management”.
2. Click “Add” and enter a key name. Use a recognizable name such as `CCSwitch` so you can distinguish keys for different purposes in the console.
3. Copy and record the generated key. The console cannot display it again, so store it securely for the next step.

<img src="https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/common_apikey_menu.png?fit=max&auto=format&n=jZWTU8DENg390ghC&q=85&s=c9e84d535312e3f853410855663fd2e7" alt="Interface AI API key management" width="1893" height="1056" data-path="images/common_apikey_menu.png" />

<img src="https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/create-apikey.png?fit=max&auto=format&n=jZWTU8DENg390ghC&q=85&s=e3bdb291936bb3b2b429a06e4fe1cb4f" alt="Create an Interface AI API key" width="948" height="383" data-path="images/create-apikey.png" />

### 2. Add a Provider in CC Switch

1. Open CC Switch, select **Claude Code** on the left, and click “Add Provider” in the upper-right corner.
2. Select “Custom Configuration” from the preset list and enter a provider name such as “Interface AI”.
3. Enter the Base URL:
   * Anthropic models: `https://api.highway.ai/anthropic`
   * OpenAI models: `https://api.highway.ai/openai`
4. Enter the key copied in the previous step, retrieve the model list, and select the model you want to use.
5. Save the provider, select it, and click “Enable”. The active provider will then appear in the system tray.

<img src="https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-01.png?fit=max&auto=format&n=jZWTU8DENg390ghC&q=85&s=19ab8b903221ee3d7986dbdf6b9a6142" alt="Create a CC Switch provider 01" width="1280" height="745" data-path="images/cc-switch-01.png" />

**Anthropic model configuration:**

<img src="https://mintcdn.com/jiekou/eDAqufQRjWRL9tHX/images/cc-switch-02.png?fit=max&auto=format&n=eDAqufQRjWRL9tHX&q=85&s=05f2e74816de26ca9ec1d05daa59e607" alt="Configure an Anthropic model in CC Switch" width="1280" height="755" data-path="images/cc-switch-02.png" />

**OpenAI model configuration:**

<img src="https://mintcdn.com/jiekou/Bqp_atewVpXHaMGQ/images/cc-switch-03.png?fit=max&auto=format&n=Bqp_atewVpXHaMGQ&q=85&s=00a727472c219467fd71074cc2afa439" alt="Configure an OpenAI model in CC Switch" width="1280" height="720" data-path="images/cc-switch-03.png" />

### 3. Verify the Configuration

Open a terminal and run `claude`. If the conversation starts normally, the integration is working. After switching providers in Claude Code, you can start a new session directly without restarting the application.

If an error occurs, check the following:

* **404**: Check whether the path at the end of the endpoint is missing or duplicated.
* **401 or 403**: Return to the Interface AI console and confirm that the API key is active.

<img src="https://mintcdn.com/jiekou/jZWTU8DENg390ghC/images/cc-switch-validate.png?fit=max&auto=format&n=jZWTU8DENg390ghC&q=85&s=65f3fcec92b620ec430ff59c0d2eddad" alt="Validate the CC Switch configuration" width="1280" height="750" data-path="images/cc-switch-validate.png" />
