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

# CCSwitch

CC Switch is a cross-platform desktop app for managing AI coding tools. It keeps provider configurations for Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw, and Hermes in one place.

**Features**

* Switch API provider configurations with one click.
* Share provider settings across applications.
* Check usage and remaining balance.
* Add common providers using preset templates.
* Manage Model Context Protocol (MCP) servers.
* Save and switch system prompts for different tasks.
* Install and manage skills.

**Supported platforms**

* Windows 10 or later
* macOS 12 (Monterey) or later
* Ubuntu 22.04+ / Debian 11+ / Fedora 34+ (x64 / ARM64)

See the [official documentation](https://ccswitch.io/zh/docs).

Download the installer for your operating system from the [CC Switch releases](https://github.com/farion1231/cc-switch/releases).

After installation, open CC Switch:

![CC Switch interface](https://static.geekai.co/storage/image-20260529211010394.png)

The navigation bar lets you configure each CLI separately. The following examples connect Codex, Claude Code, and Gemini CLI to GeekAI.

Select **Codex**, then click **+** in the upper-right corner to add a provider.

Select the custom configuration and enter a provider name, API key, base URL, and model name:

![Custom Codex provider settings](https://static.geekai.co/storage/image-20260907201645897.png)

CC Switch generates the corresponding `config.toml`:

![Generated Codex configuration](https://static.geekai.co/storage/image-20260907201820757.png)

Click **Add** to save the provider:

![Saving the Codex provider](https://static.geekai.co/storage/image-20260529212730813.png)

Find the provider in the list and test it before use:

![Codex provider list and test button](https://static.geekai.co/storage/image-20260529213326595.png)

Use **Edit** to change the model or its parameters, and **Test** to check that the provider is reachable.
If you have multiple providers, hover over the one you want and click **Enable** to switch to it.

Start Codex and send a request to verify the configuration:

![Testing the configured Codex provider](https://static.geekai.co/storage/image-20260907202704659.png)

Check your billing history for the corresponding charge:

![Codex request in billing history](https://static.geekai.co/storage/image-20260907202826327.png)

You can add Claude Code and Gemini CLI providers in the same way.

Select **Claude Code** and click **+** in the upper-right corner.

Enter the provider name, API key, base URL, and model name. Omit the trailing slash from the API URL.

![Claude Code provider settings](https://static.geekai.co/storage/image-20260907215422069.png)

![Claude Code endpoint settings](https://static.geekai.co/storage/image-20260907215551234.png)

> [!NOTE]
>
> For the Messages API, use `https://geekai.co/api` without `/v1`.

Click **Add**, enable the provider, and launch Claude Code to test it:

![Testing Claude Code](https://static.geekai.co/storage/image-20260907215336915.png)

Select **Gemini CLI** and follow the same steps to add and test its provider:

![Gemini CLI provider configuration](https://static.geekai.co/storage/image-20260529215354661.png)

![Testing the Gemini CLI provider](https://static.geekai.co/storage/image-20260529215650993.png)

> [!NOTE]
>
> Use `https://geekai.co/api` as the base URL without `/v1`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.