- Cursor desktop with Override OpenAI Base URL and the option to add custom models.
- A PromptAvenue account with API balance.
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].
What you need
1. Create a PromptAvenue API key
In the PromptAvenue dashboard, open the API keys page and select Create API key. Copy the full key when it appears.
2. Override the OpenAI base URL and add a custom model
- Open Cursor Settings → Models → API Keys.
- Enable OpenAI API Key and paste your PromptAvenue key into the field.
- Enable Override OpenAI Base URL and enter
https://api.promptavenue.com/v1. - In Models, click + Add model and enter
deepseek-v4.1-flash-uncensored. Addglm-5.3-flash-uncensoredas a second entry if you want to test GLM.
3. Verify the first chat reply
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.
Common errors when the Cursor base URL override fails
| Symptom | What to check |
|---|---|
| Cursor rejects the API key | Check both the key and the override URL. The key must come from PromptAvenue. |
| The model is missing from the picker | Check the exact API model ID in Models, then reopen the chat model picker. |
| curl works but Cursor rejects the request | Compare 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 changes | Choose the custom entry explicitly for the verification chat. |
| Balance or rate-limit error | Check the dashboard balance if the error mentions funds. For rate limits, wait before retrying. |