6 alternatives to Magpie

Magpie is a AI API Relay Gateway product. The community recommends 6 alternatives: 4 open source, 3 self-hostable and 3 free to use. They are ranked by community votes, ratings and favorites, with the key differences from Magpie highlighted.

Last updated:

M

About Magpie

Magpie is a model switcher and local gateway for AI coding agents that runs on your machine. Add a model provider once, and you can pick a model from any vendor with one click in agents such as Codex, Claude Code, and Gemini CLI.

Closed source
Not self-hostable

Quick picks

HG

Best open-source pick

HAJIMI Gemini API Proxy

Open source, Other license

HG

Best self-hosted pick

HAJIMI Gemini API Proxy

Run it on your own server

HG

Best free pick

HAJIMI Gemini API Proxy

Free to use

All alternatives

  1. 0

    CC Switch is a free, open-source desktop app for managing multiple AI coding tools, including Claude Code, Codex, and Gemini CLI, in one place. It offers provider configuration switching, local routing, MCP, Skills, session management, and usage statistics.

  2. 0
    2.

    HAJIMI Gemini API Proxy

    Software Development

    HAJIMI Gemini API Proxy is a lightweight proxy server that makes it easier and more flexible to access the Google Gemini API, with features such as authentication and rate limiting.

    Open source · Other
    Self-hostable
    Free
    Web

    Compared with Magpie

    • + Open source (Magpie is not)
    • + Self-hostable (Magpie is not)
  3. 0
    3.

    CLIProxyAPI

    Software Development

    Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 2.5 Pro, GPT 5, Claude, Qwen model through API

    Open source

    Compared with Magpie

    • + Open source (Magpie is not)
  4. 0

    AI gateway / AI control plane / AI proxy written in Go. Unified OpenAI-compatible and Anthropic-compatible API for OpenAI, Anthropic, Gemini, Groq, xAI, Ollama, vLLM and more. A LiteLLM alternative with observability, guardrails, streaming, cost tracking, intelligent routing, sticky sessions, failover, real-time logs and usage tracking. Prod ready.

    Open source · MIT
    Self-hostable

    Compared with Magpie

    • + Open source (Magpie is not)
    • + Self-hostable (Magpie is not)
  5. 0

    A HTTP credential proxy and vault for AI agents like Claude Code, OpenClaw, Hermes, custom agents + harnesses, and more.

    Open source · MIT
    Self-hostable

    Compared with Magpie

    • + Open source (Magpie is not)
    • + Self-hostable (Magpie is not)
  6. 0
    6.

    Claude Relay Service

    AI API Relay Gateway

    Claude Relay Service (CRS) is a self-hosted, open-source AI API relay service. It brings Claude, OpenAI (Codex), Gemini, Droid and other accounts together in one place, supports rotation across multiple accounts, assigns each user an independent API Key, and provides usage statistics and a web admin dashboard.

Magpie vs. alternatives

ServiceOpen sourceSelf-hostedLicensePricingPlatformsRatingVotes
Magpie
Current
NoNo—————
cc-switchNoNo————0
HAJIMI Gemini API ProxyYesYesOtherFreeWeb—0
CLIProxyAPIYesNo————0
GoModelYesYesMIT———0
agent-vaultYesYesMIT———0
Claude Relay ServiceNoNo————0

FAQ

What is the best alternative to Magpie?

Community-recommended alternatives to Magpie include cc-switch, HAJIMI Gemini API Proxy, CLIProxyAPI, GoModel, agent-vault, and Claude Relay Service. Compare open source, self-hosting, pricing and platforms to choose.

Is there a free alternative to Magpie?

Yes. HAJIMI Gemini API Proxy, GoModel, and agent-vault can be used for free; the open-source, self-hostable ones can be run on your own server at no cost.

Is there an open-source alternative to Magpie?

Yes. Open-source alternatives include HAJIMI Gemini API Proxy, CLIProxyAPI, GoModel, and agent-vault.

Can I self-host an alternative to Magpie?

Yes. HAJIMI Gemini API Proxy, GoModel, and agent-vault can run on your own server, so you keep control of your data.

Know another Magpie alternative?

Once added, the community can vote and the best suggestions rise to the top.