Skip to content

Cursor

Connect Cursor to indoRouter by setting its OpenAI base URL to our OpenAI-compatible API.

Create an API key on the API Key page before you start.

In Cursor, open Settings → Models and enter:

OpenAI API Key: ir_...
Override OpenAI Base URL: https://api.indorouter.ai/v1
Add model: openai/gpt-4o-mini

Add other model IDs the same way, then pick one in chat. Model IDs are on the Models page.

Pick the model in a chat and ask something short. The request appears on the console’s Requests page.

  • 404: the base URL has to end in /v1.
  • model_not_found: the model ID needs its vendor, as in openai/gpt-4o-mini.