Skip to content
LLMs
Z.ai logo

Z.ai: GLM 5.2

by Z.ai

Z.ai: GLM 5.2 is a large language model from Z.ai. It costs $0.037 per million input tokens and $7.00 per million output tokens. Its context window is 1.0M tokens.

ReasoningTool callingStructured outputPrompt cachingOpen weights
Input / 1M tokens
$0.037
Output / 1M tokens
$7.00
Cached input / 1M
$0.036

On repeated prefixes

Context window
1.0M

tokens

Who serves it cheapest

25 hosts serve GLM 5.2. Same weights, same API - the price difference is pure margin and routing.

Providers serving Z.ai: GLM 5.2, cheapest first
ProviderInput / 1MOutput / 1MContextThroughputUptime 24h
DeepInfraCheapestfp4$0.563$1.801.0M-99.9%
StreamLakefp8$0.613$1.931.0M-99.4%
Novitafp8$0.650$2.041.0M-100.0%
Relace$0.035$4.001.0M-100.0%
CoreWeavefp4$0.620$2.421.0M-100.0%
DigitalOcean$0.700$2.201.0M-99.5%
SiliconFlowfp8$0.700$2.201.0M-100.0%
Inceptronfp4$0.690$3.151.0M-99.6%
AtlasCloudfp8$0.938$2.951.0M-100.0%
Alibabafp8$0.966$3.041M-99.6%
Morphfp8$0.079$6.001.0M-100.0%
Phalafp8$1.26$3.001.0M-0.0%
Wafer$0.037$7.001.0M-100.0%
Cloudflare$0.190$8.00262K-99.9%
Nebiusfp4$1.40$4.401.0M-94.6%
Mistralnvfp4$1.40$4.401.0M-100.0%
BaseTenfp8$1.40$4.401.0M-100.0%
Together$1.40$4.401.0M-97.1%
Baidufp8$1.40$4.401.0M-99.9%
Venicefp8$1.40$4.401M-99.9%
GMICloudfp8$1.40$4.401.0M-100.0%
Parasailfp4$1.40$4.40262K-93.4%
Friendli$1.40$4.401.0M-99.9%
Z.AIfp8$1.40$4.401.0M-100.0%
Decartfp4$2.50$9.001.0M-100.0%

The spread between DeepInfra and Decart is 4.7× for identical weights. Quantization and context limits differ, so check both columns before switching.

Benchmarks

Independent scores published alongside the catalogue.

Intelligence index
33.7
Coding index
68.8
Agentic index
38.4

About GLM 5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Specifications

Z.ai: GLM 5.2 specifications
Model IDz-ai/glm-5.2
ProviderZ.ai
Context window1.0M tokens
Max output944K tokens
Input modalitiestext
Output modalitiestext
Knowledge cutoff-
Open weightsYes - zai-org/GLM-5.2
ReleasedJune 16, 2026

Cheaper alternatives

Models that cost less than GLM 5.2 while keeping at least half its context window and every input modality it supports.

Frequently asked

How much does Z.ai: GLM 5.2 cost?

$0.037 per million input tokens and $7.00 per million output tokens. Cached input reads cost $0.036 per million tokens.

What is the context window of Z.ai: GLM 5.2?

1.0M tokens, with up to 944K tokens of output per request.

Which provider serves Z.ai: GLM 5.2 cheapest?

DeepInfra at $0.563 per million input tokens - 4.7× cheaper than Decart, the most expensive of the 25 hosts serving it.

Confirm against the source: Z.ai official pricing.