GLM 5.2
text
zai-org/glm-5.2ZDR supportedZ.ai's flagship agentic coding model
$4.40list priceper 1M output tokens
pricing
| unit | list price |
|---|---|
| per 1M cached input tokens | $0.26 |
| per 1M input tokens | $1.40 |
| per 1M output tokens | $4.40 |
Everyone pays the list price. Reaching Elite (hold or stake 1,337 $XAVA, or hold 1,337,000 $XINF) unlocks the Elite price and a bigger buyback of your token. How it works
openai sdk (python)
from openai import OpenAI
client = OpenAI(
base_url="https://www.zinf.ai/v1",
api_key="xk_live_...", # your Xava Inference key
)
r = client.chat.completions.create(
model="zai-org/glm-5.2",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)curl
curl https://www.zinf.ai/v1/chat/completions \
-H "Authorization: Bearer $XINF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"zai-org/glm-5.2","messages":[{"role":"user","content":"Hello!"}]}'limits
providerZ.ai
typetext
context window262,144 tokens
max output—
prompt storagenone
provider retentionnone ZDR supported
livesoon
requests 24h—
p50 latency—
uptime 7d—