GLM by Z.ai

GLM models by Z.ai (Zhipu AI): the GLM-5.3 flagship for complex development and the multimodal GLM-5.3 Flash — open weights, a 1M-token context window and responses up to 128K tokens.

More Z-ai models

About the Z-ai API

GLM models

GLM is a family of language models from Z.ai, also known as Zhipu AI. Z.ai publishes the weights of its models and focuses on software development, agents and code security. Models in the GLM-5 series are built as a mixture of experts and work with a long 1M-token context.

There are two current models:

  • GLM-5.3 — Z.ai's flagship, released in mid-August 2026; for complex development, agents, code review and vulnerability hunting; accepts text;
  • GLM-5.3 Flash — a model on a new 320B-parameter base, released on August 26; the first natively multimodal model in the GLM-5 series, accepting text, images and video.

What the models have in common

Both models have a 1M-token context window, with a single response of up to 128K tokens. Reasoning is always on, and its depth is set by the low, high or max level. Both models call tools and are built for agentic scenarios: terminal work, edits across a repository, multi-step tasks.

Which model to choose

TaskStart withCompare with
Complex development and coding agentsGLM-5.3GLM-5.3 Flash
Code review and vulnerability huntingGLM-5.3—
Screenshots, images, videoGLM-5.3 Flash—
High-volume and repetitive requestsGLM-5.3 FlashGLM-5.3
Office documents and financial analyticsGLM-5.3 FlashGLM-5.3

GLM-5.3 is built on the same base as GLM-5.2 and is stronger above all in code and code security: 84.5 on CyberGym and 34.5% on Z.ai's internal Z.ai Code Bench versus 23.4% for GLM-5.2. GLM-5.3 Flash is trained on a new base that combines sparse and linear attention: it needs 3 times less compute for attention, and according to Z.ai it outperforms GLM-5.2 on coding and agentic tasks.

Open weights

The weights of both models are published on Hugging Face under the zai-org organization. GLM-5.3 Flash is released under the standard MIT license. GLM-5.3 has its own near-MIT license with one term: the largest commercial services that sell access to the model need a Z.ai safety review before launch. Everyone else can use, modify and run the models on their own servers.

FAQ

Which GLM models are current?

GLM-5.3, Z.ai's flagship for complex development and agents, released in mid-August 2026, and GLM-5.3 Flash, a lighter multimodal model on a new base, released on August 26.

Which GLM model should I choose?

For the hardest coding tasks and vulnerability hunting, GLM-5.3. For high-volume requests, tasks with images and video, and agents that need to see the interface, GLM-5.3 Flash.

Are the weights of GLM models open?

Yes. GLM-5.3 Flash is released under the standard MIT license, and GLM-5.3 under the near-MIT GLM-5.3 License, with a term that applies only to the largest commercial services.

Who develops GLM?

Z.ai, also known as Zhipu AI. GLM models are released with open weights on Hugging Face under the zai-org organization.

Other vendors