Capabilities
Tool UsePrompt Cache
- Context
- 200K
- Max output
- 128K
glm-5.1
| Official price | Catalog price | Discount |
|---|---|---|
| Input $1.40 / Output $4.40 | Input $1.40 / Output $4.40 | - |
API Base
curl https://api.aisonar.dev/v1/chat/completions \
-H "Authorization: Bearer $AI_SONAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.1",
"messages": [{"role":"user","content":"Summarize this release note"}]
}'