GLM 5.2 Support?

Hey, thanks for the request. You can already use GLM 5.2 right now with your own API key in the IDE via BYOK:

  1. Settings > Models > Add Model model name should match your provider, for example glm-5.2
  2. Turn on Override OpenAI Base URL and enter your GLM provider’s OpenAI-compatible endpoint plus your API key

After that, the model will show up in the picker and will run on your own usage. This is the same way users connected GLM-4.7 before, so it works.

One note: the custom GLM-5.2 may currently show the wrong context size it shows 200K instead of 1M. This is being discussed here: Custom OpenAI-Compatible Model Shows 200K Context Limit for GLM-5.2, Even Though It Supports 1M Context

About first-party support for GLM as a built-in model, it’s a popular request and we see it regularly, but I can’t share a specific timeline. I’ll keep the thread open and post if there’s an update.

@kroggen about the CLI: adding custom models or your own key in Cursor CLI isn’t supported yet. It’s a separate open feature request, you can check it out and upvote here: Cursor CLI with Custom API key