---
id: "z-ai/glm-4.6"
also: ["z-ai/glm-4.6", "zai-org/GLM-4.6", "hf/zai-org/GLM-4.6", "requesty/zai/glm-4.6", "vercel/zai/glm-4.6"]
card_usd_per_m: "0.6 in, 2.2 out, at z-ai/fp4"
cheapest_list_usd_per_m: "0.4 in, 1.6 out, at deepinfra/fp4/flex on openrouter"
cheapest_effective_usd_per_m: "0.1626 in, 1.7491 out, at venice/fp4 on openrouter"
context: 204800
max_output: 131072
input: ["text"]
output: ["text"]
released: "2025-09-30"
api: ["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/messages", "/api/v1/responses"]
params: ["frequency_penalty", "include_reasoning", "logit_bias", "max_tokens", "min_p", "presence_penalty", "reasoning", "repetition_penalty", "response_format", "seed", "stop", "structured_outputs", "temperature", "tool_choice", "tools", "top_k", "top_p"]
endpoints: 17
gateways: "openrouter (6), vercel (5), hf (4), requesty (2)"
no_training: 10
trains: 0
retains_prompts: 2
coding: 45.8000
---
# Z.ai: GLM 4.6

GLM-4.6 is Z AI’s latest flagship model, designed to push agentic and coding performance further. It expands the context window from 128K to 200K tokens, improves reasoning and tool-use capabilities, and delivers stronger results in coding benchmarks and real-world development workflows. GLM-4.6 demonstrates refined writing quality, more capable agent behavior, and higher token efficiency (≈15% fewer tokens vs. GLM-4.5).

Evaluations show clear gains over GLM-4.5 across reasoning, agents, and coding, reaching near parity with Claude Sonnet 4 in practical tasks while outperforming other open-source baselines. GLM-4.6 is available through the Z.ai API platform, OpenRouter, coding agents (Claude Code, Roo Code, Cline, Kilo Code), and soon as downloadable weights on HuggingFace and ModelScope.