Anthropic Base URL is assumed when i don't have it on

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

There are two issues here - both around the poor handling of baseURL

  1. the baseurl rubberbands here - I set it and then notice how without user input it rubber bands back
  2. even when the baseurl isn’t set, it’s using the baseurl when I make requests - I can tell because I have a valid Anthropic API key and it’s 404’ing - because it’s trying to use the stale baseurl. The way to fix this is to toggle the baseurl on and off really quickly but that isn’t a great solution

Steps to Reproduce

Set baseURL, for claude model, turn on api key

Expected Behavior

I should just be able to use my anthropic api key directly

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.29
VSCode Version: 1.105.1
Commit: 4ca9b38c6c97d4243bf0c61e51426667cb964bd0
Date: 2026-01-08T00:34:49.798Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report.

This is a known issue and the team is actively working on it. The bug is logged and in our dev backlog.

Workaround (found by another user with the same issue):

  1. Close all projects so you only have one empty Cursor window
  2. Turn off the Override Base URL toggle
  3. Quit Cursor right away with CMD+Q. This helps prevent the toggle from turning itself back on before it gets saved
  4. Open Cursor again

Or try this:

  1. Clear the base URL
  2. Disable it
  3. Restart Cursor

A similar issue is discussed here: Override Anthropic Base URL automatically switches on when using Anthropic BYOK

I can’t share an exact timeline yet, but it’s a priority. Let me know if the workaround helped.