Claude Code Provider Switching Kit — Development skill for Claude Code
Switch Claude Code between Anthropic, GLM, and OpenRouter (including free models) with one command.
How to install Claude Code Provider Switching Kit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open riccardovandra/claude-code-provider-switching-kit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Provider Switching Kit does
Switch Claude Code between Anthropic, GLM, and OpenRouter (including free models) with one command.
Alternatives in Development
- GLM Skills — Official skills for the GLM family of models 269 ★
- Ship Studio — The professional studio for modern development — build it, ship it, host it without leaving the app 249 ★
- Devcontainer Features — Anthropic Dev Container Features, including Claude Code CLI 244 ★
README
Claude Code Provider Switching Kit
Switch Claude Code between **Anthropic**, **GLM**, and **OpenRouter** (including free models) with one command.
No code changes. No config juggling. Just `claude-switch glm` and you're running on a different provider.
What's included
profiles/
anthropic.json # Default Anthropic API (best quality)
glm.json # GLM via z.ai (budget-friendly)
openrouter.json # OpenRouter (free models included)
claude-switch.sh # The switching script
Quick Setup (2 minutes)
1. Create the profiles folder
mkdir -p ~/.claude/profiles
2. Copy everything into place
cp profiles/*.json ~/.claude/profiles/
cp claude-switch.sh ~/.claude/profiles/claude-switch.sh
chmod +x ~/.claude/profiles/claude-switch.sh
3. Add your API keys
Edit each profile file in `~/.claude/profiles/` and replace the placeholder keys:
- Anthropic - get your key at console.anthropic.com
- GLM - get your key at z.ai
- OpenRouter - get your key at openrouter.ai
4. Add the alias
Add this to your `~/.zshrc` (or `~/.bashrc`):
alias claude-switch="~/.claude/profiles/claude-switch.sh"
Then reload:
source ~/.zshrc
5. Switch providers
claude-switch anthropic # Best quality, full cost
claude-switch glm # Solid quality, minimal cost
claude-switch openrouter # Free models, great for learning
Provider Comparison
| Provider | Cost | Quality | Extended Thinking | Best For |
|---|---|---|---|---|
| Anthropic | ~$200/mo heavy use | Best | Yes | Production work, complex tasks |
| GLM | ~$5-15/mo | Good (close to Sonnet) | No | Daily work, drafting, research |
| OpenRouter | Free tier available | Variable | No | Learning, testing, simple tasks |
What stays
Related Skills
Claude Code Provider Switcher
Switch Claude Code between Anthropic, DeepSeek, GLM, Kimi, Qwen & MiniMax; Manage your skills conveniently
Claude Router
Switch Claude Code between Anthropic and any 9Router provider, in the terminal or the VSCode panel, on Windows
Claude Code Delegate
Claude Code plugin: delegate bounded coding sub-tasks to external frontier models (Qwen, Kimi, DeepSeek, GLM,
Swisscode
Run Claude Code with multiple Claude Pro/Max accounts: usage limits, one-command switching, a localhost proxy
Halo Harness
Halo Harness: an intuitive, Claude Code-compatible agent harness that drives DeepSeek, GLM, Kimi, Qwen and Cla
Aswap Agent Account Swap
aswap — agent account swap: switch between multiple Claude Code and OpenAI Codex accounts automatically before
Related Agents
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
Glm Agent
Runs Z.AI GLM on the user's GLM Coding Plan. Three modes - consult (direct API call, 1M context, for inputs to
Review AI Systems
Product review committee — AI Systems Engineer. Dispatched in P2, P3, P4, P5 (AI system spec), P6, P7 to revie