LiteRouter Docs

Cursor

Use LiteRouter models inside the Cursor editor.

Cursor lets you add a custom OpenAI-compatible provider. Point it at LiteRouter and pick any model.

Setup

  1. Open Cursor Settings → Models (or AI).
  2. Under the OpenAI / custom provider settings, set the Base URL to https://api.literouter.com/v1.
  3. Enter your LiteRouter API key as the API key.
  4. Add a model id (pick one here), for example glm-5.2.
  5. Save, then select that model in the chat.
⚠

Claude models are not supported in Cursor. Cursor routes any model whose name contains claude straight to Anthropic and ignores your custom base URL, so the request never reaches LiteRouter. Use a non-Claude model ID here instead.