# GLM (Zhipu)

> Canonical: https://skillalmanac.com/glossary/glm-model | Last verified: 2026-11-24 | Index status: not offered to search engines

GLM is a family of large language models from Zhipu AI, which also operates as Z.ai. Some models have downloadable weights, and the company also offers models through a hosted API.

Also called: GLM, GLM-4, Zhipu GLM, ChatGLM, GLM model, Z.ai GLM.

## In plain language

GLM is a set of AI language models from a Chinese company called Zhipu AI, which now also uses the name Z.ai. Like other chat models, you can type or send text and get a written reply. Some GLM models can be downloaded and run on your own computer, and others are used through the company's web service. Picture the difference between owning a cookbook and eating at a restaurant. The files are not always free of conditions, so check the licence listed on the model's page, and note that a service call sends your text to the provider. The model list changes often, so look at the vendor pages for the current names.

## Technical definition

GLM comes from Team GLM, whose report (arXiv 2406.12793, submitted June 2024) describes the ChatGLM series from GLM-130B to GLM-4 and says the team open-sourced several models. As of 2026-11-24, the GLM-4 repository, hosted under the zai-org GitHub organisation, lists Apache-2.0 as its licence and links model downloads on Hugging Face, ModelScope, Modelers and WiseModel. The Z.ai quick-start page describes an HTTP API with bearer-key authentication that can also be called through OpenAI-compatible SDKs after changing the base URL, and names glm-5.3 as its latest flagship model.

## How it shows up when you use agents

GLM models appear in two ways. First, the weights of some models are published, so a team can download one and run it on its own hardware, the same way it would run any open weights model. Second, the provider runs an API, and its quick-start page says the API can be called with OpenAI-compatible SDKs after you change the base URL. That is why a coding tool or script that lets you set a custom endpoint and model name can sometimes point at a GLM model. Check your tool's documentation for whether it supports that.

What breaks when it is misunderstood: people assume that "open" means unrestricted, or that a model name from last quarter is still the current one. The licence is stated on each model's page, and the Z.ai page lists newer model names than the repository does. Another mistake is sending private code to a hosted endpoint without reading the provider's terms.

A safer habit is to pick one route and check it. For self-hosting, size the memory first with the [local model sizing](/skills/skill-almanac/local-model-sizing) skill and read the [self-hosting guide](/learn/self-hosted-ai-agent-considerations). For the hosted API, read the data terms on the provider's pages. See [open weights model](/glossary/open-weights-model) and [self-hosted LLM](/glossary/self-hosted-llm) for the general ideas, [large language model](/glossary/large-language-model) for what GLM is, and [AI assistant](/glossary/ai-assistant) for how a chat front end uses such a model.

GLM is a product of Z.ai, which owns the name; Skill Almanac is independent and not affiliated with Z.ai.

## Common confusions

- **GLM versus ChatGLM.** ChatGLM is the name of the earlier chat series in the Team GLM report. GLM-4 and later names appear in the vendor repository and documentation.
- **Zhipu AI versus Z.ai.** According to Wikipedia, they are the same company, which rebranded internationally as Z.ai.
- **Open weights versus open source.** Open weights means the model files can be downloaded. It does not by itself say what the licence allows, so read the licence on the model's page.
- **Myth.** All GLM models can be run locally. The repository lists specific models with download links, and the hosted API is a separate route.

## Worked examples in this catalogue

### [local-model-sizing](https://skillalmanac.com/skills/skill-almanac/local-model-sizing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A check on whether an open-weight language model will run on a given GPU, Mac or PC, with a script that computes weight, KV-cache and overhead memory per quantization.

Why it exercises the concept: GLM models with downloadable weights fall in that category. Sizing the memory comes before deciding to host one yourself.

### [Self-Hosting an AI Agent: What You Take On](https://skillalmanac.com/learn/self-hosted-ai-agent-considerations)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: What you own when an AI agent runs on your machine: model memory, network exposure, file access and vetting skills.

Why it exercises the concept: Running a downloaded GLM model yourself brings these responsibilities. The guide does not mention GLM, so it applies as a general checklist.

### [Open-source AI agents: criteria for comparing them](https://skillalmanac.com/learn/open-source-ai-agents-what-to-compare)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: How to compare open-source AI agents on license, permissions, tool connections and maintenance, with a test to run for each before you install one.

Why it exercises the concept: The same licence check applies to a model repository. The GLM-4 repository lists Apache-2.0, and the guide explains what that licence covers.

## Related terms

- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [Open-weights model](https://skillalmanac.com/glossary/open-weights-model.md)
- [Model weights](https://skillalmanac.com/glossary/model-weights.md)
- [Self-hosted LLM](https://skillalmanac.com/glossary/self-hosted-llm.md)
- [Qwen](https://skillalmanac.com/glossary/qwen.md)
- [DeepSeek](https://skillalmanac.com/glossary/deepseek.md)

## Sources

- [GLM-4 series: Open Multilingual Multimodal Chat LMs (README)](https://github.com/zai-org/GLM-4), GitHub (zai-org) (accessed 2026-11-24)
- [ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools](https://arxiv.org/abs/2406.12793), arXiv (Team GLM) (accessed 2026-11-24)
- [Quick Start](https://docs.z.ai/guides/overview/quick-start), Z.ai documentation (accessed 2026-11-24)
- [Zhipu AI](https://en.wikipedia.org/wiki/Zhipu_AI), Wikipedia (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
