File size: 4,252 Bytes
e0efc5b
 
 
 
 
 
 
4ebb2fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e0efc5b
 
 
 
 
 
 
 
 
 
b5b1c98
e0efc5b
ba9b1e0
e0efc5b
 
 
821e3e5
e0efc5b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
821e3e5
e0efc5b
821e3e5
7cf41c1
 
 
be72194
7cf41c1
 
 
 
 
be72194
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
language:
- en
- zh
library_name: transformers
license: mit
pipeline_tag: text-generation
model-index:
- name: GLM-4.6
  results:
  - task:
      type: evaluation
    dataset:
      name: Artificial Analysis Benchmarks
      type: artificial_analysis
    metrics:
    - name: Artificial Analysis Intelligence Index
      type: artificial_analysis_intelligence_index
      value: 44.7
    - name: Artificial Analysis Coding Index
      type: artificial_analysis_coding_index
      value: 38.7
    - name: Artificial Analysis Math Index
      type: artificial_analysis_math_index
      value: 44.3
    - name: Mmlu Pro
      type: mmlu_pro
      value: 0.784
    - name: Gpqa
      type: gpqa
      value: 0.632
    - name: Hle
      type: hle
      value: 0.052
    - name: Livecodebench
      type: livecodebench
      value: 0.561
    - name: Scicode
      type: scicode
      value: 0.331
    - name: Aime 25
      type: aime_25
      value: 0.443
    - name: Ifbench
      type: ifbench
      value: 0.367
    - name: Lcr
      type: lcr
      value: 0.263
    - name: Terminalbench Hard
      type: terminalbench_hard
      value: 0.27
    - name: Tau2
      type: tau2
      value: 0.769
    source:
      name: Artificial Analysis API
      url: https://artificialanalysis.ai
---

# GLM-4.6

<div align="center">
<img src=https://raw.githubusercontent.com/zai-org/GLM-4.5/refs/heads/main/resources/logo.svg width="15%"/>
</div>
<p align="center">
    👋 Join our <a href="https://discord.gg/QR7SARHRxK" target="_blank">Discord</a> community.
    <br>
    📖 Check out the GLM-4.6 <a href="https://z.ai/blog/glm-4.6" target="_blank">technical blog</a>, <a href="https://arxiv.org/abs/2508.06471" target="_blank">technical report(GLM-4.5)</a>, and <a href="https://zhipu-ai.feishu.cn/wiki/Gv3swM0Yci7w7Zke9E0crhU7n7D" target="_blank">Zhipu AI technical documentation</a>.
    <br>
    📍 Use GLM-4.6 API services on <a href="https://docs.z.ai/guides/llm/glm-4.6">Z.ai API Platform. </a>
    <br>
    👉 One click to <a href="https://chat.z.ai">GLM-4.6</a>.
</p>

## Model Introduction

Compared with GLM-4.5, **GLM-4.6**  brings several key improvements:

* **Longer context window:** The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks.
* **Superior coding performance:** The model achieves higher scores on code benchmarks and demonstrates better real-world performance in applications such as Claude Code、Cline、Roo Code and Kilo Code, including improvements in generating visually polished front-end pages.
* **Advanced reasoning:** GLM-4.6 shows a clear improvement in reasoning performance and supports tool use during inference, leading to stronger overall capability.
* **More capable agents:** GLM-4.6 exhibits stronger performance in tool using and search-based agents, and integrates more effectively within agent frameworks.
* **Refined writing:** Better aligns with human preferences in style and readability, and performs more naturally in role-playing scenarios.

We evaluated GLM-4.6 across eight public benchmarks covering agents, reasoning, and coding. Results show clear gains over GLM-4.5, with GLM-4.6 also holding competitive advantages over leading domestic and international models such as **DeepSeek-V3.1-Terminus** and **Claude Sonnet 4**.

![bench](https://raw.githubusercontent.com/zai-org/GLM-4.5/refs/heads/main/resources/bench_glm46.png)

## Inference

**Both GLM-4.5 and GLM-4.6 use the same inference method.**

you can check our [github](https://github.com/zai-org/GLM-4.5) for more detail.

## Recommended Evaluation Parameters

For general evaluations, we recommend using a **sampling temperature of 1.0**.

For **code-related evaluation tasks** (such as LCB), it is further recommended to set:

- `top_p = 0.95`
- `top_k = 40`


## Evaluation

- For tool-integrated reasoning, please refer to [this doc](https://github.com/zai-org/GLM-4.5/blob/main/resources/glm_4.6_tir_guide.md).
- For search benchmark, we design a specific format for searching toolcall in thinking mode to support search agent, please refer to [this](https://github.com/zai-org/GLM-4.5/blob/main/resources/trajectory_search.json). for the detailed template.