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

**URL:** <https://forum.cursor.com/t/anthropic-base-url-is-assumed-when-i-dont-have-it-on/148502>\
**Category:** Bug Reports\
**Tags:** anthropic, byok\
**Created:** [January 10, 2026, 5:37pm UTC](https://forum.cursor.com/t/anthropic-base-url-is-assumed-when-i-dont-have-it-on/148502 "2026-01-10T17:37:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![w-x](https://avatars.discourse-cdn.com/v4/letter/w/dfb087/32.png) [@w-x](https://forum.cursor.com/u/w-x)\
**Post date:** [January 10, 2026, 5:37pm UTC](https://forum.cursor.com/t/anthropic-base-url-is-assumed-when-i-dont-have-it-on/148502/1 "2026-01-10T17:37:17Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 10, 2026, 6:06pm UTC](https://forum.cursor.com/t/anthropic-base-url-is-assumed-when-i-dont-have-it-on/148502/3 "2026-01-10T18:06:53Z")

</div>

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](https://forum.cursor.com/t/override-anthropic-base-url-automatically-switches-on-when-using-anthropic-byok/146998)

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

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 1, 2026, 6:07pm UTC](https://forum.cursor.com/t/anthropic-base-url-is-assumed-when-i-dont-have-it-on/148502/4 "2026-02-01T18:07:44Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
