Description
GLM-4.7 is Z.AI’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while delivering more natural conversational experiences and superior front-end aesthetics.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Z.AI: GLM 4.7 (z-ai/glm-4.7)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "z-ai/glm-4.7",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Z.AI: GLM 4.7 model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
API Pricing
- Input: 0.16$ / 1M tokens
- Output: 0.8$ / 1M tokens
Token Limits
- Max Output: 202,752 tokens
- Max Context: 202,752 tokens
Subscription Tiers
- free
- pro
- ultimate