Open Weights · Z.ai License

GLM-4.6

Zhipu's agentic coding ace — 355B of MoE muscle with 32B active per token, MIT-ish open weights, and scores that land on every major board.

Illustration of the open-weight AI empire
Params355B total / 32B active (MoE)
Context200K
LicenseOpen weights (Z.ai license)
ReleasedOct 2025
Price / 1M~$0.60 in / ~$2.20 out (as of Nov 2026)
ModalityText, agentic tool use

What it is and who makes it

GLM-4.6 is the flagship text model from Zhipu AI, the Beijing lab spun out of Tsinghua University research and now one of China's most active open-weight publishers. It's a code-and-agent specialist sitting at the top of the GLM family, released with open weights under a Z.ai license that behaves MIT-ish for most commercial uses but is not Apache 2.0. As of Nov 2026 it's a top-10 presence on most major coding and reasoning leaderboards, and a default pick for teams building agent harnesses in Chinese and English.

Architecture and what's under the hood

GLM-4.6 is a mixture-of-experts with roughly 355B total parameters and about 32B active per token. Zhipu's public write-ups describe a GLM-style decoder-only backbone with fine-grained expert routing and group-wise shared experts, trained with a multi-stage curriculum that leans heavily on synthetic code, tool-use trajectories and long-context extension to 200K. The chat pipeline supports interleaved reasoning and function calls in a single turn, which is why it plays well inside agent loops. Training data composition and RL recipes remain undisclosed; the open weights are the artifact, not the recipe. Figures here are as of Nov 2026 and move with each refresh.

Strengths

  • Excellent agentic coding and tool orchestration — its clearest edge over generalist siblings.
  • Top-tier open-weights benchmark mix: SWE-bench Verified ~68, GPQA ~81, TAU ~70.
  • 200K context that holds up for repo-scale reasoning, not just needle retrieval.
  • MIT-ish open weights: deployable commercially in most jurisdictions, with attribution.
  • Strong bilingual (EN/CN) fluency, which matters for APAC enterprise work.

Inside an agent loop, GLM-4.6 is unusually patient: it will read a long tool output, restate the constraint that matters, and only then act. That pause-and-confirm habit is precisely why its tau-style scores hold up on multi-turn tasks where cheaper models lunge at the first plausible action.

Weaknesses and failure modes

  • The Z.ai license is not Apache 2.0 — read it; some commercial and regional uses have strings attached.
  • API reliability outside China is mixed; expect variable latency and occasional quota friction.
  • Very large to self-host; most teams should use a hosted route rather than bare metal.
  • Chinese-language politics refusals and bias patterns show up regardless of prompt language.
  • Less ecosystem polish than Llama or Qwen; tooling and quantized builds trail by a step.

Best for / avoid for

Best for: agentic coding pipelines, tool-orchestration backends, bilingual EN/CN products, and teams that want open weights without leaving the frontier tier.

Avoid for: strict Apache-2.0-only procurement, latency-critical consumer chat served from CN endpoints, and tasks requiring top-class vision (GLM-4.6 is text-first).

Variants and family

The GLM family spans GLM-4.5 and the much lighter GLM-4.5-Air, both worth considering if 355B is more than you need. GLM-4.6 is the current flagship; Zhipu typically ships a pointed and an instruct flavour, plus coding-specific builds. There's also a GLM-4.5V vision sibling in the wider family — useful if you need images, though it's a separate model, not a mode of 4.6.

Pricing, access and how to run it

Z.ai's official API lists roughly $0.60 in / $2.20 out per 1M tokens as of Nov 2026. OpenRouter carries GLM-4.6 through several providers, which is the sane way to get non-CN serving and predictable rate limits; expect to pay a small premium over the official endpoint for that routing. For local runs, weights are on Hugging Face; vLLM supports them, and you'll want a multi-GPU box or aggressive quantization for anything under 8×H100-class hardware. Realistically, most PeaBox users will reach it over an API, not from a rack in the closet.

# vLLM, multi-GPU (indicative — check current repo for tags)
python -m vllm.entrypoints.openai.api_server \
  --model zai-org/GLM-4.6 --tensor-parallel-size 8

Benchmarks snapshot

Approximate, as of Nov 2026; numbers drift with each eval harness and are not independently audited:

  • SWE-bench Verified ~68 · GPQA ~81 · TAU ~70 (atlas figures)
  • AIME-class math reported in the low 70s by Zhipu (directional, unverified)
  • Top-10 placement on most major open-weight boards at launch (reported)

How it stacks up

vs Kimi K2: K2 is the bigger, more agent-obsessed sibling with somewhat stronger pure tool-chain scores; GLM-4.6 is leaner to serve, cheaper per token, and often cleaner on mixed reasoning. If your agent lives or dies on tau-bench-style discipline, K2 has the edge; if you want a balanced coder-reasoner with better availability, GLM-4.6 is easier to live with. vs DeepSeek V3.2: V3.2 is MIT and cheaper, with a fatter serving ecosystem; GLM-4.6 typically edges it on SWE-bench and Chinese-language tasks, and trails it on raw price. vs Qwen 3 Coder: Qwen's Apache 2.0 and Western distribution are real advantages; GLM-4.6 counters with tighter agentic orchestration and stronger bilingual depth.

PeaBox fit

In the PeaBox AI Workbench, GLM-4.6 slots in as any OpenAI-compatible endpoint: configure the base URL, paste an API key, done. Its tool-call reliability makes it a good match for the Workbench's agent recipes — file edits, shell commands, multi-step refactors across a repo. Keep the context lean and cache the stable system prefix; at 200K you can afford to be generous, but attention still isn't free.

One caveat worth repeating: check the Z.ai license before you bake it into a commercial product, especially if you're distributing weights. The license is friendly for most use, just not Apache-clean.

Bottom line: GLM-4.6 is one of the few open-weight models you can genuinely run your agent stack on without apologising for it. Buy hosted access unless you have the steel, verify the license for your use case, and expect a model that rewards patient, well-scoped tool prompts.

One honest note on temperament: GLM-4.6 likes structure. Give it a clean system prompt, explicit tool schemas and an example of a good trace, and it will copy that shape faithfully. Give it a vague brief and three paragraphs of hedging, and the output quality follows the input quality. Garbage in, garbage out applies here more than usual.

More from the atlas