Cursor + minirouter
OpenAI base-URL override for Cursor, with the current routing limitations stated up front.
Settings
Cursor Settings → Models → OpenAI API Key → Override OpenAI Base URL
In order
- OpenAI API Keymr-live-… (your key)
- Override OpenAI Base URLhttps://api.minirouter.sh/v1
This override applies globally to OpenAI-shaped model traffic in Cursor.
- Model IDzai/glm-5.3-flash
Compatibility depends on Cursor's global OpenAI override.
OpenAI API Key: mr-live-YOUR-KEY-HERE
Override OpenAI Base URL: https://api.minirouter.sh/v1
Model ID: zai/glm-5.3-flashRecommended models · 4
All models →- Modelzai/glm-5.3-flashWhyBest current balance of coding ability, agentic performance, context and cost.→
- Modelopenai/gpt-5.6-solWhyHigher-intelligence option when task quality matters more than spend.→
- Modelspacexai/grok-4.6WhyStrong agentic alternative with a 500K-token window.→
- Modelgoogle/gemini-3.8-flashWhyMultimodal coding alternative with a 1M-token window.→
Only rows confirmed in the current live catalog are linked. A plain row is included as a reference. Paste ids exactly as written, author/name.
When it fails
- SymptomBuilt-in Cursor models stop working while the override is enabledCodeclient-side
Cursor's OpenAI base-URL override is global. Turn it off when switching back to models served by Cursor rather than MiniRouter.
- SymptomThe override works, but requests still pass through CursorCodeclient-side
Cursor builds the final request on its own backend before forwarding it to the overridden endpoint. This is not a direct client-to-MiniRouter connection.
- Symptom404, HTML, or a parse error on every requestCodeinvalid_request
Almost always the base URL. Use https://api.minirouter.sh/v1 — the bare host without /v1 also works, but never append /chat/completions to the base URL field; the client adds that path itself. docs/errors#invalid_request →
- Symptom401 on every requestCodeinvalid_api_key
Wrong or rotated key. Keys start with mr-live-; after a rotation the old key keeps working for 24 hours, then dies. docs/errors#invalid_api_key →
Every API error string carries a URL resolving to /docs/errors.
Other coding agents and editors
- Claude CodeTerminal coding agent
- CodexTerminal and IDE coding agent
- ClineVS Code extension
- Roo CodeVS Code extension (archived upstream 2026-05-15)
- Kilo CodeVS Code extension
- OpenCodeTerminal agent
- ContinueVS Code / JetBrains extension
- AiderTerminal pair programmer
- LiteLLMProxy / SDK (feeds Aider, Open WebUI, and any LiteLLM client)
- ZedEditor