GLM 4.5

z-ai/glm-4.5
by Z.ai · text in · text out · 128K ctx · 2025-07-25

Zhipu (Z.ai) flagship open-source MoE: 355B total / 32B active. Hybrid reasoning (thinking / non-thi…

INPUT$0.60/ 1M tokens
OUTPUT$2.20/ 1M tokens
p50 TTFT915 ms7d
p95 TTFT915 ms7d
TRAFFIC216tokens / 7d
Code samples
from openai import OpenAI

client = OpenAI(
    base_url="https://orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="z-ai/glm-4.5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Pricing
Input / 1M tokens$0.600
Output / 1M tokens$2.20
Cache read / 1M$0.110
CurrencyUSD
Performance
TTFT p50
915 ms
Output speed
68.3 tok/s
TTFT p95
915 ms
Error rate
0%
Public benchmarks
AA Coding
26.3
AA Intelligence
26.4
AA Math
73.7
AIME
87.3
AIME 2025
73.7
GPQA Diamond
78.2
Humanity's Last Exam
12.2
IFBench
44.1
LiveCodeBench
73.8
Long-Context Recall
48.3
MATH-500
97.9
MMLU-Pro
83.5
SciCode
34.8
TerminalBench Hard
22.0
τ²-Bench
43.0
Source: artificialanalysis.ai
FAQ
How much does Z.ai: GLM 4.5 cost on OrcaRouter?
Z.ai: GLM 4.5 is priced at $0.60 per 1M input tokens and $2.20 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is Z.ai: GLM 4.5's context window?
Z.ai: GLM 4.5 supports a context window of 128K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call Z.ai: GLM 4.5 via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="z-ai/glm-4.5" in the chat.completions.create call.
Does OrcaRouter rate-limit Z.ai: GLM 4.5?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.
Embed this badge
Z.ai: GLM 4.5$0.60/M in915ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/z-ai/glm-4.5" target="_blank"> <img src="https://www.orcarouter.ai/embed/z-ai/glm-4.5.svg" alt="Z.ai: GLM 4.5 on OrcaRouter" /> </a>
Markdown [![Z.ai: GLM 4.5](https://www.orcarouter.ai/embed/z-ai/glm-4.5.svg)](https://www.orcarouter.ai/models/z-ai/glm-4.5)