Model reference · open weights

GLM-5.2

GLM-5.2 is an open-weight language model from unsloth, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

LLMs unsloth 1 variants 387k downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What GLM-5.2 is

Read our How to Run GLM-5.2 Guide! GLM-5.2 👋 Join our <a href="https://raw.githubusercontent.com/zai-org/GLM-5/refs/heads/main/resources/wechat.png" target="blank"WeChat</a or <a href="https://discord.gg/QR7SARHRxK" target="blank"Discord</a community. 📖 Check out the GLM-5.2 <a href="https://z.ai/blog/glm-5.2" target="blank"blog</a and GLM-5 <a href="https://arxiv.org/abs/2602.15763" target="blank"Technical report</a. 📍 Use GLM-5.2 API services on <a href="https://docs.z.ai/guides/llm/glm-5.2"Z.ai API Platform. </a 🔜 Try GLM-5.2 <a href="https://chat.z.ai"here</a. [<a href="https://huggingface.co/papers/2602.15763" target="blank"Paper</a] [<a href="https://github.com/zai-org/GLM-5" target="blank"GitHub</a] Introduction We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context. GLM-5.2's new capabilities include: - Solid 1M Context: A solid 1M-token context that stably sustains long-horizon work - Advanced Coding with Flexible Effort: Stronger coding capabilities with multiple thinking effort levels to balance performance and latency - Improved Architecture: We propose IndexShare, which reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at a 1M context length. We also improve GLM-5.2’s MTP layer for speculative decoding, increasing the acceptance length by up to 20% - Pure Open: An MIT open-source license — no regional limits, technical access without borders Benchmark Citation If you find GLM-5.2 useful in your research, please cite our technical report:

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makerunsloth
TypeLanguage models
Variants1
Based onzai-org/GLM-5.2
Released2026-06-17
Popularity387k downloads / month
Likes642
LicenceOpen weights

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
GLM-5.2-GGUFGGUFWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys unsloth-glm-5-2 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (unsloth-glm-5-2 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"unsloth-glm-5-2","messages":[{"role":"user","content":"Hello"}]}'

Details

Languages, data & research

Languages

en zh

Tags

gguf glm_moe_dsa unsloth text-generation en zh endpoints_compatible conversational

Papers

Licence

Open weights

Open weights under mit — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want GLM-5.2 on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More language models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms