Skip to content

CC-Switch (manage configs across tools) ​

CC-Switch is a cross-platform desktop config manager. It solves one annoying problem: config files for different AI CLI tools are scattered across different directories, and hand-editing them is error-prone.

If you want Claude Code, Codex, OpenCode and friends all pointed at the same API gateway, CC-Switch saves a lot of time over editing files by hand.

What you need ​

  • A Flash API key
  • These two values (you'll use them a lot):
    • Gateway URL: https://ai.flashapi.top
    • Claude Code / official Anthropic SDK: https://ai.flashapi.top (without /v1)
    • Codex / OpenAI SDK / OpenCode: https://ai.flashapi.top/v1

Pick your OS ​

What to enter in CC-Switch ​

Each tool is a little different. If you're new, use these:

  • Claude Code
    • API Base URL: https://ai.flashapi.top
    • API Key: your Flash API key
  • Codex
    • Base URL: https://ai.flashapi.top/v1
    • API Key: your Flash API key
  • OpenCode
    • API Base URL: https://ai.flashapi.top/v1
    • API Key: your Flash API key

Tip: get each tool working with its own manual guide first, then move the config into CC-Switch. It's the more reliable path.

One base URL for GPT, Claude and Gemini