Z.ai · Official-source model record
chatglm2-6b
ChatGLM · Version chatglm2-6b
Publisher-sourced inventory. Specifications come from official documentation and model cards. “Not documented” means we have no verified value. This inventory is separate from our editorial reviews.
Coverage & sources ↗Current catalog answers
What to know about chatglm2-6b
AI-compiled from linked model documentation. This is a catalog reference, not an independent performance review. Catalog checked October 23, 2026.
Which chatglm2-6b does this page describe?
chatglm2-6b is a model record from Z.ai in the ChatGLM family. Source
The recorded model identifier or checkpoint is chatglm2-6b. Use that exact identifier when checking documentation or a provider listing. Source
How can you access chatglm2-6b?
The catalog documents Open weights access for chatglm2-6b. Source
As of the catalog check, this version was listed as available. Source
Open weights means the model weights are distributed for use under their stated terms. It does not establish a hosted API, an open-source license, or a hardware requirement.
What are chatglm2-6b's context and output limits?
The publisher reports the context window as 32K tokens (8K dialogue-alignment training). Source We retain the publisher's notation and qualifiers; no exact token count or hosted serving allowance is inferred from it.
A separate maximum-output value is not established in this record. The context or input figure should not be used as an output allowance.
Context, input and output limits describe different constraints. Do not add the figures together to infer a larger window. Check the endpoint's accounting for conversation history, system instructions, tools, media and generated tokens; a documented maximum is not a guarantee of answer quality or a measured usable capacity.
What can chatglm2-6b receive and generate?
Documented inputs: text. Source
Documented outputs: text. Source
Input support and output generation are separate capabilities. Reading an image does not establish image generation; a text output listing does not establish speech output. File sizes, formats and media limits depend on the documented implementation.
What license is recorded for chatglm2-6b?
The recorded license label is ChatGLM Model License (weights); Apache 2.0 (code). Source
Read the linked license and associated use terms for this exact version before redistribution, commercial deployment or fine-tuning. A label alone does not establish every permission, restriction or obligation, and it does not determine the terms of a separate hosted service.
What distinguishes chatglm2-6b?
These details come from the linked publisher material for this model. Reported capabilities and training descriptions are publisher statements, not independent test results.
- Long-context limitation
- Publisher warns this version has limited understanding of single-turn ultra-long documents. Source
- Pretraining and alignment
- GLM hybrid objective with 1.4T bilingual pretraining tokens, followed by human-preference alignment. Source
- Attention implementation
- Multi-query attention; the publisher’s INT4 example fits an 8K dialogue in 6G GPU memory. Source
What is documented about the chatglm2-6b checkpoint?
This evidence refers to zai-org/chatglm2-6b at recorded revision d2e2d91789248536a747d9ce60642a336444186c, checked October 23, 2026. Repository metadata
Recorded architecture class: ChatGLMModel. Repository metadata
Listed library: transformers. Check that library's version and model support before loading the weights. Repository metadata
Repository language labels: zh and en. These labels are not independent evaluations of language quality. Repository metadata
Repository access gate: false. This records the repository's gate setting when checked; licensing and use terms still apply. Repository metadata
What the configuration file says
The pinned config.json contains these values. Pinned configuration
torch_dtype- float16
num_attention_heads- 32
hidden_size- 4,096
Configuration values describe the checkpoint and its implementation. In particular, max_position_embeddings, sliding_window and rope_scaling do not independently establish an API context limit, tested usable length or hardware requirement. Runtime, quantization, cache, batch size and input length affect deployment behavior.
Read the retrieved model card for setup and qualifications. Model card
Keep the exact version in view
Other ChatGLM models from Z.ai.
These are separate records in the same publisher family. A shared family name does not establish equal capabilities or interchangeable licenses.
chatglm-6b
Open weights
chatglm2-6b-32k
Open weights
chatglm3-6b
Open weights
chatglm3-6b-128k
Open weights
chatglm3-6b-32k
Open weights
chatglm3-6b-base
Open weights
The documented record
Specifications, with their sources.
A missing value remains unknown. Input limits, output limits and the total context window are separate measurements.
- Publisher
- Z.aiSource ↗
- Family
- ChatGLMSource ↗
- Version
- chatglm2-6bSource ↗
- Availability
- AvailableSource ↗
- Access
- Open weightsSource ↗
- Inputs
- TextSource ↗
- Outputs
- TextSource ↗
- Context window
- 32K tokens (8K dialogue-alignment training)Source ↗
- Maximum input
- Not documented
- Maximum output
- Not documented
- Knowledge cutoff
- Not documented
- Training-data cutoff
- Not documented
- Training completed
- Not documented
- Release date
- Not documented
- License
- ChatGLM Model License (weights); Apache 2.0 (code)Source ↗
- Input price / 1M tokens
- Not documented
- Output price / 1M tokens
- Not documented
Read this with the numbers.
Official publisher weight listing; availability refers to this distribution, not a guaranteed hosted API. Base, SFT and research variants are identified by their exact published names. Official quantization/runtime variants are retained as aliases. Publisher repository evidence (2026-10-23): Published architecture metadata: ChatGLMModel. Repository library label: transformers. Model-card language labels: zh, en; these labels are not evaluated proficiency scores. Published configuration: dtype=float16. Checkpoint configuration is not a verified hosted serving limit; context and output limits remain separate documented fields.
Model identifiers and aliases 2
zai-org/chatglm2-6bzai-org/chatglm2-6b-int4
Follow the evidence
Official sources.
- chatglm2-6b official model card ↗huggingface.co
- chatglm2-6b: official publisher repository metadata ↗huggingface.co
- chatglm2-6b — official model card ↗huggingface.co
- chatglm2-6b: published checkpoint configuration at revision d2e2d9178924 ↗huggingface.co