Back to Models

Z.ai: GLM 5

z-ai/glm-5

Description

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Z.ai: GLM 5 (z-ai/glm-5)

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",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Z.ai: GLM 5 model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.72$ / 1M tokens
  • Output: 2.3$ / 1M tokens

Token Limits

  • Max Output: 131,072 tokens
  • Max Context: 80,000 tokens

Subscription Tiers

  • free
  • pro
  • ultimate