← All news

News / AI models / Z.ai

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

1,000 requests with 2,000 tokens in and 500 tokens out each cost about $2.45 through OpenRouter.

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"}]}'

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