Description
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Z.ai: GLM 5.1 (z-ai/glm-5.1)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "z-ai/glm-5.1",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Z.ai: GLM 5.1 model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
API Pricing
- Input: 0.98$ / 1M tokens
- Output: 3.08$ / 1M tokens
Token Limits
- Max Output: 202,752 tokens
- Max Context: 202,752 tokens
Subscription Tiers
- free
- pro
- ultimate