# OpenAI Chat endpoint: POST https://open.bigmodel.cn/api/coding/paas/v4/chat/completions. # GLM-5.2 maps low|medium|high to high and xhigh|max|ultracode to max. # https://docs.bigmodel.cn/cn/coding-plan/latest-model (accessed 2026-06-25) name = "Zhipu AI Coding Plan" env = ["ZHIPU_API_KEY"] npm = "@ai-sdk/openai-compatible" doc = "https://docs.bigmodel.cn/cn/coding-plan/overview" api = "https://open.bigmodel.cn/api/coding/paas/v4"