cloudflare
zai-org/glm-5.2
cloudflare/zai-org/glm-5.2
Z.ai's flagship agentic coding model
- Type
- text
- Provider
- cloudflare
- Model ID
- cloudflare/zai-org/glm-5.2
- Capabilities
- tools
- Context window
- 262K tokens
- Input price
- $1.54 / 1M tokens
- Output price
- $4.84 / 1M tokens
Cloud price is billed from prepaid credits when a request fails over to the cloud. Open-weight models run free on GPUs you own — the gateway routes to your nodes first.
What it costs to run
cloud · 1M in + 1M out
$6.38
$1.54 for a million input tokens plus $4.84 for a million output tokens, billed from credits only when a request fails over to the cloud.
your hardware
cloud only
zai-org/glm-5.2 is a hosted model, so it is always served from the cloud. Route easy traffic to an open model on your own hardware and keep this one for the requests that need it.
/// initialize
Call zai-org/glm-5.2 through one OpenAI-compatible endpoint.
Mix it with open models on your own hardware — the gateway routes each request to the cheapest place that can serve it.
no credit card · 2 nodes free · openai-compatible
Frequently asked questions
- What is the context window of zai-org/glm-5.2?
- zai-org/glm-5.2 accepts up to 262,144 tokens (262K) of context per request.
- How much does zai-org/glm-5.2 cost per million tokens?
- Through Wide Area Intelligence, zai-org/glm-5.2 costs $1.54 per 1M input tokens and $4.84 per 1M output tokens when served from the cloud, billed from prepaid credits. A workload of 1M input plus 1M output tokens costs $6.38.
More from cloudflare
- ai4bharat/indictrans2-en-indic-1Bcloudflare/ai4bharat/indictrans2-en-indic-1B
- aisingapore/gemma-sea-lion-v4-27b-itcloudflare/aisingapore/gemma-sea-lion-v4-27b-it
- baai/bge-base-en-v1.5cloudflare/baai/bge-base-en-v1.5
- baai/bge-large-en-v1.5cloudflare/baai/bge-large-en-v1.5
- baai/bge-m3cloudflare/baai/bge-m3
- baai/bge-reranker-basecloudflare/baai/bge-reranker-base
- baai/bge-small-en-v1.5cloudflare/baai/bge-small-en-v1.5
- black-forest-labs/flux-1-schnellcloudflare/black-forest-labs/flux-1-schnell