Models / Z.ai / GLM 4.6
Z.ai

GLM 4.6

BYOKOpen weightsReleased 30 Sept 2025

Open-weights text model from Z.ai with a long context window, tool calling and reasoning mode. Its blended price sits near the registry median, but benchmark scores mostly trail the field.

Read the full description ↓

Spec sheet

Family
Z.ai
Released
30 Sept 202514 months ago
Weights
Open
Context window
205k tokens
Largest response
131k tokens
Accepts
text
Supports
tools, reasoning, structured output
Knowledge cutoff
April 2025
Intelligence index
49.5#86
Input price
$0.6 / 1M
Output price
$2.2 / 1M
Blended price (3:1)
$1 / 1M
Index points per $
49.5#47
Speed
44.5 tokens/sec#136
Popularity
#121 of 194by usage
Providers
3
Weights on
zai-org/GLM-4.6

Benchmarks

Score · rank among models tested
Intelligence indexOur composite of the benchmarks below, 0-100
Intelligence index
GLM 4.649.5
Rank#89 of 114
Registry median59.9
Best87
49.5#89
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
Terminal-Bench
GLM 4.624.5%
Rank#30 of 35
Registry median43.2%
Best84.7%
24.5%#30
SciCodeScientific programming problems written by researchers
SciCode
GLM 4.638.4%
Rank#86 of 96
Registry median51.2%
Best67.7%
38.4%#86
WebDev ArenaRating from human votes on web apps the models built
WebDev Arena
GLM 4.61340.6
Rank#77 of 85
Registry median1506.4
Best1820.3
1340.6#77
LMArena textRating from blind human votes between pairs of chat responses
LMArena text
GLM 4.61440.2
Rank#54 of 114
Registry median1437.7
Best1538.9
1440.2#54

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.6 $0.6$0.11$2.2$1
NovitaBYOK–$0.55$0.11$2.2$0.96
OpenRouterBYOKopenrouter:z-ai/glm-4.6 $0.6$0.11$2.2$1

The cheapest provider is highlighted. 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.6', instructions='Be concise, reply with one sentence.')

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

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

Compare

GLM 4.6vsQwen3.5 397B A17B
Intelligence index
205590$0.1$1$10Qwen3.5 397B A17B: 49 at $1.35 blendedGLM 4.6: 49.5 at $1 blended
GPQA Diamond
5075100$0.1$1$10Qwen3.5 397B A17B: 86.4% at $1.35 blended
OTIS Mock AIME
4070100$0.1$1$10Qwen3.5 397B A17B: 88.9% at $1.35 blended
FrontierMath
1055100$0.1$1$10Qwen3.5 397B A17B: 31.2% at $1.35 blended
Terminal-Bench
04590$0.1$1$10GLM 4.6: 24.5% at $1 blended
SciCode
204570$0.1$1$10GLM 4.6: 38.4% at $1 blended
WebDev Arena
122015251830$0.1$1$10GLM 4.6: 1340.6 at $1 blended
APEX-Agents
04590$0.1$1$10Qwen3.5 397B A17B: 24.9% at $1.35 blended
LMArena text
128014101540$0.1$1$10Qwen3.5 397B A17B: 1437.6 at $1.35 blendedGLM 4.6: 1440.2 at $1 blended
Epoch Capabilities Index
120150180$0.1$1$10Qwen3.5 397B A17B: 148 at $1.35 blended

Score against blended price per 1M tokens (log scale). GLM 4.6   Qwen3.5 397B A17B   other models

Intelligence indexOur composite of the benchmarks below, 0-100
GLM 4.649.5
Qwen3.5 397B A17B49
GPQA DiamondGraduate-level science questions, multiple choice
GLM 4.6–
Qwen3.5 397B A17B86.4%
OTIS Mock AIMECompetition mathematics problems with exact answers
GLM 4.6–
Qwen3.5 397B A17B88.9%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
GLM 4.6–
Qwen3.5 397B A17B31.2%
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
GLM 4.624.5%
Qwen3.5 397B A17B–
SciCodeScientific programming problems written by researchers
GLM 4.638.4%
Qwen3.5 397B A17B–
WebDev ArenaRating from human votes on web apps the models built
GLM 4.61340.6
Qwen3.5 397B A17B–
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
GLM 4.6–
Qwen3.5 397B A17B24.9%
LMArena textRating from blind human votes between pairs of chat responses
GLM 4.61440.2
Qwen3.5 397B A17B1437.6
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
GLM 4.6–
Qwen3.5 397B A17B148
Input pricePer 1M tokens, lower is better
GLM 4.6$0.6
Qwen3.5 397B A17B$0.6
Output pricePer 1M tokens, lower is better
GLM 4.6$2.2
Qwen3.5 397B A17B$3.6
EfficiencyIndex points per blended $
GLM 4.650
Qwen3.5 397B A17B36
SpeedOutput tokens per second
GLM 4.644.5 t/s
Qwen3.5 397B A17B41.5 t/s
Context windowTokens
GLM 4.6205k
Qwen3.5 397B A17B262k
Model stringFor Pydantic AI
GLM 4.6zai:GLM-4.6
Qwen3.5 397B A17Bgateway/doubleword:Qwen/Qwen3.5-397B-A17B

About GLM 4.6

Description written by an LLM from the data on this page

Open-weights text model from Z.ai with a long context window, tool calling and reasoning mode. Its blended price sits near the registry median, but benchmark scores mostly trail the field.

GLM 4.6 is an open-weights text model from Z.ai, released September 2025, with a 204k token context window and up to 131k response tokens. It supports tool calling, structured output and reasoning mode. Its blended price of $1 per million tokens (input $0.6, output $2.2) sits just under the registry median, and it is offered by Z.ai, Novita and OpenRouter.

Benchmark results are weaker. Its intelligence index of 49.5 is well below the median of 59.5, placing it 89th of 114 tested. It ranks 30th of 35 on Terminal-Bench and 86th of 96 on SciCode, while its LMArena text rating of 1440 is roughly at the median.

Its efficiency rank of 47 of 194 reflects its low price rather than strong results, so it suits cost-sensitive text work with tool calls rather than demanding coding or scientific tasks.

Strengths

  • Blended price of $1 per million tokens, just under the registry median
  • Efficiency rank of 47 of 194 on intelligence points per dollar
  • Context window of 204k tokens, with up to 131k response tokens
  • Open weights, with tool calling, structured output and reasoning mode

Weaknesses

  • Intelligence index of 49.5, well below the median of 59.5
  • Terminal-Bench 24.5%, 30th of 35, against a median of 43.2%
  • SciCode 38.4%, 86th of 96; accepts text input only

Best for

Cost-sensitive text agents that need tool calling and long context, rather than demanding coding or scientific tasks.

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