CC-Switch Setup
CC-Switch is a cross-platform desktop configuration tool for managing providers across Claude Code, Codex, OpenCode, OpenClaw, and similar CLI tools. It is useful when you do not want to edit multiple config files manually.
When to use it
- You want a GUI for managing multiple CLI tools
- You need to switch between model providers quickly
- You do not want to maintain
settings.json,config.toml, or environment variables manually
Install CC-Switch
Open the CC-Switch download page, choose the version for your operating system, and install it.
After installation, open CC-Switch and go to the provider configuration page.
Add model-go as a provider
Create a new provider in CC-Switch and use the following values:
| Setting | Value |
|---|---|
| Name | model-go |
| API Key | your model-go token (Get a token) |
| Claude / Anthropic Base URL | https://model-go.com |
| OpenAI Base URL | https://model-go.com/v1 |
| Gemini Base URL | https://model-go.com |
TIP
Different CLI tools may require different Base URLs. Claude Code usually uses https://model-go.com; Codex and OpenAI-compatible tools usually use https://model-go.com/v1.
Configure Claude Code
To configure Claude Code through CC-Switch:
- Select Claude Code in CC-Switch
- Select or create the
model-goprovider - Set the API endpoint to
https://model-go.com - Enter your model-go token as the API Key
- Save and apply the configuration
- Return to the terminal and run:
claudeIf Claude Code still asks you to sign in or fails to connect, see the Claude Code FAQ.
Configure Codex
To configure Codex through CC-Switch:
- Select Codex in CC-Switch
- Select or create the
model-goprovider - Set Base URL to
https://model-go.com/v1 - Enter your model-go token as the API Key
- Set the model name to the request name shown in the Models page
- Save and apply the configuration
WARNING
Codex requires the /v1 suffix. Make sure the URL is https://model-go.com/v1.
Configure OpenClaw
If you use CC-Switch to manage OpenClaw, follow the provider fields in OpenClaw Setup, using the same model-go token and model names.
Common issues
CLI did not pick up the config
- Close and reopen your terminal
- Confirm CC-Switch applied the configuration to the selected tool
- Check whether the current project directory overrides the same environment variables
Model unavailable
- Confirm the token group includes the target model
- Confirm the model name matches the Models page
- Create separate tokens for different tools to make usage tracking and troubleshooting easier
API Key error
Open Token Management and check the token status. If a token is leaked or invalid, delete it and create a new one.