Configure z.ai via api

I’ve had a bot set up to use glm4.7 via my z.ai api key as part of the coding plan.

The bot is returning the model unknown:

‘Model "zai/glm-4.7-coding" is not allowed.

What is the correct config for the bot to use glm4.7 as the default model?
Was this page helpful?