GLM 5.2
GLM 5.2 is an open-weight model by Z.ai, released 16 Jun 2026. It reads text and writes text, with a context window of 1M tokens and up to 944K tokens out. Through OpenRouter it costs $0.62 per million input tokens and $2.42 per million output tokens.
Facts from OpenRouter and Hugging Face · updated 24 Nov 2026
What it costs in practice
1,000 requests with 2,000 tokens in and 500 tokens out each cost about $2.45 through OpenRouter.
Use it
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model": "z-ai/glm-5.2", "messages": [{"role": "user", "content": "Hello"}]}'Other GLM versions
- GLM 5.3 FlashX Legal2 Nov 2026
- GLM 5.3 Prime23 Sept 2026
- GLM 5.3 FlashX18 Sept 2026
- GLM 5.3 Flash26 Aug 2026
- GLM 5.318 Aug 2026
- GLM 5.17 Apr 2026
- GLM 5V Turbo1 Apr 2026
- GLM 5 Turbo15 Mar 2026
More from Z.ai
- GLM Flash Latest27 Aug 2026
- GLM Latest19 Aug 2026
FAQ
What is the context window of GLM 5.2?
GLM 5.2 has a context window of 1,048,576 tokens, about 1,573 pages of text, and can write up to 943,718 tokens in one reply.
How much does GLM 5.2 cost?
Through OpenRouter, $0.62 per million input tokens and $2.42 per million output tokens. The maker's own price can differ.
Is GLM 5.2 open source?
Yes, its weights are published on Hugging Face as zai-org/GLM-5.2 under the mit licence.
When was GLM 5.2 released?
It became available on 16 Jun 2026.
Something wrong? Email hello@capylaunch.com. All AI models