glm-4.7
glm-4.7
StreamingTool callingReasoning
Overview
glm-4.7 is available on MAX through the OpenAI-compatible API.
Pricing
Official list prices: token prices are per 1M tokens.Input ≤ 31,999 tokens
- Input
- ¥3
- Output
- ¥14
- Cache read
- ¥0.6
Input > 31,999 tokens
- Input
- ¥4
- Output
- ¥16
- Cache read
- ¥0.8
| Tier | Input | Output | Cache read |
|---|---|---|---|
| Input ≤ 31,999 tokens | ¥3 | ¥14 | ¥0.6 |
| Input > 31,999 tokens | ¥4 | ¥16 | ¥0.8 |
This model uses tiered pricing: the tier is chosen by the total input length of each request.
Cache read applies to prompt tokens served from the prompt cache; cache write applies to tokens written into it.
Example request
curl https://api.link-io.cloud/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7",
"messages": [{"role": "user", "content": "Hello!"}]
}'