Z.ai

GLM 5.2

60% under Z.ai's list price on input and 70% on output

GLM 5.2 by Z.ai through the RelaySwitch API: $0.24 per million input tokens, $0.60 per million output tokens. Pay by card or crypto (Card, Apple Pay, PayPal, USDT, USDC, BTC, ETH, SOL). No KYC.

Input / M$0.24Z.ai list: $0.60
Cached input / M$0.068Z.ai list: $0.15
Output / M$0.60Z.ai list: $2.00

Specs

Model id
glm-5.2
Developer
Z.ai
Context window
1M tokens
Max output
131K tokens
Input
text
Released
2026-06-16

Call it

bash
1curl https://api.relayswitch.io/v1/chat/completions \
2 -H "Authorization: Bearer $RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "glm-5.2",
6 "messages": [{"role": "user", "content": "Hello"}]
7 }'

Any OpenAI SDK works: set the base URL to https://api.relayswitch.io/v1 and the model to glm-5.2. Get a key or read the docs.

FAQs

GLM 5.2: questions

Payment, keys and billing in short.

Open the console

A key in under a minute

Get a key

Or email hello@relayswitch.io

Run GLM 5.2 today

Top up by card or crypto and send "glm-5.2".