ZeroTwo home

GLM 5.2

Default
Z.ai's GLM-5.2 is a foundation model built for long-horizon tasks, with a 1M-token context window sized for project-scale engineering context and a thinking mode for multi-step work. Text in and out.
Z.ai's GLM-5.2 is a foundation model built for long-horizon tasks, with a 1M-token context window sized for project-scale engineering context and a thinking mode for multi-step work. Text in and out.

GLM 5.2 is an AI model from Z.ai, available on ZeroTwo. It costs $1.40 per million input tokens and $4.40 per million output tokens, has a 1,000,000-token context window, can return up to 131,072 output tokens.

Price
$1.40$4.40
Input • Output

Z.ai's GLM-5.2 is a foundation model built for long-horizon tasks, with a 1M-token context window sized for project-scale engineering context and a thinking mode for multi-step work. Text in and out.

1,000,000 context window
131,072 max output tokens
Reasoning token support
Pricing
Pricing is based on the number of tokens used. For tool-specific models, like search and computer use, there's a fee per tool call. See details in the pricing page.
Text tokens
Per 1M tokens
Batch API price
Input
$1.40
Cached input
$0.26
Output
$4.40
Quick comparison
Input
Cached input
Output
GLM 5.2
$1.40

Questions

How much does GLM 5.2 cost?

GLM 5.2 is priced at $1.40 per million input tokens and $4.40 per million output tokens, with cached input at $0.26 per million. On ZeroTwo it is included in your plan's credits rather than billed per token.

What is GLM 5.2's context window?

GLM 5.2 accepts up to 1,000,000 tokens of context and can return up to 131,072 output tokens.

Can I use GLM 5.2 for free?

You can try GLM 5.2 on ZeroTwo's free plan, which includes a monthly credit allowance across every model in the catalogue. Heavier use moves to a paid plan rather than a per-token bill.