Hey, thanks for the report. Cursor doesn’t officially support the OpenRouter provider.
This is a known issue. When you use the “Override OpenAI Base URL” option with OpenRouter, Cursor sends malformed requests that are missing required fields.
Current workarounds:
- Direct OpenAI (easiest): disable the “Override OpenAI Base URL” toggle and use OpenAI directly instead of OpenRouter.
- LiteLLM proxy (advanced): set up an intermediary proxy server as described here: Workaround to get Openrouter models working in Cursor
The team understands this is blocking users and is working on proper support for custom OpenAI-compatible endpoints. I’ll add your report to the existing ticket.
Let me know if any of these workarounds help in the meantime!