Skip to content

feat: add z.ai GLM models to the catalog#23

Merged
guillaumegay13 merged 7 commits into
mainfrom
feat/z-ai-models
May 24, 2026
Merged

feat: add z.ai GLM models to the catalog#23
guillaumegay13 merged 7 commits into
mainfrom
feat/z-ai-models

Conversation

@brunobuddy
Copy link
Copy Markdown
Member

💭 Why

GLM wasn't in the catalog, so z.ai users (API key or the GLM Coding Plan subscription) had no parameter reference.

✨ What changed

  • Add the z-ai provider with both api_key and subscription (GLM Coding Plan) flavors.
  • api_key covers the current text lineup: GLM-5.1, GLM-5, GLM-5-Turbo, GLM-4.7 (+Flash/FlashX), GLM-4.6, and the GLM-4.5 family (Air/X/AirX/Flash).
  • Subscription covers the current Coding Plan set: GLM-5.1, GLM-5-Turbo, GLM-4.7, GLM-4.5-Air.
  • Add the Z.ai provider label, GLM model display names, and logo.

📝 Notes

Params sourced from https://docs.z.ai/ (chat completions reference). temperature range is [0, 1], top_p [0.01, 1], and thinking mode defaults to enabled. Vision models (glm-4.6v and friends) are left out; they're a separate multimodal surface.

Add the z.ai (GLM) provider with both classic API-key access and the GLM
Coding Plan subscription. Covers the current lineup: GLM-5.1, GLM-5,
GLM-5-Turbo, the GLM-4.7 family, GLM-4.6, and the GLM-4.5 family. Adds the
provider label, model display names, and logo.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

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

Project Deployment Actions Updated (UTC)
modelparameters-dev Ready Ready Preview May 24, 2026 7:52am

Request Review

Both are documented z.ai chat-completions parameters that were missing. stop
is modeled as a single string (matching the catalog's Mistral convention),
and tool_choice is an enum noting auto is the only value z.ai supports. Left
off the GLM Coding Plan subscription files, which don't expose these.
@github-actions github-actions Bot added model Add a model that's missing provider Add a provider that's missing site Website code or tooling labels May 24, 2026
@guillaumegay13 guillaumegay13 merged commit 9a0c126 into main May 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model Add a model that's missing provider Add a provider that's missing site Website code or tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants