# ChatGLM2-6B

ChatGLM2-6B is an AI model released by Z.ai on Jun 25 2023. It has 6B parameters, a 32k context window and open weight.

## Facts

| Field | Value |
| --- | --- |
| Model | ChatGLM2-6B |
| Developer | Z.ai |
| Release date | Sunday, Jun 25 2023 |
| Licensing | Open Weight |
| Parameters | 6B |
| Context window | 32k |

## Tracked benchmark scores

| Benchmark | Score | Source | What it measures |
| --- | --- | --- | --- |
| HumanEval | 9.8% | Lab | 164 small Python problems: the AI is given a function's description and has to write the working function. This was the coding benchmark of the GPT-3.5 and GPT-4 era, before the field moved to fixing real bugs in real repositories. Higher is better. |
| MATH | 6.9% | Lab | accuracy on the original competition mathematics test set |
| HellaSwag | 57% | Lab | commonsense completion of short scenarios |
| MMLU | 45.2% | Lab | A 57-subject multiple-choice exam — history, law, medicine, maths — that was the standard measure of how much a model knows from 2020 until roughly 2024, when frontier scores crowded into the high 80s and labs moved on to harder tests. The scores here were published years apart under different testing setups, so read them as a historical record rather than a like-for-like ranking. Higher is better. |
| GSM8K | 25.9% | Lab | Grade-school maths word problems that take a few steps of arithmetic to work through. It separated the models of 2022 and 2023 sharply, then saturated. One caveat on the historical numbers: OpenAI included part of the GSM8K training set in GPT-4's pre-training mix, so GPT-4's score is not a clean few-shot result. Higher is better. |

## About ChatGLM2-6B

ChatGLM2-6B was the second generation of Zhipu AI and Tsinghua's bilingual assistant. The team trained a new checkpoint and used multi-query attention to make inference faster. FlashAttention helped extend the sequence length beyond the first generation's 2K tokens.

The initial model supported sequences up to 32K, with dialogue alignment trained at 8K. The GLM team's later family report measured 45.2% on MMLU and 25.9% on GSM8K for this checkpoint.

## Questions and answers

### When was ChatGLM2-6B released?

ChatGLM2-6B was released by Z.ai on Sunday, Jun 25 2023.

### Who made ChatGLM2-6B?

ChatGLM2-6B was built by Z.ai. Chinese AI lab spun out of Tsinghua University (formerly Zhipu AI), building the open-weight GLM family. Rebranded internationally as Z.ai in 2025.

### What benchmark scores did ChatGLM2-6B get?

ChatGLM2-6B reports 5 tracked benchmark scores — HumanEval: 9.8%; MATH: 6.9%; HellaSwag: 57%; MMLU: 45.2%; GSM8K: 25.9%. Tracked scores may come from lab reports or independent benchmarks; source details accompany the benchmark data.

### What is the context window of ChatGLM2-6B?

ChatGLM2-6B has a context window of 32k. Providers may specify separate input and output token limits.

### How many parameters does ChatGLM2-6B have?

ChatGLM2-6B is reported at 6B parameters.

### Is ChatGLM2-6B open source?

Partly. ChatGLM2-6B is an open-weight model: the trained weights are free to download and run locally or on your own infrastructure, but the training data and code are not fully released and the license may restrict some commercial uses. It is not open source in the strict sense.

### What came before and after ChatGLM2-6B?

Z.ai's previous tracked release was ChatGLM-6B on Mar 14 2023, 103 days earlier. It was followed by CodeGeeX2-6B on Jul 25 2023.


---

Canonical page: https://aireleasetracker.com/model/zai/chatglm2-6b
Site index: https://aireleasetracker.com/llms.txt
Source: AI Release Tracker (https://aireleasetracker.com). Most benchmark scores come from lab launch material; gathered results identify the leaderboard that published them.
