# magpie

> Local model gateway that pools your AI subscriptions and keys for any coding agent

Source: https://talira.ai/catalog/magpie-d3xmq2g6
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Desktop app, Command-line tool
- Categories: [ai / llm / gateways / subscription proxies](https://talira.ai/categories/ai/llm/gateways/subscription-proxies), [ai / llm / gateways](https://talira.ai/categories/ai/llm/gateways)
- Platforms: macos, windows, linux[^4]
- Licence: MIT[^3]
- Pricing: Free and open source[^2][^3]
- Free tier: yes[^2][^3]
- Backed by: [yetone](https://talira.ai/orgs/yetone.md)

magpie is yetone's open source model gateway for AI coding agents. It runs on your machine and translates between the OpenAI Chat and Responses, Anthropic Messages and Google Gemini APIs, streaming, tool calls and reasoning included, so Claude Code, Codex, Gemini CLI, OpenCode and dozens of other agents can use any provider's models. You add the plans you pay for (Claude Pro or Max, ChatGPT Plus or Pro, GitHub Copilot, coding plans such as GLM and Kimi Code), pay-as-you-go keys and local models, and routing groups put them behind one model name, moving to the next account when one hits a limit. Smart routing sends each turn to the model you assigned that kind of task, and privacy masking replaces API keys, tokens and other secrets with placeholders before a request leaves your computer and puts them back in the reply. A menu bar app shows and switches each agent's model; there's also a terminal-only build.

## Links

- Website: https://usemagpie.ai/
- GitHub: https://github.com/yetone/magpie

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/cask/magpie>[^1]

## Problems it solves

- use my ChatGPT subscription from Claude Code
- keep my coding agent working when one plan hits its usage limit
- stop my coding agent sending API keys from my .env files to the model vendor

## Features

- local gateway translating OpenAI, Anthropic and Gemini APIs both ways
- pools Claude, ChatGPT, Copilot and coding-plan subscriptions with API keys and local models
- routing groups that fail over between accounts
- smart routing of each turn by task
- privacy masking of secrets before requests leave the machine
- menu bar app that rewrites each agent's model config
- terminal-only build

## Limitations

- It doesn't supply models or quota itself: you add your own subscriptions, keys and local models, and each provider's limits and terms apply.[^2]

## Trust

Overall: 0.77 out of 1.
Signals: maintenance 1.00, adoption 0.93, momentum 1.00, community 0.90, backing 0.30, extensibility 0.00.

- last commit yesterday
- 9567 commits in the last 90 days
- latest release v0.1.5066 yesterday
- 42.9k GitHub stars
- fast-growing: 42.9k stars in 2 months
- 180 contributors
- 3k Homebrew installs in 30 days
- backed by yetone

Warnings:

- young project (first commit 2 months ago)

## Alternatives

- [pansy](https://talira.ai/catalog/pansy-b6bggsm9.md): A local gateway that lets every coding agent use every provider's models, with a desktop window
- [OmniRoute](https://talira.ai/catalog/omniroute-v3a86e5b.md): The free AI gateway: one endpoint for hundreds of providers, with quota-aware fallback

## Sources

[^1]: https://formulae.brew.sh/api/cask.json (checked 29 Nov 2026)
[^2]: https://usemagpie.ai/ (checked 29 Nov 2026)
[^3]: https://github.com/yetone/magpie/blob/main/LICENSE (checked 29 Nov 2026)
[^4]: https://github.com/yetone/magpie-releases (checked 29 Nov 2026)
