Parameters
6B
Context Length
2K
Modality
Text
Architecture
Dense
KV Cache Rate
448 KB/tok
License
Apache 2.0
Release Date
14 Mar 2023
Knowledge Cutoff
-
API Pricing (per 1M)
Self-hosted only
Precision
Context
Workload Memory: 6.17 GB
INT4 · 2048 context · 1 user
Base Weights: 2.79 GB
KV Cache: 0.88 GB
Runtime & Graphs: 2.50 GB
1x NVIDIA L4 24GB
6.2 / 21.6 GB
1x RTX 3060 12GB
6.2 / 11.2 GB
Apple M4 24GB
6.2 / 18.0 GB
Determine requirements for concurrent users or multi-node clusters:
Verified on hardware and checkpoint files.
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 4.23.1
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
Rank
#259
| Benchmark | Score | Rank |
|---|---|---|
General Text | 995.95 | #203 |
Overall Rank
#259
Coding Rank
-
ChatGLM-6B is an open-source bilingual dialogue model developed by Tsinghua KEG and Zhipu AI, optimized for consumer-grade GPU deployment. It delivers coherent conversational responses with low memory overhead via INT4 quantization.
Attention
Attention Structure
Multi-Head Attention
Attention Heads
32
Key-Value Heads
32
Position Embedding
Absolute Position Embedding
Normalization
Layer Normalization
Activation Function
GELU
Dimensions
Base Precision
FP16
Hidden Dimension Size
4,096
Number of Layers
28
FFN Intermediate Size (Dense)
16,384
Tokenizer
Vocabulary Size
130,528
ChatGLM series models from Z.ai, based on GLM architecture.