Back to Models
GLM 5
zhipuzhipu/glm-5
Zhipu AI's flagship model (754B total, 40B active MoE). DeepSeek Sparse Attention architecture. Strong math/science reasoning.
Context Length
203K
Max Output
131K
Input Price
$1.56/ 1M tokens
Output Price
$5.04/ 1M tokens
Modalities
text→text
Pricing Breakdown
| Type | Rate |
|---|---|
| Input | $1.56 / 1M tokens |
| Output | $5.04 / 1M tokens |
Supported Parameters
temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop
API Usage Examples
cURL
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "zhipu/glm-5",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'