# CodeGeeX2-6B

CodeGeeX2-6B is an AI model released by Z.ai on Jul 25 2023. It has 6B parameters, an 8k context window and open weight.

## Facts

| Field | Value |
| --- | --- |
| Model | CodeGeeX2-6B |
| Developer | Z.ai |
| Release date | Tuesday, Jul 25 2023 |
| Licensing | Open Weight |
| Parameters | 6B |
| Context window | 8k |

## Tracked benchmark scores

| Benchmark | Score | Source | What it measures |
| --- | --- | --- | --- |
| HumanEval | 35.9% | 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. |

## About CodeGeeX2-6B

CodeGeeX2-6B is a multilingual code model released in July 2023 by the CodeGeeX team. It continued pretraining from ChatGLM2-6B on another 600 billion code tokens to improve completion, translation between programming languages, and code explanation.

The downloadable base code model supported 8,192-token sequences. The team reported 35.9% pass@1 on standard HumanEval and published separate HumanEval-X results by programming language.

## Questions and answers

### When was CodeGeeX2-6B released?

CodeGeeX2-6B was released by Z.ai on Tuesday, Jul 25 2023.

### Who made CodeGeeX2-6B?

CodeGeeX2-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 CodeGeeX2-6B get?

CodeGeeX2-6B reports 1 tracked benchmark score — HumanEval: 35.9%. Tracked scores may come from lab reports or independent benchmarks; source details accompany the benchmark data.

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

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

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

CodeGeeX2-6B is reported at 6B parameters.

### Is CodeGeeX2-6B open source?

Partly. CodeGeeX2-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 CodeGeeX2-6B?

Z.ai's previous tracked release was ChatGLM2-6B on Jun 25 2023, 30 days earlier. It was followed by ChatGLM3-6B on Oct 27 2023.


---

Canonical page: https://aireleasetracker.com/model/zai/codegeex2-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.
