VOOZH about

URL: https://willitrunai.com/models/glm-4-9b

โ‡ฑ GLM-4 9B VRAM Requirements โ€” GPU Compatibility


๐Ÿ‘ Zhipu
Zhipu

GLM-4 9B

Current
๐Ÿ‘ huggingface
HuggingFace๐Ÿ‘ ollama
Ollama
58.4KDownloads707LikesJun 2024Released128K tokensContextGLMLicense52 GoodQuality

GLM-4 9B (9B parameters) requires approximately 7.9 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 10 GB of VRAM.

Get started

โ€” copy & paste to run locally

Copy-paste commands to run GLM-4 9B on your machine.

Run

ollama run glm4

Quick specs

Parameters9B
Architecturedense
Context128K tokens
Modalitytext
Min RAM3.5 GB
Rec. RAM5.5 GB (Q4_K_M)
LicenseGLM
FamilyGLM
โœ“ Chat

About this model

2024/11/25, ๆˆ‘ไปฌๅปบ่ฎฎไฝฟ็”จไปŽ `transformers>=4.46.0` ๅผ€ๅง‹๏ผŒไฝฟ็”จ glm-4-9b-chat-hf ไปฅๅ‡ๅฐ‘ๅŽ็ปญ transformers ๅ‡็บงๅฏผ่‡ด็š„ๅ…ผๅฎนๆ€ง้—ฎ้ข˜ใ€‚

Related models

Your hardware

Detecting...

Quick picks

๐Ÿ‘ Intel
Best budgetA
Intel Arc B570 10GB~$219 โ€” 41 tok/s
๐Ÿ‘ NVIDIA
Best overallA
RTX 3080 10GB~$699 โ€” 97 tok/s

Best hardware

Top picks for GLM-4 9B

RTX 3080 10GBA
10 GB
RTX 3080 Ti 12GBA
12 GB
RTX 3080 12GBA
12 GB
RTX 5070 12GBA
12 GB
RTX 2080 Ti 11GBA
11 GB

Run this model

GLM-4 9B on RTX 3080 10GBGLM-4 9B on RTX 3080 Ti 12GBGLM-4 9B on RTX 3080 12GB

Quantization options

VRAM estimates by quant level

No hardware detected โ€” fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
3.5 GB
Lowโ€”
Q3_K_S
3
4.4 GB
Lowโ€”
NVFP4
4
5.0 GB
Mediumโ€”
Q4_K_M
4
5.5 GB
Mediumโ€”
Q5_K_M
5
6.5 GB
Highโ€”
Q6_K
6
7.4 GB
Highโ€”
Q8_0
8
9.6 GB
Very Highโ€”
F16
16
18.5 GB
Maximumโ€”

Quality benchmarks

GLM-4 9B benchmark scores

Benchmark verified

Coding

SWE-bench Verifiedโ€”
HumanEval+71.8%
Aider Polyglotโ€”
LiveCodeBenchโ€”

Reasoning

MMLU-Pro72.4%
GPQA Diamond8.5%
MATH-50050.6%
ARC Challengeโ€”

General

Chatbot Arenaโ€”
IFEval69.0%

Source: official ยท 2024-06-06

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: RTX 2060 6GB

Weights5.5 GB
KV Cache0.6 GB
Runtime1.2 GB
Headroom0.6 GB

Frequently asked questions

FAQ โ€” GLM-4 9B

See also

Quantization GuideScoring MethodologyVRAM Calculator