LLM Reference

ChatGLM2 Models by Tsinghua Knowledge Engineering Group (THUDM)

This model family is considered obsolete. Consider newer alternatives in Related Model Families below.
1 model2023Up to 32k ctx

Details

LicenseApache 2.0(OSI)
Commercial useCommercial use allowed
Models1
Released2023
Max context32k

About

The second generation of THUDM's open-source bilingual (Chinese-English) ChatGLM model family. ChatGLM2-6B improved significantly over v1 with a 32K context window (extended via FlashAttention), 1.4T training tokens, and approximately 23% better MMLU performance. Released June 2023. Succeeded by ChatGLM3 in October 2023.

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

1 in view

Use when the workload needs 32k context and 6.2B parameters.

2023-0632k context6.2B parameters

Release Timeline

1 release group
2023-06
1 current
ChatGLM2-6B
32k context6.2B parameters
Current

Specifications(1 models)

ChatGLM2 model specifications comparison
ModelReleasedContextParameters
ChatGLM2-6B2023-0632k6.2B

Frequently Asked Questions

What is ChatGLM2 used for?
The second generation of THUDM's open-source bilingual (Chinese-English) ChatGLM model family.
How does ChatGLM2 compare to ChatGLM-4?
ChatGLM2 by Tsinghua Knowledge Engineering Group (THUDM) is strongest where you need its listed use cases, while ChatGLM-4 by Tsinghua Knowledge Engineering Group (THUDM) is the closest related family to check for adjacent model selection. ChatGLM2 has 1 listed variant and reaches up to 32k context, while ChatGLM-4 reaches up to 128k context, so compare the specs and pricing tables before choosing a production model.
Which ChatGLM2 model should I use?
If price is the main constraint, use the pricing table first because ChatGLM2 does not have complete provider pricing in the local data. For the most capable/latest local choice, evaluate ChatGLM2-6B with 32k context.