Cannot insert OpenAI API key

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In Cursor Settings → Models → API Keys, all provider API key input fields (OpenAI, Anthropic, Google) appear visually disabled (gray / inactive) and do not accept keyboard input. Enabling Override OpenAI Base URL does not make the key or base URL editable. Goal was to point OpenAI-compatible traffic at a local MLX server (http://localhost:9999/v1) with a placeholder API key.

Steps to Reproduce

Open Cursor Settings (Models page).
Expand API Keys.
Click the OpenAI / Anthropic / Google API key text fields.
Try to type a key.
Toggle Override OpenAI Base URL on.
Observe whether a base URL text field becomes editable and whether any key field accepts input.

Expected Behavior

Key fields accept typing; after enabling Override, the OpenAI base URL field is editable (e.g. set to localhost).

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Cursor: 3.15.6 (stable)
VS Code: 1.128.0
Commit: a1f686545fd0ce8917bbd2449f733551a9bce420
Date: 2026-08-06T01:41:03.876Z
(Also confirm via Cursor → About Cursor → Copy when posting.)

For AI issues: which model did you use?

N/A — bug is in Settings → Models → API Keys UI before model use. Intended local setup: OpenAI-compatible MLX at http://localhost:9999/v1.

For AI issues: add Request ID with privacy disabled

N/A (settings UI; no chat request). If you reproduce after temporarily disabling Privacy Mode and something generates a request, paste Request ID from chat … → Copy Request ID.

Additional Information

Account: Pro+ (stripeMembershipType: pro_plus, subscription active).
Admin settings cache: byokDisabled: false (BYOK not admin-blocked; API Keys section is visible).
Privacy Mode: enabled (PRIVACY_MODE_NO_TRAINING).
Invalid settings.json keys were tried earlier (cursor.openai.apiKey, cursor.general.openAIBaseURL) and removed — those are unknown configuration settings and are not how BYOK is configured.
Workarounds tried: clicking fields, toggling Override, considering restart / sign-out.
Console: please attach any errors from Help → Toggle Developer Tools → Console while clicking the gray fields.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Bogdan_Panaitescu

that’s a known regression for this version, team is on it and also proposed a working fixed for now :

https://forum.cursor.com/t/cannot-insert-openai-api-key/167707?u=tom_coustols

Hey @Bogdan_Panaitescu,

Thanks again for the report! A fix should have come in v3.16.