Use SrotGateway in Cursor

Set up Cursor to use low-cost SrotGateway models with an OpenAI-compatible base URL.

View as Markdown

Cursor can send its OpenAI requests to another OpenAI-compatible address. Menu names change between Cursor versions, so look for the same words if yours differ.

Steps

  1. Create a SrotGateway key on the API keys page.
  2. In Cursor, open Settings → Models.
  3. Under OpenAI API Key, paste your sg-... key.
  4. Turn on Override OpenAI Base URL and enter https://api.srotgateway.com/v1.
  5. Click Add model and type the model ID, for example deepseek-v4.1-flash-fast.
  6. Pick the model in the chat panel.

Good to know

  • Some Cursor features only work with Cursor's own models. Chat with your custom model works with this set-up.
  • Every request Cursor makes is billed to your balance. Check Activity to see what it uses.
  • Lower the key's requests-per-minute limit on the API keys page if you want a hard cap.