OpenToolslogo
ToolsExpertsNewsletterSubmit a Tool
AdvertiseLearn AI
  1. home
  2. tools
  3. magpie
Magpie screenshot

Magpie

DeveloperApplicationPricing unavailable

Magpie - Local Model Router for AI Coding Agent Stacks

Listing updated Oct 3, 2026

Get This Tool
Claim Tool

What is Magpie?

Magpie is an open source model router and menu-bar app for AI coding agents. It gives users one place to see and change which model each local agent is using. The project’s homepage describes the idea as “Every agent. Every model.” In practice, Magpie runs a local gateway on 127.0.0.1:3425 and translates between OpenAI Chat, OpenAI Responses, Anthropic Messages, and Google Gemini APIs so agents can use providers they do not natively support. The most visible interface is a desktop menu-bar panel. It lists configured agents, shows their current model or profile, and lets the user click a value to switch models. The README also documents a normal window, a terminal UI, and a plain CLI. Supported agent examples include Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, Goose, Cursor CLI, Zed, Copilot CLI, Pi, Devin, Hermes Agent, Kimi Code, Muse Code, Cline CLI, and many others. Only installed or configured agents appear. Magpie’s gateway is the technical center. It exposes OpenAI-compatible, Anthropic-compatible, and Gemini-compatible endpoints locally, then adapts requests to the selected provider. The reviewed docs mention streaming, tool calls, reasoning levels, token counting, model catalogs, and cross-API translation. This lets Codex use DeepSeek, Claude Code use Kimi or GLM, OpenCode use a Claude subscription, or Claude Code use GPT models through a Codex or ChatGPT sign-in where supported. Provider management is another major feature. Magpie supports presets for Anthropic, OpenAI, Gemini, DeepSeek, Kimi, GLM, MiniMax, Qwen, Mistral, Groq, xAI, OpenRouter, Ollama, and other vendors or relays. Users can add API keys, custom relay URLs, local servers, or provider accounts derived from existing agent logins. Profiles can switch multiple agents at once, while routing modes can select models by intent, in order, or through smart routing. Magpie is useful for developers who already run several coding agents and want control without editing config files by hand. It is also useful for cost management: a user can put budget models behind routine agents and keep stronger models for harder turns. The tool is MIT-licensed and free. Users still pay for provider APIs, subscriptions, or local hardware behind the models they route through Magpie. For an OpenTools page, Magpie is especially relevant because coding-agent users often juggle several model accounts at once. The app turns that messy configuration problem into a local control plane: pick the model, point an agent at the gateway, and keep switching providers without rewriting every agent setup by hand.

Magpie's Top Features

Key capabilities that make Magpie stand out.

Menu-bar interface for per-agent model selection

Desktop window, terminal UI, and CLI modes

Local gateway on 127.0.0.1:3425

OpenAI, Anthropic, and Gemini API translation

Provider presets for major model vendors and relays

Support for many coding agents and CLIs

Profiles for switching groups of agents at once

Routing modes including intent-based and smart routing

Use Cases

Who benefits most from this tool.

AI-heavy developers

Switch models across Claude Code, Codex, Gemini CLI, Goose, and other agents without editing config files manually.

Cost-conscious teams

Route routine work to cheaper models while preserving stronger models for hard coding sessions.

Local model users

Expose local or relay providers through API formats that agents already understand.

Explore Top AI Use Cases

Tags

model-routerai-agentscoding-agentslocal-gatewayclaude-codecodexgemini-cliopen-sourcedesktop-appdeveloper-tools

Magpie's Pricing

Open source

Pricing unavailable

  • MIT-licensed app
  • Desktop, TUI, and CLI interfaces
  • Local gateway
  • + 1 more features
Get started

User Reviews

Share your thoughts

If you've used this product, share your thoughts with other builders

Recent reviews

Frequently Asked Questions

What is Magpie?
Magpie is an open source app and local gateway for choosing and routing models across many AI coding agents.
Which APIs does Magpie bridge?
The docs describe support for OpenAI Chat, OpenAI Responses, Anthropic Messages, and Google Gemini-compatible requests.
Does Magpie include model access?
No. Magpie routes to providers, local servers, relays, or existing agent sign-ins that the user configures.
Is Magpie free?
Yes. The project is MIT-licensed. Users still pay for any model APIs, subscriptions, or compute used behind it.

Footer

Company name

The right AI tool is out there. We'll help you find it.

LinkedInX

Knowledge Hub

  • News
  • Resources
  • Newsletter
  • Blog
  • AI Tool Reviews
  • YouTube Summary
  • YouTube Transcript Generator

Industry Hub

  • AI Companies
  • AI Tools
  • AI Models
  • MCP Servers
  • Muse Connectors
  • AI Tool Categories
  • Top AI Use Cases

For Builders

  • Submit a Tool
  • Experts & Agencies
  • Advertise
  • Compare Tools
  • Favourites

Legal

  • Privacy Policy
  • Terms of Service

© 2026 OpenTools - All rights reserved.