Cursor
Connect Cursor to indoRouter by setting its OpenAI base URL to our OpenAI-compatible API.
Before you start
Section titled “Before you start”Create an API key on the API Key page before you start.
Configuration
Section titled “Configuration”In Cursor, open Settings → Models and enter:
OpenAI API Key: ir_...Override OpenAI Base URL: https://api.indorouter.ai/v1Add model: openai/gpt-4o-miniAdd other model IDs the same way, then pick one in chat. Model IDs are on the Models page.
Check the connection
Section titled “Check the connection”Pick the model in a chat and ask something short. The request appears on the console’s Requests page.
Troubleshooting
Section titled “Troubleshooting”- 404: the base URL has to end in
/v1. model_not_found: the model ID needs its vendor, as inopenai/gpt-4o-mini.