Hey, thanks for the report. The issue is that when you set a base URL, all your API keys see it. The team knows about this problem and is working on a fix. For now, here’s the current workaround:
Turn off “Override OpenAI Base URL” when using Claude (Anthropic). Make sure your Anthropic API key is set in Settings.
Only turn on the override to https://api.x.ai/v1 when you want to use Grok via x.ai, then turn it off again before switching back to Claude.
Ok, yes, this is the workaround that I’ve been doing. Although, it would be nice if the Base URL override didn’t reset to the openai default value every time you turn on/off. In any case, glad that this is something Cursor is aware of, and look forward to a fix.