Who it is forDeveloper with two Claude or ChatGPT accounts who keeps getting cut off mid-task by a 5-hour limit
The problemWhen one subscription hits its limit, the agent stops with an error and you lose your flow.
The outcomeThe agent keeps answering because requests move to the next account or model in your routing group, with no error shown.
What you need first
- macOS, Windows, Linux, Docker or Termux
- At least one coding agent already installed (for example Claude Code, Codex or Gemini CLI)
- At least one provider: an API key, a local model server, or a signed-in subscription such as Claude, ChatGPT, Copilot, Gemini or Grok
- Bun is downloaded automatically the first time a plugin needs it
Steps
- Add each account or provider under Providers in the app
- Run: magpie group add "Opus anywhere" models=claude/claude-opus-5-5,copilot/claude-opus-5.5 routing=smart
- Run: magpie claude group/opus-anywhere
- Run: magpie quota to see what is left on every plan
Prompt for your agent
Using yetone/magpie, create a routing group from my <PROVIDER_A> and <PROVIDER_B> models with smart routing and point Claude Code at it. Then run magpie quota and confirm both accounts show up as group members.
Caveat. Failover only helps if you really have more than one account or model available. Using several accounts may conflict with a vendor's terms, so check them first.
About magpie
A menu bar app to pair any coding agent with any model, like Codex on DeepSeek. Part of this week's top 10 repos: ranked #9 on Repo Radar. View yetone/magpie on GitHub.
More with magpie
- Send quick questions to a cheap model and hard tasks to a strong one Use intent routing so a small model reads each turn and picks the model that fits it.
- Run your coding agent on a cheaper or different model Point Codex, Claude Code or Gemini CLI at DeepSeek, Kimi or GLM without hand-editing each agent's config.
- Point any base-URL tool at one local gateway Aim scripts and apps that take an OpenAI, Anthropic or Gemini base URL at magpie's local address.
- Use a plan you already pay for inside other agents Let OpenCode or Gemini CLI run on the ChatGPT, Claude or Copilot subscription you are already signed in to.
- Switch every agent's model setup with one named profile Save a Budget or Focus profile and flip all your agents between them in one move.
- Move your existing provider setup into one app Import providers from CC Switch, Claude Code, Codex or Alma instead of re-entering every key.
- Add a model login through an npm plugin Install an OpenCode or pi plugin so a sign-in flow becomes a usable provider for your agents.
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page