glm-5.2
Z.ai
$0.00300/call
flat, per call
GLM 5.2 from Z.ai. Balanced model for bilingual (Chinese/English) use cases.
Context
1M tokens
Pricing
per call
Protocols
openai / anthropic
call_price
1500
Quick start
from openai import OpenAI
client = OpenAI(
api_key="sk-apilane-...",
base_url="https://api.apilane.one/v1",
)
resp = client.chat.completions.create(
model="glm-5.2",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)curl https://api.apilane.one/v1/chat/completions \
-H "Authorization: Bearer sk-apilane-..." \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Hello"}]
}'