Create a Z.ai Standard API Key
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from Z.ai’s Quick Start, API reference introduction and API Key Management Guide pages, retrieved 2026-10-16.
Z.ai serves its GLM models through an OpenAI-compatible API at https://api.z.ai/api/paas/v4. Since
16 October 2026 it issues two kinds of key, and the kind decides the bill: a Standard API Key is
charged pay-as-you-go against your account balance or a usage bundle, while a GLM Coding Plan key uses
your plan’s quota. The connection needs a Standard API Key.
- Go to the Z.AI Open Platform and register or log in.
- Top up on the Billing Page if the account has no balance or usage bundle.
- Open the API Keys management page and create a key under Standard API Key. Do not use the Personal Coding Plan tab or a Team Coding Plan key: those keys are billed against a Coding Plan, not the account balance (API Key Management Guide).
- Copy the key and paste it into the connection.
A key created before 16 October 2026 keeps working; Z.ai classified it automatically, and its label on the API Keys page says how it is billed. Z.ai documents no endpoint that checks a key without running a model, so a key is first exercised by a real request.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose Z.ai, and pick Z.ai Standard API Key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: Z.ai in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.