🎉 v3.16.3 is live

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.

90.4kStars
7.0MDownloads
7Supported apps
MITOpen source
CC Switch
🐞🐧
🔧📖
◷ 10 minutes ago ↻Used: 672 · Remaining: 66 USD
✓ In use

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.

1

Manage seven AI coding apps

Configure providers for Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, and Hermes Agent from one interface.

2

Automatic failover

Local routing includes circuit breakers, health checks, and failover queues so requests can move to a backup provider when the primary fails.

3

Usage and quota visibility

Track requests, tokens, cache hits, cost, and subscription quota with date filters and custom model pricing.

4

Secure local storage

Provider settings and API keys stay in a local SQLite database with versioned schema migrations.

5

MCP, Skills, and sessions

Manage MCP servers, Skills, Prompts, Hermes Memory, and cross-app session recovery in one place.

6

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.

1

Add providers

Connect Claude, OpenAI-compatible, OpenRouter, or other AI coding providers in the desktop app.

2

Enable local routing

Turn on the local routing service so supported coding tools can send requests through one controlled endpoint.

3

Route coding requests

Switch active providers, apply failover, and keep Claude Code or other tools working without editing project code.

4

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.

CapabilityCC SwitchManual env varsSingle API proxyCustom scripts
Multi-app provider switchingBuilt for seven AI coding appsUsually one shell or project at a timeDepends on proxy supportRequires maintenance
Local routing controlDesktop-managed local endpointNo central routing layerProxy-specific behaviorPossible but fragile
Failover and health checksBuilt-in routing failoverManual recoveryVaries by proxyMust be implemented
Usage and quota visibilityRequests, tokens, cost, quota, and cache hitsNot trackedOften limited to proxy logsMust be built
Open the full comparison

Local routing without editing your code

Turn on local routing to get format conversion, hot switching, failover, request logs, and usage statistics.

Learn local routing

Frequently 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.