# magpie

One model switcher and gateway for Claude Code, Codex, Gemini CLI, and other agents.

HTML: https://softbests.com/software/magpie
Markdown: https://softbests.com/software/magpie.md
Website: https://usemagpie.ai/

- Category: [Agent infrastructure](https://softbests.com/category/agent-tools)
- Pricing: Open source
- Platforms: macOS, Windows, Linux
- Underrated

## Best for

Agent power users who want to route each tool to the cheapest or best model without editing configs.

## Why it deserves attention

magpie runs a local gateway that translates between provider APIs, so Codex can call DeepSeek, Claude Code can use Kimi, and Gemini CLI can reach GLM without per-tool configuration. Add a provider once, then switch models from a menu bar app, and keep using existing Claude or ChatGPT subscriptions alongside API keys and local Ollama models. It is MIT-licensed with 28,000 GitHub stars and free, with macOS, Windows, and Linux builds. Routing across providers can break tool-calling or vision features, so verify critical workflows after switching.

## Can replace

- LiteLLM

## Related and alternatives

- [Claude Code](https://softbests.com/software/claude-code)
- [Codex CLI](https://softbests.com/software/codex-cli)
