Claude Code model router
Magpie
Menu bar app that points Claude Code and Codex at alternative models like Kimi or DeepSeek.
Install
git clone https://github.com/yetone/magpie.gitFrom the README
magpie Every agent's model. One place. Claude Code on Kimi. Codex on DeepSeek. Gemini CLI on GLM. OpenCode on your ChatGPT plan. Switch any of them from the menu bar. One local gateway serves them all, and when a quota runs out, it quietly moves on to your next account. Sponsors           Download · Docs · Reference · Plugins · Discord · English · 简体中文 Is magpie for you? Each agent keeps its model in its own file, in its own format, with its own keys and base URLs. A subscription you pay for works in one agent and nowhere else. magpie puts all of that behind one app and one local gateway: - Pick any model for any agent from one list. magpie edits the one key that matters in the agent's own config. - Use one provider everywhere: an API key, a local model, or the Claude, ChatGPT, Copilot, Gemini or Grok plan you're signed in to. - Keep going when a quota runs out: a provider's next account takes over, and a routing group moves on to another model or provider, so the agent never sees the error. With one account and no group there is nothing to move to, and the error reaches the agent. - Keep your secrets off the vendor's servers: once you turn masking on in Settings → Privacy (it's off by default), keys, passwords and emails in a prompt are masked on your computer before the request leaves it, and put back in the reply. It's for you if you use more than one agent, more than one provider, or more than one account. If you use one agent on its vendor's own plan and that's enough, you don't need it. Runs on macOS, Windows and Linux (menu bar app, window, TUI, web UI and CLI), in Docker, and on Termux. Quick start 1 · Install. Download the app from usemagpie.ai, or…
Details
- Repository
- yetone/magpie
- Website
- usemagpie.ai
- Language
- Go
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- claude-codecodexdeepseekgemini-clillmmacos
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is Magpie?
Menu bar app that points Claude Code and Codex at alternative models like Kimi or DeepSeek. It is a model router for Claude Code, from yetone/magpie on GitHub.
How do I install Magpie?
Clone yetone/magpie from GitHub and follow the setup steps in its README.
Is Magpie popular?
yetone/magpie has 29,027 GitHub stars and 2,482 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.
More model routers & proxies
9router
32kdecolua/9router
Connects Claude Code and other coding tools to free model providers through one router.
LibreChat
47kLibreChat-AI/LibreChat
Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
OmniRoute
84kcheaper-inference/OmniRoute
Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
Reverse Skill
44kzhaoxuya520/reverse-skill
Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端
Caveman
117kJuliusBrussee/caveman
why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Claude Relay Service
13kWei-Shaw/claude-relay-service
Self-hosted relay that pools Claude and other subscriptions behind one endpoint for Claude Code.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.