Skip to content

Z.ai

GLM 5.2 API Pricing & Context Window

GLM 5.2 by Z.ai: API pricing per 1M tokens, cached input cost, context window, and capabilities. Use it in Sim's AI agents.

GLM 5.2 is a Z.ai model tracked in Sim. It supports a 1M token context window. Pricing starts at $1.4/1M input tokens and $4.4/1M output tokens. Key capabilities include Temperature 0-1, Tool choice, Structured outputs. Best for reasoning-heavy tasks that need more deliberate model control.

SpecificationValue
Model IDglm-5.2
ProviderZ.ai
StatusCurrent
ReleasedJun 13, 2026
Context window1M tokens
Max output131k tokens

Pricing

Prices are in US dollars per 1M tokens, as listed in Sim's model catalog on Nov 20, 2026.

TokensPrice per 1M
Input$1.4
Cached input$0.26
Output$4.4

Capabilities

CapabilitySupport
Temperature0 to 1
Reasoning effortnone, minimal, low, medium, high, xhigh, max
VerbosityNot supported
Thinking levelsNot supported
Structured outputsSupported
Tool choiceSupported
Computer useNot supported
Memory supportSupported
Max output tokens131k

Use GLM 5.2 in Sim

Select GLM 5.2 in the model picker of an Agent block. Each Agent block selects its own model, so you can change it without changing the rest of the workflow.

ModelInputOutputContext window
GLM 5.3$1.4$4.41M
GLM 5.3 Flashx$0.37$1.251M
GLM 5.3 Flash$0.15$0.51M
GLM 5.1$1.4$4.4200k
GLM 5$1$3.2200k
GLM 5 Turbo$1.2$4200k

Frequently asked questions

What is GLM 5.2?

GLM 5.2 is a Z.ai model tracked in Sim. It supports a 1M token context window. Pricing starts at $1.4/1M input tokens and $4.4/1M output tokens. Key capabilities include Temperature 0-1, Tool choice, Structured outputs.

How much does GLM 5.2 cost?

GLM 5.2 starts at $1.4/1M input tokens, $0.26/1M cached input tokens, and $4.4/1M output tokens.

What is the context window for GLM 5.2?

GLM 5.2 supports a context window of 1M tokens in Sim. In an agent, this determines how much conversation history, tool outputs, and retrieved documents the model can hold in a single call.

What capabilities does GLM 5.2 support?

GLM 5.2 supports the following capabilities in Sim: Temperature 0-1, Tool choice, Structured outputs, Reasoning none, minimal, low, medium, high, xhigh, max, Max output 131k.

What is GLM 5.2 best used for?

Best for reasoning-heavy tasks that need more deliberate model control. When used in a Sim workflow, it can be selected in any Agent block from the model picker.

Was this helpful?
Suggest an edit