Parameters
6B
Context Length
8K
Modality
Text
Architecture
Dense
KV Cache Rate
28 KB/tok
License
Apache 2.0
Release Date
27 Oct 2023
Knowledge Cutoff
Jul 2023
API Pricing (per 1M)
Self-hosted only
Precision
Context
Workload Memory: 5.51 GB
INT4 · 8K context · 1 user
Base Weights: 2.79 GB
KV Cache: 0.22 GB
Runtime & Graphs: 2.50 GB
1x NVIDIA L4 24GB
5.5 / 21.6 GB
1x RTX 3060 12GB
5.5 / 11.2 GB
Apple M4 24GB
5.5 / 18.0 GB
Determine requirements for your specific workload:
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 4.30.2
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
Rank
#253
| Benchmark | Score | Rank |
|---|---|---|
General Text | 1056.69 | #201 |
Overall Rank
#253
Coding Rank
-
ChatGLM3-6B is a versatile bilingual language model developed by Zhipu AI and Tsinghua University for conversational AI and tool integration. It natively supports code execution via an integrated interpreter and multi-turn agentic interactions.
Attention
Attention Structure
Multi-Head Attention
Attention Heads
32
Key-Value Heads
2
Attention Head Dimension
128
Position Embedding
Absolute Position Embedding
Normalization
RMS Normalization
Activation Function
SwiGLU
Dimensions
Base Precision
FP16
Hidden Dimension Size
4,096
Number of Layers
28
FFN Intermediate Size (Dense)
13,696
Tokenizer
Vocabulary Size
65,024
ChatGLM series models from Z.ai, based on GLM architecture.