We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve user experience and analyze website traffic…

DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

zai-org logo

zai-org/

GLM-5.2

$0.75

in

$2.40

out

$0.14

cached

/ 1M tokens

TierInputOutputCached input
Priority (1.5×)Learn More
$1.125$3.60$0.21
Flex (0.8×)Learn More
$0.60$1.92$0.112

per 1M tokens

Prompt cache retentionLearn More
Cache write
Retain for 5m (1.25×)
$0.9375
Retain for 1h (2×)
$1.50

per 1M tokens

Retained in whole blocks of 1,024 tokens; the remainder is billed as standard input. Reuse within the window bills at the cached input rate.

**Shown at the standard tier. Priority and Flex scale these rates the same way they scale input and output.

GLM-5.2 is Z-AI's latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a **solid 1M-token context**.

Deploy Private Endpoint
Supports Priority Tier
Supports Flex Tier
Public
fp4
1,048,576
JSON
Function
zai-org/GLM-5.2 cover image