Documentation Index
Fetch the complete documentation index at: https://docs.gravitex.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
| Feature | Description |
|---|---|
| Prompts manager | Markdown editor with cross-app sync |
| Skills installer | Install from GitHub repo or ZIP file |
| Session browser | View and resume conversation history |
| Cloud sync | Dropbox, OneDrive, iCloud, WebDAV |
| Deep link | ccswitch:// for one-click config import |
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
Sign in
Open the GravitexAI console and register or log in.
Create a token
Visit API Keys and click โCreate new tokenโ.
Step 3 โ Configure GravitexAI in CC Switch
Open Provider management
Launch CC Switch, open the Provider page, click โAddโ, and choose Custom Gateway.
Fill in the form
| Field | Value |
|---|---|
| Name | GravitexAI |
| API URL | https://api.gravitex.ai |
| API Key | Paste the key from Step 2 |
| Enabled apps | At least enable Claude Code (turn on Codex / Gemini CLI / OpenCode / OpenClaw as needed) |
Step 4 โ Add models
Add the GravitexAI model IDs you intend to use: Claude โ standard models| Display name | Model ID | Notes |
|---|---|---|
| Claude Opus 4.7 | claude-opus-4-7 | Latest flagship โ top choice for complex tasks |
| Claude Sonnet 4.6 | claude-sonnet-4-6 | Strong coding ability, best value |
| Claude Sonnet 4.5 | claude-sonnet-4-5-20250929 | 200K long context |
| Claude Haiku 4.5 | claude-haiku-4-5-20251001 | Fast and light โ great for the haiku thread |
| Display name | Model ID | Notes |
|---|---|---|
| GPT 5.5 | gpt-5.5 | OpenAIโs latest flagship |
| GPT 5.1 Codex | gpt-5.1-codex | Codex-only โ pair with Responses API in OpenCode |
| Gemini 3.5 Flash | gemini-3.5-flash | High throughput / low latency |
| Gemini 3.1 Pro Preview | gemini-3.1-pro-preview | Deep reasoning |
| Kimi K2 | kimi-k2-250905 | Great price/perf for long text and Chinese tasks |
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:| Tool | Detailed config |
|---|---|
| Claude Code | /en/integrations/claude-code |
| Codex CLI | /en/integrations/codex |
| Gemini CLI | /en/integrations/gemini-cli |
| OpenCode | /en/integrations/open-code |
| OpenClaw | /en/integrations/openclaw |
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