I added grok 4.20 successfully by using the Override OpenAI Base URL and the OpenAI APi Key settings. When I do this, I am unable to use any other model. Which maybe kind of makes sense for the OpenAI model, but not even composer?
yes, this since you can only choose, if you overwrite, its overwrite everything. so, you need to choose using BYOK or Model provide by Cursor.
you can use shortcut for easy to turn on / turn off setting with Cmd + â– â– â– â– + 0
Hi Will,
As @Naufaldi_Rafif mentioned, the “Override OpenAI Base URL” setting currently applies globally — it redirects all model requests through the custom endpoint, not just the one you’re targeting. So when it’s pointed at xAI’s API for Grok 4.20, Cursor’s built-in models (including Composer) also get routed there and fail.
This is a known limitation and the team is aware of it. The toggle workaround is the way to go for now — turn “Override OpenAI Base URL” off when you want to use Cursor’s built-in models, and back on for Grok 4.20. You can manage this in Cursor Settings > Models.
Also worth noting: if you’re on a Team or higher plan, you may already have access to Grok Code through the model picker without BYOK. That would let you skip the override entirely and avoid this issue.