Z.ai · 1.0M context
GLM 5.2 API
Use GLM 5.2 in the Synaps chat or through one OpenAI-compatible API key. Pay per message from a balance you top up with ETH or USDC. No subscription, no card.
Prices include the 20% Synaps fee and update automatically. “List” is what the provider charges.
Call GLM 5.2 from code
Synaps speaks the OpenAI Chat Completions format. Point any OpenAI SDK at Synaps and set model to z-ai/glm-5.2.
curl https://www.synaps.chat/api/v1/chat/completions \
-H "Authorization: Bearer $SYNAPS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.2",
"messages": [{ "role": "user", "content": "Hello!" }]
}'from openai import OpenAI
client = OpenAI(base_url="https://www.synaps.chat/api/v1", api_key="syn_...")
reply = client.chat.completions.create(
model="z-ai/glm-5.2",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)Privacy
Synaps routes this model only to providers that don't store or train on your prompts.
Questions
How much does GLM 5.2 cost on Synaps?
$0.041 per million input tokens and $8.40 per million output tokens, including the 20% Synaps fee. A typical chat message costs about $0.0043. You only pay for what you use.
Can I pay for GLM 5.2 with crypto?
Yes. Top up your Synaps balance with ETH on Robinhood Chain or Base, or USDC on Base, from $1. Each message is deducted from that balance. There is no subscription or card.
Is there a GLM 5.2 API?
Yes. Create an API key on Synaps and call z-ai/glm-5.2 through the OpenAI-compatible endpoint https://www.synaps.chat/api/v1/chat/completions. Any OpenAI SDK works by changing the base URL.
What can GLM 5.2 do?
It accepts text and produces text, with a context window of 1.0M tokens.