Zai Glm 5.2
ChatGLM logo

Zai Glm 5.2

zai-glm-5.2
ChatGLM
GLM-4.5

Pricing

  • Input Tokens: $60 /M tokens
  • Output Tokens: $360 /M tokens

Input Modalities

  • Text

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://shkq.org/v1",
)

response = client.chat.completions.create(
    model="zai-glm-5.2",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Zai Glm 5.2?

GLM-4.5