Cursor + minirouter

OpenAI base-URL override for Cursor, with the current routing limitations stated up front.

Base URLhttps://api.minirouter.sh/v1
Get a keyhttps://minirouter.sh/key
Get a key — no account

Settings

Cursor Settings → Models → OpenAI API Key → Override OpenAI Base URL

In order

  1. OpenAI API Keymr-live-… (your key)
  2. Override OpenAI Base URLhttps://api.minirouter.sh/v1

    This override applies globally to OpenAI-shaped model traffic in Cursor.

  3. Model IDzai/glm-5.3-flash

    Compatibility depends on Cursor's global OpenAI override.

Reference values
OpenAI API Key: mr-live-YOUR-KEY-HERE
Override OpenAI Base URL: https://api.minirouter.sh/v1
Model ID: zai/glm-5.3-flash

Recommended models · 4

All models →

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 enabled
    Codeclient-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 Cursor
    Codeclient-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 request
    Codeinvalid_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 request
    Codeinvalid_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

Agent setup: /setup · API reference: /docs