Back to Models

Z.AI: GLM 4.7 Flash

z-ai/glm-4.7-flash

Description

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning, and tool collaboration, and has achieved leading performance among open-source models of the same size on several current public benchmark leaderboards.

API Usage Examples

OpenAI Compatible Endpoint

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

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

Supported Modalities

  • Text

API Pricing

  • Input: 0.07$ / 1M tokens
  • Output: 0.4$ / 1M tokens

Token Limits

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

Subscription Tiers

  • free
  • pro
  • ultimate