Fresh bugs with custom model

Hey, thanks for the report.

This is a known issue. When “Override OpenAI Base URL” is enabled, it affects all API keys and models, including Cursor’s built-in models (Claude, Gemini, etc.). The team is working on a fix, but for now here’s a workaround:

  • Turn off “Override OpenAI Base URL” when you want to use Cursor’s standard models
  • Turn it back on only when you need GLM-4.7
  • Switch it manually depending on which model you’re using

A similar issue was discussed here for Anthropic: Anthropic models break when Override OpenAI BaseUrl is set

And specifically for GLM-4.7: Cursor Models Fail When Using BYOK OpenAI Key with Overridden Base URL (GLM-4.7)

I’ll pass your details to the team.