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
- Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
- GLM Skills — Official skills for the GLM family of models 269 ★
- Devteam — Run a team of local coding agents in your terminal 264 ★
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 Router
Switch Claude Code between Anthropic and any 9Router provider, in the terminal or the VSCode panel, on Windows
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
Claude Code Config Switcher
Switch between multiple Claude Code providers (Kimi, GLM, MiniMax, etc.) with a single command.
Free Claude Code Setup
Run Claude Code's CLI + agent tooling on OpenRouter's free models. One script
Open Cowork
open-cowork is a lightweight, simplified take on Claude cowork that supports multiple provider APIs, including
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
Glm
Hands a well-scoped coding task (implement, refactor, write tests, fix a bug) to GLM 5.3 Flash via OpenRouter