GLM 5.2: API pricing, context window and capabilities

Prices from official vendor price lists · October 2026

GLM 5.2 costs $0.966 per 1M input tokens and $3.04 per 1M output tokens, with a 1.05M context window. Mid-priced: dearer than 62% of this rating, with GLM 5 as the nearest cheaper Z.ai option. Recorded for reasoning, long context 1M+, free tier.

Capabilities
Text & chatReasoningTool calling
API $/1M (in / out)
$0.966 / $3.036
Context window
1.05M tokens
Price / mo
API only

GLM 5.2 is an AI model from Z.ai, priced at $0.966 input and $3.036 output per 1M tokens. That places it in the mid tier of this rating — dearer than 62% of the 205 priced models listed.

It holds 1.05M tokens in a single conversation, enough for a full codebase or a contract bundle in one pass. Capabilities recorded in this rating: text & chat, reasoning, tool calling, structured JSON output, long context 1M+. Access is through the API rather than a consumer subscription.

API price$0.966 / $3.036per 1M tokens, in / out
Context1.05M tokenstokens per conversation
VendorZ.aiall models from this vendor
TierMiddearer than 62% of models

Cost calculator

Standard$2.52AED 9 per month
With batch −50%$1.26AED 5 per month
With caching on input$2.30AED 8 per month
Standard$25.18AED 92 per month
With batch −50%$12.59AED 46 per month
With caching on input$23.01AED 85 per month
Standard$126AED 462 per month
With batch −50%$62.96AED 231 per month
With caching on input$115AED 423 per month
Standard$504AED 1,850 per month
With batch −50%$252AED 925 per month
With caching on input$460AED 1,690 per month

Assumes a 1:3 input-to-output ratio, which is typical for chat and generation. Dirham figures use 3.6725 per dollar. Batch and caching discounts apply where the vendor offers them.

Compared with alternatives

Good and poor fit

Good fit
  • Multi-step analysis, planning and code review, where the first plausible answer is often wrong.
  • Whole codebases, contract bundles and long transcripts in a single pass.
Poor fit
  • Anything requiring image input — this model does not accept it.

Related filters

Text & chat234 models for text generation and chat
Reasoning175 models that think before answering
Tool calling172 models that call your functions
Long context 1M+88 models holding 1M tokens or more
Prompt caching153 models with cheap repeated context
Z.ai12 models from this vendor
All 245 modelsThe full rating with filters and prices

Frequently asked questions

How much does GLM 5.2 cost?

$0.966 / $3.036 per 1M tokens, input and output. In dirhams that is roughly AED 3.55 per 1M input tokens. Batch processing halves it where the vendor offers it.

What is the context window of GLM 5.2?

1.05M tokens in a single conversation.

What can GLM 5.2 do?

In this rating it is recorded with: text & chat, reasoning, tool calling, structured JSON output, long context 1M+, prompt caching, batch API, free tier, multilingual, open weights.

Is GLM 5.2 a good choice?

It depends on the job. See the good-fit and poor-fit lists above, and compare against the neighbouring models before committing.

Frequently searched

Ratings 0

Avg. score 0

Rate this page

Help us improve