1. Overview
CC Switch is a Tauri 2-based desktop app that unifies management of Claude Code, Codex CLI, Gemini CLI, OpenCode and OpenClaw. Switch API providers, models and keys through a GUI โ no more hand-editing~/.config/*, TOML or JSON files across five different tools.
One-click switching
Manage 5 CLI tools in one GUI โ no more manual config editing
Multi-model aggregation
Pair with GravitexAI for one key to Claude / GPT / Gemini / Kimi
Usage tracking
Built-in Usage Dashboard for spend, requests and token usage
Smart failover
Local proxy with hot-switching, auto-failover and circuit breaking
Project info
- Repo: github.com/farion1231/cc-switch
- License: MIT
- Author: Jason Young (farion1231)
2. Core Features
2.1 Provider management
- 50+ presets built-in (including AWS Bedrock, NVIDIA NIM, etc.)
- Custom gateway support (which is how GravitexAI plugs in)
- One-click switching, drag-to-reorder, import/export configs
- System-tray quick access
2.2 MCP server management
- Centrally manage MCP server configs across all CLI tools
- Two-way sync โ change once, applied everywhere
2.3 More
3. Quick Start
Step 1 โ Install CC Switch
- macOS
- Windows
- Linux
System requirements: Windows 10+, macOS 10.15 (Catalina)+, Ubuntu 22.04+ / Debian 11+ / Fedora 34+.
Step 2 โ Get a GravitexAI key
1
Sign in
Open the GravitexAI console and register or log in.
2
Create a token
Visit API Keys and click โCreate new tokenโ.
3
Copy the key
Copy the generated key (format
sk-xxxxxxxxxx) and store it safely.Step 3 โ Configure GravitexAI in CC Switch
1
Open Provider management
Launch CC Switch, open the Provider page, click โAddโ, and choose Custom Gateway.
2
Fill in the form
3
Save
Click โAddโ. CC Switch syncs this configuration to the config files of every CLI tool you enabled.
Step 4 โ Add models
Add the GravitexAI model IDs you intend to use: Claude โ standard models
GPT / Gemini / Kimi(mix and match under the same provider)
Step 5 โ Switch and launch a CLI
With GravitexAI set as the current Provider, every enabled CLI tool automatically picks up the configuration. Launch any of them:4. Usage Guide
4.1 Manage multiple CLI tools
CC Switch can drive these tools concurrently:
All tools share the same Provider config โ switching takes effect everywhere.
4.2 Local proxy
CC Switch ships a local proxy server that provides:- Hot-switching โ change Provider without restarting the CLI
- Auto-failover โ fall back to a secondary Provider if the current one is down
- Circuit breaking โ stop sending requests when a Provider keeps failing
4.3 Backups
- Auto-backup keeps the last 10 versions
- Import / export full configs
- Cloud sync via Dropbox, OneDrive, iCloud, WebDAV
5. FAQ
Which OSes are supported?
Which OSes are supported?
Windows 10+, macOS 10.15 (Catalina)+, and major Linux distros (Ubuntu 22.04+, Debian 11+, Fedora 34+, Arch Linux).
Claude Code can't connect after configuration?
Claude Code can't connect after configuration?
Check in order:
- API key starts with
sk-and has no extra whitespace / newlines - Base URL for Claude Code is
https://api.gravitex.ai(no/v1) - Account has sufficient balance โ see the GravitexAI console
- CC Switch actually wrote the config to
~/.claude/ - Restart the terminal โ env-var changes need a new session
OpenCode errors out with gpt-5.1-codex?
OpenCode errors out with gpt-5.1-codex?
Codex-series models only support the Responses API. Add
"apiCompatibility": "responses" for that model in opencode.jsonc โ see the OpenCode guide for details.How do I migrate from manual configs?
How do I migrate from manual configs?
On first launch, CC Switch scans
~/.claude/, ~/.codex/, ~/.config/opencode/ and similar paths and imports existing setups automatically. You can also use Import config for backup files.What's the difference between standard and Thinking models?
What's the difference between standard and Thinking models?
Thinking models force a chain-of-thought before answering โ great for complex reasoning and architectural design. Standard models reply faster and suit everyday coding. GravitexAI variants ending in
-thinking are the reasoning versions.Does CC Switch itself cost anything?
Does CC Switch itself cost anything?
No. CC Switch is fully open-source (MIT). Only the API calls cost money โ billed at GravitexAIโs per-token rates.
6. Best Practices
7. References
CC Switch on GitHub
Source, issues and latest releases
Claude Code guide
Detailed Claude Code setup
GravitexAI console
Manage keys and usage
Model catalog
Browse 100+ mainstream AI models
