Set a Custom OpenAI Base URL in Cursor

In Cursor, enable Override OpenAI Base URL and enter https://api.promptavenue.com/v1 with your PromptAvenue API key. Add an Uncensored model by its exact ID and select it in a new Ask chat. Ask what [1, 2, 3].map(n => n * 2) returns and check for [2, 4, 6].

Model pricing · Run the API quickstart

Markdown

  • Cursor desktop with Override OpenAI Base URL and the option to add custom models.
  • A PromptAvenue account with API balance.

In the PromptAvenue dashboard, open the API keys page and select Create API key. Copy the full key when it appears.

  1. Open Cursor Settings → Models → API Keys.
  2. Enable OpenAI API Key and paste your PromptAvenue key into the field.
  3. Enable Override OpenAI Base URL and enter https://api.promptavenue.com/v1.
  4. In Models, click + Add model and enter deepseek-v4.1-flash-uncensored. Add glm-5.3-flash-uncensored as a second entry if you want to test GLM.

Save the API key settings before opening a new chat. Open a fresh chat in a sample workspace, choose the custom DeepSeek model explicitly, and send this prompt in Ask mode.

What does [1, 2, 3].map(n => n * 2) return in JavaScript? Answer in one sentence.

Expect a reply containing [2, 4, 6]. If you test GLM, select it explicitly and repeat the prompt in a fresh chat.

Cursor's bring-your-own-key behavior can vary by version and mode. Run this check in Ask with the custom model selected. Tab uses Cursor's built-in models.

SymptomWhat to check
Cursor rejects the API keyCheck both the key and the override URL. The key must come from PromptAvenue.
The model is missing from the pickerCheck the exact API model ID in Models, then reopen the chat model picker.
curl works but Cursor rejects the requestCompare the request settings with the API quickstart. Cursor's request format can vary by mode. Report the app version, selected mode, and redacted error to support.
The selected model changesChoose the custom entry explicitly for the verification chat.
Balance or rate-limit errorCheck the dashboard balance if the error mentions funds. For rate limits, wait before retrying.