Claude Code Model Router — AI skill for Claude Code
A lightweight API gateway that lets you switch to third-party AI models when using Claude Code.
How to install Claude Code Model Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open luwill/Claude-Code-Model-Router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Model Router does
A lightweight API gateway that lets you switch to third-party AI models when using Claude Code.
Alternatives in AI
- Claude Code Switch — One-command model switcher for Claude Code (Only for Anthropic API) 655 ★
- Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★
- Brick SR1 — brick is a smart AI Models router, based on complexity & capabilities extraction from the query to the models 128 ★
README
[](https://www.npmjs.com/package/claude-code-model-router) [](https://www.npmjs.com/package/claude-code-model-router) [](https://github.com/luwill/Claude-Code-Model-Router/actions/workflows/ci.yml) [](https://www.npmjs.com/package/claude-code-model-router) [](LICENSE)
🔀 ccmr — Claude Code Model Router
**Switch between 40+ third-party models mid-conversation — no restarts, no config editing.**
ccmr is a lightweight gateway that runs on your machine: Claude Code talks to it, and it forwards every request verbatim to whichever model you pick — DeepSeek, Kimi, Qwen, GLM, MiniMax, Step, MiMo or Doubao Seed, 42 models across 8 vendors, all prewired. Type `/model kimi` in a session and the very next message runs on Kimi. When a key dies, the error tells you exactly which env var to fix, where to get a new key, and the command that verifies it. Config edits hot-reload in about a second. Loopback-only by default; everything stays local.
**English** · [简体中文](README.zh-CN.md)
$ npx claude-code-model-router@latest setup
Providers (key status from environment and .env):
1. DeepSeek DEEPSEEK_API_KEY [no key]
2. Kimi KIMI_API_KEY [no key]
... (18 entries, console URLs included)
Configure which providers? 1
Paste DEEPSEEK_API_KEY for DeepSeek (get one: https://platform.deepseek.com/): ********
Verify keys now with one tiny request per provider? [y/N] y
[OK] deepseek-v4-pro
Default model [deepseek-flash] (Enter = accept):
$ ccmr claude # into Claude Code — switch freely, in-session:
> /model kimi # last message was DeepSeek, this one is Kimi
>
Related Skills
Fallback
Show or change hmd's OmniRoute fallback-routing gate — whether Heimdall may route work to a third-party model,
Agent Switch
A free, lightweight AI gateway manager that lets Codex and Claude clients share a switchable, observable local
Ranger
Ranger — independent third-party profile of a public API surface, by API Evangelist. Ranger is an AI-powered q
Claude Glm Stack
Run Claude Desktop on Z.AI GLM (GLM Coding Plan) via third-party 3P gateway mode + tier-rewriting local proxy:
Deepseek Supervisor
"You should know" for Claude Code on third-party models such as DeepSeek: a side pass reviews the work every f
Prism
Prism is a SwiftUI menu bar companion that organizes Claude-compatible API services, whether they come from di
Related Agents
Integration Architect
External service integration specialist. NOT for application code (developer) or tests (tester).\n\nTrigger —
Dependency Vetting
Dependency & Model Vetting Agent (SSDF PW.4, AI PW.4.4). Read-only. Vets a proposed or changed third-party pac
Integration Dev
External API and third-party system integration specialist for Home Assistant, ZoneMinder, weather services, a