glm-4.5· Released Jul 25, 2025
z-ai/glm-4.5
GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...
Input
From$0.54/M
Output
From$1.98/M
Context
Up to 131K
Max output
Up to 98K
Modalities
TextTextInput and output show the lowest price across upstreams, for reference. Your actual prices are listed per upstream below.
Upstreams & pricing
| Upstream | Context | Max output | Input $/1M | Output $/1M | Cached input $/1M |
|---|---|---|---|---|---|
Zenlayer AI Gateway-openai_compat (Global)From price | 131K | 98K | $0.54 | $1.98 | $0.099 |
Routed in real time — you pay the listed price of whichever upstream serves your call.
How to call
curlrequest.sh
curl https://api.tkex.ai/v1/chat/completions \
-H "Authorization: Bearer $TX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-4.5",
"messages": [
{"role": "user", "content": "Say hello in five words."}
]
}'