Magpie
Open-source local gateway and menu-bar app that pools Claude, ChatGPT, Copilot, and domestic coding plans across coding agents.
At a Glance & Reviews
Community Discussions (5)
- 卸载cc-switch,强烈推荐Magpie 2026-11-15 · 23 pts
- AI 编程工具越用越多,模型配置越来越乱:用 Magpie 把它们管起来 2026-11-11
- Magpie 实战教程:一个本地网关,让 Claude Code 跑 Kimi、Codex 跑 DeepSeek 2026-11-04 · 2 pts
- 我用 AI 做了一个跨平台的PopClip:拾趣Magpie 2026-10-11 · 30 pts
About Magpie
### One local model pool for every AI subscription you pay for
Developers frequently split budgets across Claude Max, ChatGPT Pro, GitHub Copilot, GLM Coding Plan, Kimi Code, or Volcengine packages, yet each subscription normally stays locked inside its own client. Magpie runs a local gateway on 127.0.0.1:3425 paired with a menu-bar manager so Claude Code, Codex, Gemini CLI, OpenCode, or Cursor CLI can draw from all of your subscriptions, pay-as-you-go API keys, and local models in one place.
### Cross-protocol routing, automatic failover, and secret masking
Magpie translates transparently between OpenAI Chat/Responses, Anthropic Messages, and Gemini API formats while preserving streaming, tool calls, and reasoning traces. When one provider hits rate limits or exhausts quota, routing rules automatically fail over to the next available account. Built-in masking scrubs secrets before prompts leave your machine, while a unified dashboard tracks token usage and cache hit rates.
### MIT open-source cost model
Magpie is free and open source under the MIT license across macOS (Apple Silicon and Intel), Windows, and Linux (desktop, CLI, TUI, and web UI). You only pay for the underlying model subscriptions or API keys you connect.
Frequently Asked Questions
Is Magpie free?
Yes. Magpie is free to use. Check the official site for current plans and limits.