Open-weight MIT-licensed reasoning model for agentic coding, with 200K context and 128K output for long, tool-driven tasks.
Output Speed *
Intelligence Index *
Context Window *
Input price
Output price
Performance
Agentic Coding Gains Over GLM-4.6, Per Z.ai's Own Scores
Benchmarks
GLM-4.7 on Artificial Analysis: Above-Average Intelligence, Low First-Token Latency
Output Speed
Intelligence Index
MMLU *
GPQA *
HLE *
LiveCodeBench *
Technical Specifications
What the model supports
Limitations & Trade-offs
Best-Fit Workloads
Where this model earns its place
Coding agents and repository fixes
Z.ai reports 73.8% on SWE-bench Verified and 66.7% on SWE-bench Multilingual, and the model reasons before each response and tool call. That suits agents that read issues, edit multiple files and run tests. These figures are provider-reported, and its Terminal Bench 2.0 score trails the best models, so keep a test harness in the loop.
Terminal and tool-driven automation
GLM-4.7 scores 41.0% on Terminal Bench 2.0 (up from 24.5% for GLM-4.6) and 87.4 on τ²-Bench. The Z.ai API also streams tool-call arguments. Good fits are CLI coding agents, DevOps scripting and multi-step support or operations flows. Add validation and retry limits, since provider-reported benchmarks do not guarantee your tool schemas will behave the same.
Long single-pass generation
With up to 131,072 output tokens, GLM-4.7 can produce full modules, long technical reports or large structured documents in one response. Few models offer this much output headroom. Reasoning adds latency, so run these jobs asynchronously rather than in live user-facing chat, and confirm the output limit on your hosting route.
Math and STEM reasoning
Z.ai reports 95.7% on AIME 2025, 85.7% on GPQA-Diamond and 42.8 on HLE with tools. These are provider-reported results, but they indicate solid quantitative reasoning for tutoring, analytics assistants and scientific problem-solving pipelines. The model is text-only, so diagrams or charts must be described in text, and answers should be verified for high-stakes use.