Describe the Bug
Cursor attempts to use the AWS Bedrock key with OpenAI models
Steps to Reproduce
- In Cursor Settings > Models, add an AWS Bedrock key
- Attempt to use o3 or GPT 4.1
- Error:
We encountered an issue when using your API key: The provided model identifier is invalid. API Error:The provided model identifier is invalid.
Request ID: 04dca79b-f976-4cc0-917b-159a8154f539
Expected Behavior
Cursor routes non-bedrock models to the default Cursor Pro subscription provider. This is how the Google API key works, and since Bedrock does not offer OpenAI models, I would expect it to not be invoked on o3/GPT 4.1 use.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.1
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:06:37.704Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue