yetone
magpie + LLMoxy
Pick models for all your agents in one place. Claude Code, Codex, OpenCode, and others each use their own model, routed through one local gateway.
Quick Start
- 1
Install magpie
Install with the official script. It sets up both the desktop app and the
Go to downloadsmagpiecommand. On Windows, download it from the official website.BASH - 2
Create an API key
Create a token in the Console, pick the group you want to use, and copy the key.
Create a token - 3
- 4
Pick a model for each agent
On the "Agents" tab, click an agent's model and pick one that starts with
llmoxy/. If a model isn't listed, type its ID. You can also use the command line:BASH - 5
Get started
Agents read their config only at launch, so start a new session to use the change. For Codex, also restart the app and any open
codexsessions.
Tips
- One token works for every agent magpie supports, including Claude Code, Codex, and OpenCode. No need to edit each config file.
- You don't need to export
OPENAI_BASE_URLorANTHROPIC_BASE_URLyourself. magpie writes the gateway URL into each agent's own config. - Keep magpie running. It stays in the menu bar after you close the window.
magpie serveruns only the gateway, andmagpie daemon installinstalls it as a service that starts at login. - To restore an agent's original config, run
magpie <agent> default.
FAQ
Nothing happens when you click the button?
Getting a 502 error?
127.0.0.1:3425. Add a DIRECT rule for 127.0.0.0/8 and place it before your other rules.Agent still using the old model after you switched?
Other tools
Anthropic
Claude
Anthropic's AI assistant and coding agent: Claude Desktop, plus Claude Code in the terminal and in VS Code.
OpenAI
ChatGPT (Codex)
OpenAI's coding agent. The ChatGPT desktop app, the CLI, and the IDE extension share one config.toml, so one setup covers all three.
Antigravity
Google's coding agent, the successor to Gemini CLI. For now, only the CLI lets you change the API URL.
View guideAnomaly
OpenCode
Open-source coding agent with a desktop app and a terminal UI. You can configure multiple model providers.
DeepSeek
DeepSeek Harness
DeepSeek's open-source agent framework, with a desktop app, a web UI, and the dsh command line. It connects to OpenAI- or Anthropic-compatible model services.
Anysphere
Cursor
AI editor built on VS Code. Override the OpenAI URL to route OpenAI models in chat through LLMoxy.
View guideGitHub
GitHub Copilot
The Copilot app, Copilot CLI, and VS Code all support bring your own key (BYOK), with no Copilot subscription required.
ByteDance
Trae
ByteDance's AI IDE. Both the China and international versions support custom models.
View guideCline
Cline
Open-source coding agent with a full agent loop, available as a command-line tool and as VS Code and JetBrains extensions.
Alibaba
Qoder
Alibaba's AI coding product. The Qoder desktop app and Qoder CLI support custom models; Qoder IDE doesn't yet.
Tencent
CodeBuddy
Tencent's AI coding tools. Both the command-line CodeBuddy Code and CodeBuddy IDE support OpenAI-compatible custom models.
Tencent
WorkBuddy
Tencent's desktop AI workspace for office and coding tasks. It supports custom model services.
View guideCherryHQ
Cherry Studio
Cross-platform desktop AI client. Add a provider to fetch the list of available models in one click.
View guideChatbox AI
Chatbox
AI chat client for desktop and mobile. Add a model provider in settings to connect.
View guideLangGenius
Dify
Open-source LLM app development platform. Connect it as OpenAI-API-compatible to build apps and workflows.
View guiden8n
n8n
Workflow automation platform. Enter the LLMoxy URL in an OpenAI credential to call models.
View guide