Model reference · open weights

glm-edge

LLMs zai-org Text gen 2 builds Its own licence terms 35k dl/mo

glm-edge is an open-weight language model from zai-org. glm-edge-4b-chat (BF16) weighs 8.7 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • glm-edge is a text-generation model developed by zai-org and published as zai-org/glm-edge-4b-chat-gguf.
  • It supports Chinese and English and is designed for use with the llama.cpp inference framework.
  • The model weights are distributed under a custom license.

Summary of the zai-org/glm-edge-4b-chat-gguf model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byzai-org
Released2024-11-27
VRAM8.7 GB for the weights

What it runs on

Memory and cards for glm-edge-4b-chat (BF16)

8.7 GBweights, file size
123 MBcache per 1K tokens
608 MBruntime overhead, at least
8,192 tokenscontext max
CardRequests at onceContext maxMemory
8K each
RTX 3060 12 GB2all 8K11.6 GB
RTX 4060 Ti 16 GB6all 8K15.4 GB
RTX 3090 24 GB14all 8K23.4 GB
RTX 4090 24 GB13all 8K23.4 GB
RTX 5090 32 GB21all 8K31.0 GB
L40S 48 GB34all 8K44.0 GB
A100 80 GB68all 8K78.2 GB
H100 80 GB65all 8K78.1 GB
RTX PRO 6000 Blackwell 96 GB80all 8K93.8 GB
DGX Spark (GB10) 128 GB unified94all 8K107 GB
H200 141 GB124all 8K138 GB
B200 180 GB162all 8K176 GB
2× RTX 3060 12 GB
tensor parallel
13all 8K11.6 GB a card
2× RTX 4060 Ti 16 GB
tensor parallel
20all 8K15.4 GB a card
Memory needed at each load
Requests at once8K tokens each
110.3 GB
514.3 GB
817.3 GB
1625.4 GB
3241.5 GB
6473.7 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
glm-edge-4b-chat-gguf ↗
13 builds: Q4_0 2.5 GB … F16 8.7 GB
—GGUF 2.6 GBRTX 3060 12 GB
glm-edge-4b-chat (above) ↗ 4.3BBF16 8.7 GBRTX 3060 12 GB

From the model card

What zai-org says about glm-edge

Read the model card

中文阅读, 点击这里

Inference with Ollama

Installation

The code for adapting this model is actively being integrated into the official llama.cpp. You can test it using the following adapted version:

git clone https://github.com/piDack/llama.cpp -b support_glm_edge_model
cmake -B build -DGGML_CUDA=ON # Or enable other acceleration hardware
cmake --build build -- -j

Inference

After installation, you can start the GLM-Edge Chat model using the following command:

llama-cli -m /model.gguf -p "\nhi\n" -ngl 999

In the command-line interface, you can interact with the model by entering your requests, and the model will provide the corresponding responses.

License

The usage of this model’s weights is subject to the terms outlined in the LICENSE.

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms