Models / Z.ai / GLM 4.5
Z.ai

GLM 4.5

BYOKOpen weightsReleased 28 Jul 2025

GLM 4.5 is an open-weight text model from Z.ai, released July 2025, priced near the registry median. Its one benchmark result sits slightly below the median, and it has low popularity.

Read the full description ↓

Spec sheet

Family
Z.ai
Released
28 Jul 202516 months ago
Weights
Open
Context window
131k tokens
Largest response
98k tokens
Accepts
text
Supports
tools, reasoning
Knowledge cutoff
April 2025
Intelligence index
–
Input price
$0.6 / 1M
Output price
$2.2 / 1M
Blended price (3:1)
$1 / 1M
Index points per $
–
Speed
46 tokens/sec#130
Popularity
#171 of 194by usage
Providers
2
Weights on
zai-org/GLM-4.5

Benchmarks

Score · rank among models tested
LMArena textRating from blind human votes between pairs of chat responses
LMArena text
GLM 4.51430.3
Rank#65 of 114
Registry median1437.7
Best1538.9
1430.3#65

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
Z.aiBYOKzai:GLM-4.5 $0.6$0.11$2.2$1
OpenRouterBYOKopenrouter:z-ai/glm-4.5 $0.6$0.11$2.2$1

Every provider charges the same. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['ZAI_API_KEY'] = '...'

agent = Agent('zai:GLM-4.5', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask GLM 4.5 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

GLM 4.5vsHy4
LMArena text
128014101540$0.1$1$10GLM 4.5: 1430.3 at $1 blended

Score against blended price per 1M tokens (log scale). GLM 4.5   Hy4   other models

LMArena textRating from blind human votes between pairs of chat responses
GLM 4.51430.3
Hy4–
Input pricePer 1M tokens, lower is better
GLM 4.5$0.6
Hy4$0.42
Output pricePer 1M tokens, lower is better
GLM 4.5$2.2
Hy4$1.25
SpeedOutput tokens per second
GLM 4.546 t/s
Hy459 t/s
Context windowTokens
GLM 4.5131k
Hy41M
Model stringFor Pydantic AI
GLM 4.5zai:GLM-4.5
Hy4openrouter:tencent/hy4

About GLM 4.5

Description written by an LLM from the data on this page

GLM 4.5 is an open-weight text model from Z.ai, released July 2025, priced near the registry median. Its one benchmark result sits slightly below the median, and it has low popularity.

GLM 4.5 is an open-weight text model from Z.ai, released in July 2025. It supports tool calling and a reasoning mode, with a 131k context window and up to 98k response tokens. Its blended price of $1 per million tokens sits just below the registry median, with input at $0.60 and output at $2.20 per million tokens.

Its only benchmark result is LMArena text, where it scores 1430.3, ranked 65th of 114 and just under the median of 1437.6. Its popularity ranks 171 of 194. It does not support structured output and accepts text input only. Z.ai and OpenRouter both provide it, and its knowledge cutoff is April 2025.

Strengths

  • Open weights, with tool calling and a reasoning mode
  • 131k context window and 98k maximum response tokens
  • Blended price of $1 per million tokens, just below median
  • Served by two providers, Z.ai and OpenRouter

Weaknesses

  • LMArena text score 1430.3, 65th of 114, below median
  • Popularity rank 171 of 194
  • No structured output support; text input only

Best for

Cost-conscious agents needing tool calling and reasoning on text tasks, where open weights are preferred.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs