Cannot set OpenAI Base URL

Describe the Bug

The base URL setting doesn’t take effect. Even though I’ve set it to https://abc.com/v1, when using the agent, I still get an error about an invalid user key. This proves that the base URL setting is not being applied.

Steps to Reproduce

set override openai base url.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

版本: 2.0.43
提交: 1.99.3
日期: 8e4da76ad196925accaa169efcae28c45454cce0
Electron: 2025-10-30T18:49:27.589Z
ElectronBuildId: 34.5.8
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.1
OS: 13.2.152.41-electron.0

For AI issues: which model did you use?

GPT-5 Codex

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. The issue where the OpenAI base URL override isn’t applied is known and currently being worked on.

As a workaround, you can use one of the supported BYOK providers directly if you have API keys:

  • OpenAI
  • Anthropic
  • Google
  • Azure OpenAI
  • AWS Bedrock

Unfortunately, custom OpenAI‑compatible endpoints (like OpenRouter) aren’t fully supported right now.

Thank you for your reply. Can you let me know if this issue is fixed? I need to use this feature.

Unfortunately there’s no ETA yet on when this will be fixed - it’s being actively worked on but we can’t provide a specific timeline.

In the meantime, if you have API keys for any of the officially supported BYOK providers (OpenAI, Anthropic, Google, Azure OpenAI, or AWS Bedrock), you can use those directly without the base URL override.

I know this isn’t ideal for your use case. The team is aware this is blocking users and working on it. We’ll update the forum once it’s resolved.