Describe the Bug
Unable to verify OpenAI API Key.
In the attached video you can see the process, it looks that the issue in the request body that Cursor sends, API returns 400 because of the deprecated field “max_tokens”
Steps to Reproduce
- Go to the models
- Open “API Keys” collaps
- Past your key in the open AI Key input and click verify
Actual results: nothing happens, UI still presents “Verify” button after loading.
Expected Behavior
Some confirmation about that the token is valid and ready to use
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.4.5 (user setup)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Does this stop you from using Cursor
Yes - Cursor is unusable