What is Z.ai and what is it used for?
Z.ai is an AI lab that offers, through an API platform, the GLM family of language models, vision models, image generation models and video generation models, and also publishes open weights on Hugging Face.
The developer documentation, at docs.z.ai, describes a chat endpoint compatible with the OpenAI format, at api.z.ai/api/paas/v4, and includes an example with the OpenAI SDK pointed at that address.
The documentation's catalog covers:
- GLM language models, with a main model and Flash and FlashX variants.
- Vision models, which take images, videos and files together with text.
- CogView-4 and GLM-Image, for generating images.
- CogVideoX-3, for generating video from text or an image.
The documentation also gathers guides on function calling, structured output, web search and streaming tool calls, and offers an official Python SDK.
On Hugging Face, the zai-org organization publishes weights for the GLM family, and the cards of earlier models carry an MIT license.
