Text generation / 智谱
glm-5.3
Overview
GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves on GLM-5.2 in coding and in the balance between performance and token efficiency.
- Model type: Text generation
- Input: Text
- Output: Text
- Endpoints: chat_completion
Tiered billing details
| Tier | Input | Output | Cache hit |
|---|---|---|---|
| Fallback tier | $0.0014/1K | $0.0044/1K | $0.0003/1K |
Billed bylen (input context token count). Coefficient is the $ / 1M tokens price. Default group price (other groups converted by discount).
Code example
Call with glm-5.3 :
curl https://www.starunion.net/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3",
"messages": [{ "role": "user", "content": "Hello" }]
}'