All models
Z.AI

GLM-5.2

Z.AI's GLM-5.2: strong reasoning with fast inference and 1M context. Good for coding and analysis over long inputs, text only, open content level. GLM-5.3 is newer at about a third of the price.

OpenOpen-weight models with lighter filters. Discuss more, refuse less.
Smart & Cheap
Intelligence
~1.35 credits ($0.014)
Estimated price per message
10,48,576 tokens
Context window
Text
Input modalities

GLM-5.2 is a legacy model. Open GLM-5.3 to start a new chat.

See GLM-5.3

The facts

Made by
Z.AI
Content tier
OpenOpen-weight models with lighter filters. Discuss more, refuse less.
Intelligence
Smart & Cheap
Known for
Code, Analysis, Reasoning, Speed
Estimated price per message
~1.35 credits ($0.014)Reference message with 16,000 input tokens and 1,500 output tokens. Rates shown for OpenRouter.
Price per 1M tokens
$0.0091 input, $8.84 output0.91 / 884 credits
Cached input per 1M tokens
$0.00780.78 credits
Context window
10,48,576 tokens≈ 1,613 pages of text in one go
Input modalities
Text
Output modalities
Text
Tool use
Yes: search, memory, code and more
Served via
OpenRouter
API model id
Not on the API anymore. Use glm-5.3.
Status
Legacy

Charges depend on usage and provider. Currency estimates use the one-time credit pack rate of $0.01 per credit.

What GLM-5.2 is best for

Use it for

  • Writing, reviewing and fixing code
  • Multi-step reasoning: math, logic, planning
  • Research and analysis of long material
  • Whole books or codebases in one prompt
  • Agent work with tools: search, memory, code
  • Quick replies when speed matters

Skip it for

  • New projects: GLM-5.3 replaces it
  • Tasks that require image input

GLM-5.2 vs the closest alternatives

Price, context and tier side by side. Open a head-to-head for the full breakdown.

ModelContent tierIntelligenceContext windowPrice per messageHead-to-head
GLM-5.2OpenSmart & Cheap1M~1.35 credits per messageThis page
GLM-5.3OpenSmart & Cheap1M~0.42 credits per messageGLM-5.2 vs GLM-5.3

GLM-5.2: questions and answers

How much does GLM-5.2 cost?

About 1.35 credits ($0.014) for a reference message via OpenRouter. Per million tokens, $0.0091 for input and $8.84 for text output. Cached input costs $0.0078 per million tokens. Reference message with 16,000 input tokens and 1,500 output tokens.

Is GLM-5.2 uncensored?

GLM-5.2 is in the Open tier. Its responses can still be filtered.

Can I use GLM-5.2 via API?

GLM-5.2 is a legacy model and no longer listed on the API. Use GLM-5.3 (glm-5.3) instead. The API needs a paid account: any plan.

How big is the context window of GLM-5.2?

10,48,576 tokens. That is about 1,613 pages of text in one go.

What inputs and outputs does GLM-5.2 support?

Input: Text. Output: Text. It supports tool calling.

Who serves GLM-5.2 on this platform?

Available providers include OpenRouter.

What is GLM-5.2 good for?

Use it for: Writing, reviewing and fixing code; Multi-step reasoning: math, logic, planning; Research and analysis of long material; Whole books or codebases in one prompt; Agent work with tools: search, memory, code; Quick replies when speed matters.

Is there a cheaper alternative to GLM-5.2?

GPT-OSS 120B: same tier, the same or a higher intelligence level, and about 0.16 credits per reference message instead of 1.35.

GLM-5.2 or GLM-5.3: which one should I pick?

GLM-5.2 costs about 1.35 credits per reference message, has a 1M token context window and sits in the Open tier. GLM-5.3 costs about 0.42 credits, has 1M tokens of context and sits in the Open tier. Both run in the same chat, so you can switch mid conversation and judge the answers yourself.

How can I try GLM-5.2?

GLM-5.2 is a legacy model. New chats use GLM-5.3, which you can try with free starter credits, no card needed.

What changed

Dated changes to GLM-5.2, straight from our model registry.

  • Nov 7, 2026
    Legacy

    Moved to legacy. Hidden from the model picker. Replaced by GLM-5.3

  • Aug 16, 2026
    New

    New model in the Open tier.

Try GLM-5.3 now.

Free credits to start, no card needed. The chat opens with GLM-5.3 selected and a prompt ready. Just send.