GLM-5
GLM-5 is Z AI's open-weights model family for coding and long-running agent work, including GLM-5.1, GLM-5.2, and GLM-5.3. The weights are Apache-2.0. On the Z AI API, GLM-5 is $1 per million input tokens and $3.20 per million output tokens.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code
Use cases
About GLM-5
GLM-5 is listed in our models & local runtimes category and is aimed at builders. GLM-5 is Z AI's open-weights model family for coding and long-running agent work, including GLM-5.1, GLM-5.2, and GLM-5.3. The weights are Apache-2.0. On the Z AI API, GLM-5 is $1 per million input tokens and $3.20 per million output tokens. Pricing, as the maker states it: Open weights (Apache-2.0). Z AI API, per million tokens: GLM-5 is $1 input and $3.20 output; GLM-5.4 and GLM-5.3 are $1.40 input and $4.40 output; GLM-5.3-Flash is $0.15 input and $0.50 output. Checked 2 Dec 2026.. Maturity: Mature. We last checked the official link on 2026-12-01.
What is GLM-5?
The model-card README still leads with GLM-5.3, GLM-5.2, GLM-5.1, and GLM-5, plus the smaller GLM-5.3-Flash. It points local serving at common open engines and API use at the Z AI platform.
The Z AI price page, checked the same day, also lists GLM-5.4 at $1.40 per million input tokens and $4.40 per million output tokens. GLM-5.3-Flash is $0.15 and $0.50. Downloading the open weights does not include those API charges.
Sources: github.com/zai-org/GLM-5, github.com/zai-org/GLM-5/blob/main/README.md, z.ai/blog/glm-5.3 and our directory listing, checked 2026-12-02.
Who is GLM-5 for?
Engineers who want open weights for coding and long agent runs, either through Z AI or on their own servers.
GLM-5 at a glance
- Open source: Yes (Apache-2.0)
- GitHub: zai-org/GLM-5 · 7,512 stars (as of Dec 2, 2026)
Key features
- Open weights for GLM-5, GLM-5.1, GLM-5.2, GLM-5.3, and GLM-5.3-Flash
- Apache-2.0 weights you can serve yourself
- Z AI API prices published per million tokens
- GLM-5 API use is $1 input and $3.20 output per million tokens
- A smaller Flash model at a lower API rate
GLM-5 FAQ
What is GLM-5?
The model-card README still leads with GLM-5.3, GLM-5.2, GLM-5.1, and GLM-5, plus the smaller GLM-5.3-Flash. It points local serving at common open engines and API use at the Z AI platform.
Who is GLM-5 for?
Engineers who want open weights for coding and long agent runs, either through Z AI or on their own servers.
Is GLM-5 free?
GLM-5's pricing, as the maker states it: Open weights (Apache-2.0). Z AI API, per million tokens: GLM-5 is $1 input and $3.20 output; GLM-5.4 and GLM-5.3 are $1.40 input and $4.40 output; GLM-5.3-Flash is $0.15 input and $0.50 output. Checked 2 Dec 2026.. Check the official site for current plans.
Is GLM-5 open source?
Yes. GLM-5 is released under Apache-2.0, according to its GitHub repository.
Do the open weights cost money?
The repository is Apache-2.0, so the weights are free to use under that license. Calling the Z AI API is priced separately, per million tokens.
What are alternatives to GLM-5?
Similar tools include Spark-X2.6, Mercury 3, Meta Muse Wonder, LM Studio, ZeroRouter and Underthesea.
GLM-5 ratings and reviews
Be the first to rate GLM-5: tap 1 to 5 stars below. A written review is optional.
GLM-5 alternatives
Other models & local runtimes tools in our directory. See all models & local runtimes tools →
Spark-X2.6
Spark-X2.6 is a pair of compact 4B and 1.7B open-weight language models built for on-device agents, sharing Spark-X2.5's architecture but with new post-training that improves tool use, multi-step planning, coding, long context and multilingual tasks. Apache-2.0.
Mercury 3
Mercury 3 is Inception's diffusion language model, which writes many tokens in parallel rather than one at a time, reaching over 1,000 tokens per second on NVIDIA GPUs with a 1M-token context, tool calling and structured outputs. It has an OpenAI-compatible API and is also offered on OpenRouter, Baseten and Vercel, which makes it a fit for voice bots, support agents and browser agents where response speed matters. Pricing is per million input and output tokens.
Meta Muse Wonder
Meta's new models for personal and professional agent tasks, available via Meta Model API and Muse Code.
LM Studio
Desktop app for running local and open models, with Bionic, its agent for work and code that creates documents, slides, PDFs and software.
ZeroRouter
ZeroRouter is a cheaper OpenRouter-style API for Claude Code and other clients, routing models through one endpoint with transparent pricing.
Underthesea
Underthesea is an Apache-2.0 Python toolkit for Vietnamese natural language processing that now also ships a multi-provider AI agent. The NLP modules cover word segmentation, part-of-speech tagging, named-entity recognition, classification and more, installed with pip. The agent talks to OpenAI, Azure OpenAI, Anthropic Claude or Google Gemini using only the Python standard library, with no vendor SDKs required.