← Models
vercel-ai-gateway

GLM 5.2

zai/glm-5.2
Reasoning

Model details

Model
zai/glm-5.2
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text
Reasoning
Yes
Context window
1,000,000
Max tokens
128,000

Pricing

USD per million tokens.

Input
$1.4
Output
$4.4
Cache read
$0.14
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.27
Uncached input
$0.11
Cache reads
$0.09
Cache writes
$0.0000
Output
$0.07
Without caching
$1.08

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

allowEmptySignature
Yes