Magpie: Add TeamoRouter in One Click (Base URL, API Key and Models)

Magpie is an open-source desktop app for macOS, Windows and Linux that lets you pick the model for each coding agent (Claude Code, Codex, OpenCode, Gemini CLI and others) from one list, served through one local gateway. Add TeamoRouter to Magpie once, and every agent it manages can use the models on your TeamoRouter key.

1. One-click import

Add to magpie

  1. Click the button. It opens Magpie (version 0.1.8 or later); if Magpie isn't installed, the page offers the download.
  2. Magpie shows what it would add: the provider TeamoRouter and the host api.teamorouter.com. Nothing is saved until you click Add.
  3. The link carries no API key. When Magpie asks for one, paste the key you created in the TeamoRouter dashboard.
  4. Magpie asks TeamoRouter which models it serves and lists them. Pick a model for each agent on Magpie's Agents page.

What the link fills in:

Field Value
OpenAI-compatible base URL https://api.teamorouter.com/v1
Anthropic base URL https://api.teamorouter.com
Gemini base URL https://api.teamorouter.com/v1beta

2. Add it from the terminal

If you prefer Magpie's command line, add the same provider with your key:

bash
magpie provider add TeamoRouter url=https://api.teamorouter.com/v1 anthropic=https://api.teamorouter.com key=sk-teamo-your-key
magpie provider test teamorouter

magpie provider test sends one tiny request per API and shows the latency. Then point an agent at a TeamoRouter model, for example magpie claude teamorouter/claude-sonnet-5-5 for Claude Code. Model IDs are listed on the models page.

3. Install Magpie

Download Magpie from usemagpie.ai for macOS, Windows or Linux, open it, then use the button above. The import link needs Magpie 0.1.8 or later.

Ready? Three steps to startLog in to the console · top up · create an API key
DiscordDapatkan bantuan komunitas secara instan