Skip to content

docs(zai): add Coding Plan endpoint and [1m] model-name caveat - #987

Open
adisivaprasad wants to merge 1 commit into
BerriAI:mainfrom
adisivaprasad:docs/zai-coding-plan-1m-note
Open

docs(zai): add Coding Plan endpoint and [1m] model-name caveat#987
adisivaprasad wants to merge 1 commit into
BerriAI:mainfrom
adisivaprasad:docs/zai-coding-plan-1m-note

Conversation

@adisivaprasad

Copy link
Copy Markdown

Summary

Fixes BerriAI/litellm#32218

Proxy and SDK users following Z.AI's documentation send zai/glm-5.2[1m] and get Unknown Model back. The [1m] suffix is a client-side naming convention (tools like Claude Code strip it before calling the API); the Coding Plan endpoint only accepts the plain model name.

This adds a Z.AI Coding Plan section to docs/providers/zai.md that documents the dedicated endpoint (https://api.z.ai/api/coding/paas/v4) and the naming caveat, which is the second option the issue reporter explicitly listed as an acceptable resolution.

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Aug 22, 2026 1:20am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Z.AI Coding Plan docs advertise glm-5.2[1m], but LiteLLM proxy requests return Unknown Model

1 participant