Skip to content
Z.ai
65% offprompt cache

GLM 4.6

glm-4.6

No description provided for this model.

Input / output per 1M

$0.175/$0.7

official $0.5 / $2

Network fee$0.00
ProviderZ.ai
ModalityText

Context

198K

Max output

16.4K

Input / 1M

$0.175

Output / 1M

$0.7

Pricing

Input / 1M$0.175$0.5
Output / 1M$0.7$2
Cache read / 1M$0.06463% off input
Network fee$0.00per request

65% below the reference list price.

Request

POST /v1/chat/completions
curl https://api.relayrouter.org/v1/chat/completions \
-H "Authorization: Bearer $RELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.6",
"messages": [{ "role": "user", "content": "Hello" }]
}'

Independent benchmark

Full leaderboard

Artificial Analysis has not published an Intelligence Index score for this model yet. The leaderboard covers every model it does rate, including models RelayRouter does not serve.

How much does GLM 4.6 cost on RelayRouter?

GLM 4.6 is billed at $0.175 per 1M input tokens and $0.7 per 1M output tokens, plus a flat network fee per request. Billing is prepaid and failed calls are not billed.

How do I call GLM 4.6?

Send a POST to https://api.relayrouter.org/v1/chat/completions with model set to "glm-4.6" and your RelayRouter key as a Bearer token. The API is [OI]-compatible, so existing SDKs work by changing the base URL and key.

What is GLM 4.6's context window?

GLM 4.6 accepts up to 198,000 input tokens per request and returns up to 16,384 output tokens. Prompts longer than the context window are rejected with HTTP 400 rather than silently truncated.