claude-code-switch

A shell tool that switches Claude Code between different AI model providers with one command. It is meant for people who use several providers with Claude Code.

Share on XLicense: MIT

Overview

Claude Code Switch, called ccm, is a shell tool that switches Claude Code between AI providers with one command. After installing with a script and running ccm config to enter API keys, a command like ccm glm switches to the GLM provider, and ccc glm global switches and launches Claude Code. It can set a default for all projects or override one project, and can save and switch between multiple Claude Pro accounts.

Key features

  • Switch providers with a short command such as ccm glm
  • Set defaults at user level or override per project
  • ccc command switches and launches Claude Code together
  • Save and switch between multiple Claude Pro accounts
  • Install script for zsh and bash

Best for

People who use several model providers with Claude Code and want to change between them quickly. The repository description says it is only for the Anthropic API.

Upstream
foreveryh/claude-code-switch
Fork on GitHub
Guo-astro/claude-code-switch
Upstream stars
664
Category
AI agents and LLM tools
Language
Shell
License
MIT
Forked
2025-10-18
Sync status
In syncLast synced 2026-09-29