Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By iqbal-rashedv0.0.3MITIn 1 marketplace
Switch Claude Code between several LLM API providers, from Anthropic to Kimi or DeepSeek, with one command. Profiles store your API keys, and on macOS an opt-in setting also swaps the keychain login between profiles.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Plugin & CLI tool to switch between LLM providers in Claude Code
A powerful tool that enables you to manage and switch between multiple LLM API providers for Claude Code. Available as both a Claude Code plugin and a standalone CLI.
npm install -g claude-provider
This installs both the Claude Code plugin and the CLI tool.
Use the provider commands directly within Claude Code via slash commands.
Via Marketplace:
# Add the marketplace
/plugin marketplace add iqbal-rashed/claude-provider-plugin
# Install the plugin
/plugin install provider@claude-provider-plugin
/provider:switch <profile_name>
Switch to a different provider profile instantly.
/provider:list
View all available profiles and see which one is currently active.
/provider:add <name>
Create a new profile from a preset or custom configuration. You'll be prompted for:
custom/provider:snapshot <name>
Save your current ~/.claude/settings.json as a named profile for later use.
/provider:delete <profile_name>
Remove a profile you no longer need.
After installation, you can use claude-provider or the shorthand cpr from your terminal.
claude-provider
# or
cpr
Launches an interactive menu to:
claude-provider <provider_name>
# or
cpr kimi
Switch directly to a provider by name.
claude-provider --list
# or
cpr -l
Display all installed providers with the active one highlighted.
When multiple profiles target the same Anthropic account (e.g. a Pro plan and a Team plan on one login), settings.json alone isn't enough to switch — Claude Code authenticates via an OAuth blob in the macOS keychain. The credential subcommand snapshots that blob per profile so switch can restore the correct one.
# Snapshot the current keychain credential for the active profile
cpr credential save anthropic
# Restore a previously saved credential to the keychain
cpr credential restore anthropic
# List saved credentials
cpr credential list
# Auto-restore on switch (opt-in via env var)
CPR_SWAP_CREDENTIALS=1 cpr switch anthropic-team
macOS only. Without CPR_SWAP_CREDENTIALS the switch command never touches the keychain, so existing users are unaffected.
| Provider | Preset Key | Default Model |
|---|---|---|
| Anthropic | anthropic | claude-sonnet-4.5 |
| Z.ai (GLM) | zai | glm-4.7 |
| MiniMax | minimax | minimax-m2.1 |
| Kimi (Moonshot) | kimi | kimi-k2.5 |
| Qwen (DashScope) | qwen | qwen-max-latest |
| DeepSeek | deepseek | deepseek-chat |
| Custom | custom | User defined |
💡 Tip: When using a preset, you can optionally specify a custom model to override the default.
~/.claude/settings.<name>.json~/.claude/settings.jsonBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub iqbal-rashed/claude-provider-plugin --plugin providerPlugins from other owners that cover similar ground