Claude Code

Keep Claude Code Working After Your Limit Runs Out

magpie is an open source app that lets you pick the model behind Claude Code and moves on to your next account when one runs out. How to set it up, the one command, and the three catches

2min read
1prompts to copy
6numbered steps
5sections

magpie is an MIT-licensed open source app that runs a small gateway on your computer. Your coding agents talk to it, and you choose which model answers each one.

Here's how to set it up, the one command, how failover works, and what to watch out for.

Step 1: install and add a provider

  1. Download the app from usemagpie.ai, or run: curl -fsSL https://usemagpie.ai/install.sh | sh
  2. Open magpie, go to Providers, then Add provider. Pick a preset (DeepSeek, Kimi, GLM, OpenRouter and more) and paste your API key.
  3. Or from the terminal: magpie provider add deepseek <your key>

Keep reading

Free, for an email.

Unlocks 4 more sections, 1 copy-paste prompt, the document version, and every other guide on the site, for free. Enter your email once to keep reading.

45,000+ follow where these guides come from.No spam. Unsubscribe in one click.

Read next