Skip to content

Cursor

Point Cursor chat requests to HeyEly using a custom OpenAI-compatible base URL.

Cursor supports routing chat prompts to an OpenAI-compatible base URL with your own API key. Treat this integration as beta: Cursor updates its custom-model and tool-calling behavior frequently across releases.

Set up

  1. Generate a key in Developers.
  2. Open Cursor Settings, then navigate to Models.
  3. Under API Keys, enable OpenAI API Key and paste your key (sk-df-...).
  4. Enable Override OpenAI Base URL and set it to https://heyely.si/v1.
  5. Click Add model and enter an exact catalog ID from Models, such as anthropic/claude-sonnet-5.5.
  6. Choose your newly added model from the chat picker.

Cursor stores this key strictly inside its UI settings and does not pull it from an environment variable or local file.

Verify

Switch a Cursor chat to Ask mode, select the model you just added, and send a short prompt. Open Credit and usage to confirm the call shows up at the top of Spend under that model.

Know the limits

  • Cursor proxies requests through its own backend, so your base URL must be publicly reachable. https://heyely.si/v1 works out of the box, whereas localhost or private network addresses will fail.
  • Tab autocomplete never uses your key.
  • Cursor's zero data retention toggle does not cover BYOK requests sent through custom keys.
  • Turning on the base URL override applies globally. While active, Cursor's built-in OpenAI models may also route to HeyEly and error out; toggle the override off whenever you switch back to Cursor's own models.
  • Ask mode delivers the most consistent results. Agent mode emits tool schemas and Responses-style payloads that can behave differently across Cursor versions and models, so swap models if tool execution breaks.

Troubleshooting

You seeCauseFix
Missing Override OpenAI Base URL switchNot available on every Cursor build or planUpdate Cursor and verify your plan tier
Cursor rejects the model IDID does not exist in HeyEly's catalogCopy the exact ID from the Models page
401 invalid_api_keyExtra whitespace or characters in the key boxRe-paste your key cleanly
Agent mode tool errors or empty error bannerCursor's Agent payload format mismatched the modelSwitch to Ask mode, try another model, or set Settings, Network, HTTP Compatibility Mode to HTTP/1.1
Built-in Cursor model reports unavailableGlobal base URL override is intercepting Cursor's OpenAI modelsToggle Override OpenAI Base URL off
Override ignoredToggle was left disabledTurn Override OpenAI Base URL on
402 insufficient_creditYour account has no credit availableAdd credit