Hey, I’ve added my Anthropic API key to Cursor to get more usage from Claude, but it doesn’t work consistently. In the screenshot, you can see the error message I’m getting. Cursor is expensive, and this is very disappointing. I’ve been encountering this bug for a couple of days now. I can see the same issue reported in your forum. You really need to fix this; otherwise, you’re going to lose customers.
Steps to Reproduce
Get an Antropic API key, add to Cursor and you’ll get stuck.
I have the same issues when using Open AI Key and override OpenAI Base Url:
{“error”:{“type”:“provider”,“reason”:“provider_error”,“message”:“Provider returned 400”,“retryable”:false,“provider”:{“status”:400,“body”:“{“error”:{“message”:“unknown provider for model gpt-5.2”,“type”:“invalid_request_error”}}”}}}
Thanks for the info. When the Override OpenAI Base URL setting is enabled, it affects all models, including Cursor Pro models (like gpt-5.2). Cursor will try to send requests for every model through your overridden Base URL.
Fix:
Turn off Override OpenAI Base URL in Settings > Models when you want to use Cursor Pro models
Turn it back on only when you’re using custom models via your Base URL
Switch it manually depending on which model you’re using