glm-4.5-air
glm-4.5-air
StreamingTool calling
Overview
glm-4.5-air is available on MAX through the OpenAI-compatible API.
Pricing
Official list prices: token prices are per 1M tokens.Input ≤ 31,999 tokens
- Input
- ¥0.8
- Output
- ¥6
- Cache read
- ¥0.16
Input > 31,999 tokens
- Input
- ¥1.2
- Output
- ¥8
- Cache read
- ¥0.24
| Tier | Input | Output | Cache read |
|---|---|---|---|
| Input ≤ 31,999 tokens | ¥0.8 | ¥6 | ¥0.16 |
| Input > 31,999 tokens | ¥1.2 | ¥8 | ¥0.24 |
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.5-air",
"messages": [{"role": "user", "content": "Hello!"}]
}'