Skip to content

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.

↗ Open CC Switch Download

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:

SettingValue
Namemodel-go
API Keyyour model-go token (Get a token)
Claude / Anthropic Base URLhttps://model-go.com
OpenAI Base URLhttps://model-go.com/v1
Gemini Base URLhttps://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:

  1. Select Claude Code in CC-Switch
  2. Select or create the model-go provider
  3. Set the API endpoint to https://model-go.com
  4. Enter your model-go token as the API Key
  5. Save and apply the configuration
  6. Return to the terminal and run:
bash
claude

If 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:

  1. Select Codex in CC-Switch
  2. Select or create the model-go provider
  3. Set Base URL to https://model-go.com/v1
  4. Enter your model-go token as the API Key
  5. Set the model name to the request name shown in the Models page
  6. 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.