# GLM (Z.ai)

CreateWithAI Hub page: https://createwithaihub.com/ai-models/glm
Latest version of this file: https://createwithaihub.com/ai-models/glm.md

- Type: AI model · Category: AI Models
- Publisher: Z.ai
- Pricing: Free plan plus paid plans
- Runs on: Web, API (cloud), Docker / self-hosted

Z.ai's GLM model family (GLM-5.3, GLM-5.3-Flash): open-weight MoE language models with a 1M-token context, API and chat app.

GLM is the model family of Z.ai (Zhipu AI) of large language models. The current flagship GLM-5.3 is a 744B-parameter mixture-of-experts text model with a 1M-token context, and GLM-5.3-Flash is a smaller, natively multimodal model that accepts images. Weights are published on Hugging Face, and the models are offered through the Z.ai API (with an Anthropic-compatible endpoint), the chat.z.ai app and the GLM Coding Plan, which also includes the newer GLM-5.4.

Useful for: Running a coding agent on a low-cost API model, or self-hosting an MIT-licensed GLM model with vLLM.

## Key features

- GLM-5.3 flagship with 1M-token context and 128K max output
- GLM-5.3-Flash with image and text input
- Open weights on Hugging Face (MIT for GLM-5.3-Flash, GLM-5.2 and earlier)
- Z.ai API with an Anthropic-compatible endpoint
- Free GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash models on the API; GLM-5.3 at $1.40 input / $4.40 output per 1M tokens
- Runs on vLLM, SGLang, Transformers, KTransformers and Docker Model Runner

## Connection

- Capability: Reasoning, Coding, Chat, Vision
- Modality: Text, Image
- Weights: Open-weight
- Local or hosted: Can run locally, Hosted
- API availability: Official API
- Free usage: Free usage available

## Install steps from the official documentation

Serve with vLLM:

```
pip install vllm
vllm serve "zai-org/GLM-5.3"
```

Run with Docker Model Runner:

```
docker model run hf.co/zai-org/GLM-5.3
```

## Limitations

- GLM-5.3 uses its own license, which requires a Z.ai security review for very large Model-as-a-Service companies
- Thinking mode can no longer be disabled on the newest models
- The 744B flagship needs multi-GPU servers to self-host

## Official links

- Website: https://z.ai
- Source repository: https://github.com/zai-org/GLM-5
- Documentation: https://docs.z.ai/guides/llm/glm-5.3
- Source: https://docs.z.ai/guides/llm/glm-5.3 (GLM-5.3 specs (1M context, 128K output), API endpoint, Anthropic-compatible endpoint, thinking behaviour)
- Source: https://docs.z.ai/guides/overview/pricing (GLM-5.3 $1.4/$4.4 per 1M tokens; GLM-5.3-Flash $0.15/$0.50; free GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash)
- Source: https://huggingface.co/zai-org/GLM-5.3 (Weights, 'GLM-5.3 License' (HF tag license:other) with security-review clause, vLLM and Docker commands)
- Source: https://huggingface.co/zai-org/GLM-5.3-Flash (Natively multimodal Flash model, MIT license)
- Source: https://github.com/zai-org/GLM-5 (Model sizes (744B-A40B, 320B-A18B); repo code Apache-2.0)
- Source: https://chat.z.ai (Chat app powered by GLM-5.3-Flash)
- Source: https://github.com/zai-org (Official org identifies as Zhipu.ai (Z.ai); lists ChatGLM and GLM projects)
- Source: https://docs.z.ai/devpack/overview (GLM Coding Plan from $18/month; plans support GLM-5.4, GLM-5.3 and GLM-5.3-Flash)
