Download

Magpie alternatives for Codex and Claude Code

Tyler J. CagleUpdated 9 min read

Use Auto, the Mac app for all your coding agents, if you want every coding agent you use (Claude Code, Codex, Cursor, etc.) to share the AI subscriptions you already pay for without collecting keys or designing routes. It puts frontier and open-weight models in the model picker you already use, sends each task to the model that fits, and moves to the account with the most room left when one plan hits its limit. Magpie is a free, open-source app that runs one local gateway for your coding agents: you add each provider with a key or a sign-in, then pick a model for each agent or build the routing groups yourself. CC Switch, Claude Code Router, CLIProxyAPI and OpenRouter cover the other jobs people use Magpie for.

Download for macOSSwitch from Magpie

Auto wrote this post, and Magpie is the product closest to it. Each claim about another product comes from that product's own README, docs or site, linked where it is used and read on November 17, 2026 unless the sentence says otherwise.

What is Magpie?

Magpie is an MIT-licensed app by yetone that puts every coding agent's model choice in one place and serves them all from one local gateway at 127.0.0.1:3425 (README). The gateway speaks the OpenAI Chat, OpenAI Responses, Anthropic Messages and Gemini APIs and translates between them, so Claude Code can run on Kimi or Codex on DeepSeek. The repository was created on September 23, 2026, had about 38,000 GitHub stars on November 17, 2026, and shipped release 0.1.4401 that day.

Magpie finds the subscriptions your agents are signed in to by reading their sign-in files and the Keychain, and a switch under Settings, Privacy turns that off. Magpie vs Auto puts the two side by side in one table, and the Magpie switch page reads your providers.json and puts your agents back before you move over.

Why look for a Magpie alternative?

People look past Magpie when they want the model choice made for them instead of designed by them. Magpie applies the model you pick for each agent. Groups and intent routes do more, but you choose the members, the mode, the intents and the model that classifies each message:

None of that is a flaw if you want the control. It is the reason a Mac user who wants plans shared and a model picked for each task looks elsewhere.

How is Auto different from Magpie?

Auto comes with models included and picks one for each task on its own, with no keys to add and no routes to design. Auto adds frontier and open-weight models to the model picker in every coding agent you use, curated and kept current by the Auto team. Choose a model to send requests straight to it, or choose Auto and it works out how hard each task is: your plain-English rules go first, then it considers only models that clear the quality bar for the task. Hard work goes to the strongest model your plans cover, and quick work to the one that costs you least.

The landing page's examples show what that looks like (real routes follow your plans and rules): a commit message is quick work, so a low-cost open model writes it and the plan isn't touched, while a test that only fails on CI is hard, so it goes to GPT-6 Astra on the ChatGPT plan. Every request shows its model, what it cost and why. How AutoRouter picks a model walks through each step.

  1. Download Auto for macOS from autorouter.com.
  2. Open it, sign in or create a free account, sign in to your plans, allow Accessibility, and click Enable for each app.
  3. Start a new session and choose AutoRouter as the model: in Codex, from the model menu under the message box; in Claude Code, with /model.

Connect the AI subscriptions you already pay for, and any of them can run in any of your coding agents, so your Claude plan works inside Codex and your ChatGPT plan inside Claude Code (how that works). When one account reaches its limit, Auto moves on to the account with the most room left before it spends any credit, with no group to build:

Auto Free costs $0 a month and connects two subscriptions. Pro includes usage each month, connects any number of plans and adds every other model at the provider's price plus 10%. New accounts get a week of Pro, or until its included usage is spent, whichever comes first.

The trade-offs are real. Magpie is free and open source, runs on macOS, Windows and Linux, supports far more agents, and sends requests from your machine to the providers you add. Auto runs on macOS 14 or later and works with Codex (the app and the CLI), the Claude Code CLI, Cursor, Claude Desktop, T3, OpenCode, Pi and Terminal. Its requests pass through Auto's servers on their way to each provider; it doesn't store transcripts, but keeps the message that opens each request, up to 4,000 characters, to review routing (Auto privacy).

Which other Magpie alternatives are there?

Four more tools cover what people use Magpie for, each best at one job:

They differ most in who picks the model and what pays for requests:

ToolWho picks the modelRuns onWhat paysSetup
AutoAuto, per task, after your rulesmacOS 14 or laterYour Claude, ChatGPT, Grok and Gemini plans first; Pro usage for other modelsInstall, sign in to plans, click Enable
MagpieYou, per agent, or groups and intent rules you buildmacOS, Windows, Linux, Docker, TermuxYour provider keys and signed-in plansAdd providers, pick a model per agent
CC SwitchYou, by switching providersmacOS, Windows, LinuxYour provider keys and signed-in accountsAdd a provider from a preset, click Enable
Claude Code RouterRules you writeYour machineYour API keys or imported sign-insAdd providers and keys, write rules
CLIProxyAPIYour client names the modelYour machine or serverThe accounts you sign in to, or upstream keysInstall, config file, log in each account
OpenRouterYou, by model IDOpenRouter's cloudOpenRouter credits, 5.5% fee on purchasesAPI key and three variables

What is an LLM router? explains the kinds of routers these tools are built on, and Model routers for Claude Code and Codex, compared lines up more of them.

If you want another Mac menu bar option, see VibeProxy vs Auto. If you already have your providers configured, see how to switch from CC Switch to Auto.

Questions

Is Magpie free?

Yes. Magpie is MIT licensed, and its site lists no paid tier (usemagpie.ai). You pay the providers and plans you connect to it separately.

Does Magpie work with Codex and Claude Code?

Yes. Both are on its list of supported agents, and its CLI sets them with commands such as magpie claude deepseek/deepseek-v4-pro and magpie codex moonshot/kimi-k2.5 (README). The next session uses the new model.

Is yetone's Magpie the same as the Magpie window upscaler?

No. The coding agent gateway is yetone/magpie, at usemagpie.ai. Blinue/Magpie is an unrelated Windows app that upscales game windows, and Magpie's README says it is not affiliated with Apache Magpie.

Does Auto run on Windows or Linux?

No. Auto runs on macOS 14 or later, and Claude Code needs Node 22.18 or later. On Windows or Linux, Magpie, CC Switch, Claude Code Router and CLIProxyAPI all run.

Sources