GLM 5

ZaiQuality: 78/100Unverified
Try in Playground
✗ Vision✗ Reasoning✓ Tool Use✓ Streaming✓ System Messages

Overview

GLM 5 is a capable model from Zai with a 128K context window, supporting function calling. Priced at $0.0010/1K input, $0.0032/1K output.

ANT Routing Intelligence

Limited routing data available for GLM 5. Intelligence insights will appear as more requests are routed through ANT.

Quick Start

from openai import OpenAI

client = OpenAI(
    base_url="https://api.antbase.ai/v1",
    api_key="YOUR_ANT_API_KEY",
)

response = client.chat.completions.create(
    model="zai/glm-5",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Technical Specs

Context Window128K
Max Output16K
Input Price$0.0010/1K
Output Price$0.0032/1K
Quality Score78/100
ProviderZai
Model IDzai/glm-5