CC Switch
AI coding provider switcher and local routing control center
CC Switch is an open-source desktop app for switching AI coding providers, routing Claude Code requests locally, tracking usage, and managing MCP, Skills, Prompts, and sessions across supported developer tools.
What is CC Switch?
CC Switch is a local AI coding provider router and usage manager for developers who work with multiple AI coding tools. It centralizes provider switching, request routing, failover, usage visibility, and extension management without turning your website or codebase into the routing layer.
Why developers use CC Switch
One desktop app for providers, local routing, usage, sessions, and extensions.
Manage seven AI coding apps
Configure providers for Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, and Hermes Agent from one interface.
Automatic failover
Local routing includes circuit breakers, health checks, and failover queues so requests can move to a backup provider when the primary fails.
Usage and quota visibility
Track requests, tokens, cache hits, cost, and subscription quota with date filters and custom model pricing.
Secure local storage
Provider settings and API keys stay in a local SQLite database with versioned schema migrations.
MCP, Skills, and sessions
Manage MCP servers, Skills, Prompts, Hermes Memory, and cross-app session recovery in one place.
Free and open source
CC Switch is MIT licensed, community driven, and ready for contributions.
How CC Switch works
The workflow is designed for developers who want provider flexibility without editing every project or shell profile.
Add providers
Connect Claude, OpenAI-compatible, OpenRouter, or other AI coding providers in the desktop app.
Enable local routing
Turn on the local routing service so supported coding tools can send requests through one controlled endpoint.
Route coding requests
Switch active providers, apply failover, and keep Claude Code or other tools working without editing project code.
Monitor usage
Review requests, tokens, cache hits, cost, quota, and routing logs from one local dashboard.
Best use cases for CC Switch
Use CC Switch when you need reliable Claude Code provider switching, OpenAI-compatible routing, failover, and usage visibility from one local control plane.
Claude Code provider switching
Switch Claude Code providers from a desktop app without repeatedly editing shell profiles or project settings.
OpenAI-compatible and Codex routing
Route Claude Code through supported OpenAI-compatible gateways, Codex OAuth providers, or Claude-compatible APIs.
Local failover for coding workflows
Keep AI coding sessions moving by routing requests to a backup provider when the primary provider is unavailable.
Usage and quota tracking
Review requests, tokens, cache hits, cost, quotas, and routing logs before a provider limit surprises your team.
CC Switch compared with alternatives
Manual environment variables, one-off proxy configs, and custom scripts can work for small setups. CC Switch adds a desktop-managed routing layer, usage visibility, and cross-tool configuration for production AI coding workflows.
| Capability | CC Switch | Manual env vars | Single API proxy | Custom scripts |
|---|---|---|---|---|
| Multi-app provider switching | Built for seven AI coding apps | Usually one shell or project at a time | Depends on proxy support | Requires maintenance |
| Local routing control | Desktop-managed local endpoint | No central routing layer | Proxy-specific behavior | Possible but fragile |
| Failover and health checks | Built-in routing failover | Manual recovery | Varies by proxy | Must be implemented |
| Usage and quota visibility | Requests, tokens, cost, quota, and cache hits | Not tracked | Often limited to proxy logs | Must be built |
Local routing without editing your code
Turn on local routing to get format conversion, hot switching, failover, request logs, and usage statistics.
Learn local routingFrequently asked questions
Short answers for search engines, AI assistants, and developers evaluating CC Switch.
What is CC Switch?
CC Switch is an open-source desktop control center for AI coding tools. It helps developers switch Claude Code providers, route requests locally, track usage, and manage MCP, Skills, Prompts, and sessions across supported coding apps.
Is ccswitch.co the official CC Switch website?
Yes. ccswitch.co is the official CC Switch website for product information, documentation, guides, release notes, and links to the open-source GitHub repository.
Can CC Switch switch Claude Code providers without editing project code?
Yes. CC Switch can manage provider configuration and local routing so Claude Code requests go through the selected provider without repeatedly editing each project or shell profile.
Can CC Switch route Claude Code to OpenAI-compatible or Codex providers?
Yes. With local routing enabled, CC Switch can route Claude Code requests through supported Claude-compatible, OpenAI-compatible, Codex OAuth, and gateway providers when configured correctly.
Does CC Switch replace Claude Code?
No. CC Switch is not an official Claude product and does not replace Claude Code. It manages provider configuration and local routing for tools such as Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, and Hermes Agent.
How does local routing work?
CC Switch runs a local routing service that can translate request formats, select the active provider, apply failover rules, and record request and usage data before forwarding traffic to the provider you configured.
Where are API keys stored?
Provider settings and API keys are stored locally on your device in the CC Switch data store. CC Switch does not host or sell model-provider credentials.
Is CC Switch free and open source?
Yes. CC Switch is MIT licensed, free to download, and developed in the open on GitHub.
Start here
Explore the main product pages and technical references.
Claude Code Provider Switcher
Switch Claude Code providers with local routing, failover, and usage tracking.
CC Switch GitHub
Find the official repository, releases, license, issues, and open-source project links.
Desktop App
Use CC Switch as a local desktop app for Windows, macOS, and Linux AI coding workflows.
Docs
Installation, providers, local routing, extensions, and FAQ.
Compare
See how CC Switch differs from manual provider switching and proxy scripts.
Guides
Official and community tutorials for real-world routing setups.