Skip to content

v1.2.0 - GLM (Z.ai) provider

Latest

Choose a tag to compare

@crossps crossps released this 31 May 18:35
· 2 commits to main since this release

Adds GLM (Zhipu / Z.ai) as a built-in provider.

  • GLM models (glm-4.6, glm-4.5, glm-4.5-flash, …) route to https://api.z.ai/api/paas/v4 — Zhipu's OpenAI-compatible endpoint — via the existing passthrough path.
  • Set GLM_API_KEY and use a glm-* model. Override baseUrl for the coding-plan (/api/coding/paas/v4) or mainland (open.bigmodel.cn) endpoints.
  • Works across all three inbound formats; cross-converts for /v1/messages.
  • 18 tests, all passing.