32 signals
HOlO V1 IS LIVEone ranked AI digest a day, scored in publicREAD HOW IT WORKS →HOlO V2 STARTSyour X account, your signals, every day

Model registry / Z.ai (Zhipu, GLM) / GLM / GLM-5.2

GLM-5.2

Open flagship GLM for long-horizon coding agents and million-token context work

Line

GLM

Weights

Open

Released

2026-06-13

Context

1M

Input

$0.152 / 1M

Output

$1.05 / 1M

Max output

131K

Coverage

2 signals

Overview

GLM-5.2 is an open flagship model from Z.ai for long-horizon coding agents and million-token context work. It is the successor to GLM-5.1 in the GLM line. It has a context window of 1,000,000 tokens and a maximum output of 131,072 tokens. Weights are open. It supports reasoning mode and tool calling. It accepts text and returns text. Pricing starts at $0.088 per million input tokens and $1.05 per million output tokens, with cached input at $0.05 per million tokens.

Specs

Released2026-06-13
LineZ.ai (Zhipu, GLM) · GLM
WeightsOpen
Context1M tokens
Max output131K tokens
Inputtext
Outputtext
ReasoningYes
Tool callingYes
Knowledge cutoffnot stated
API idglm-5.2

Pricing

Input$0.152 / 1M tokens
Cached input$0.05 / 1M tokens
Output$1.05 / 1M tokens

Against GLM-5.1: window 200K to 1M, input $0.45 to $0.152, output $2.15 to $1.05, cached input $0.08 to $0.05.

Range across the hosts that serve it: up to $2.80 per 1M input tokens.

Strengths

  • 1M token context window for long-horizon tasks
  • 131K token output limit
  • Open weights for self-hosting
  • Reasoning mode for complex coding
  • Tool calling for agent workflows

Best for

  • Reach for it for long-horizon coding agents
  • Reach for it for million-token context work
  • Reach for it for tasks needing tool calling
  • Reach for it for self-hosted deployments

How to access

ProviderModel id
302.AIglm-5.2
AIHubMixglm-5.2
Abacusglm-5.2
Alibabaglm-5.2
Alibaba (China)glm-5.2
Alibaba Token Planglm-5.2
Alibaba Token Plan (China)glm-5.2
Ambientglm-5.2
Arceeglm-5.2
Basetenglm-5.2
Berget.AIglm-5.2
Charm Hyperglm-5.2

73 hosts serve this model at the price above · the maker's documentation

What the digest said

2 signals of the archive mention this model, each scored against the published bar. This list is rebuilt from the archive at every build, so it cannot go stale.

GLM: every version

VersionReleasedContextInput
GLM-5.3Current2026-08-141M$0.07
GLM-5.22026-06-131M$0.152
GLM-5.12026-04-07200K$0.45
GLM-5V-Turbo2026-04-01200K$0.7042
GLM-5-Turbo2026-03-16200K$0.72
GLM-52026-02-12205K$0.50

The registry keeps the six most recent versions of a line. Older ones stay in the file and can be surfaced without a rebuild.

FAQ

How does GLM-5.2 compare to GLM-5.1?
GLM-5.2 has a 1M token context window, up from 200k in GLM-5.1, and was released later.
Does it support tool calling?
Yes, GLM-5.2 supports tool calling and also has a reasoning mode.
What is the maximum output length?
The maximum output is 131,072 tokens.
Open weightsReasoning1M context