Zhipu AI/Dense

Zhipu AIglm-4-9b

chatTool Use
9.4B
Parameters
128K
Context length
6
Benchmarks
6
Quantizations
152K
HF downloads
Architecture
Dense
Released
2024-06-04
Layers
40
KV Heads
2
Head Dim
128
Family
glm

Quantization Options

QuantBitsVRAMQuality
Q4_K_M4.896.2 GBgood
Q5_K_S5.577.0 GBgood
Q5_K_M5.77.2 GBgood
Q6_K6.568.2 GBexcellent
Q8_08.510.5 GBlossless
FP161619.3 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN GLM-4-9B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (6)

IFEval65.1
BBH20.7
MMLU-PRO19.7
MATH8.5
GPQA7.0
MUSR2.2

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run glm:9b-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA RTX 4060
8 GB VRAM • 272 GB/s
NVIDIA
$299
NVIDIA RTX 3070 Ti
8 GB VRAM • 608 GB/s
NVIDIA
$499
NVIDIA RTX 3070
8 GB VRAM • 448 GB/s
NVIDIA
$325
NVIDIA RTX 3060 Ti
8 GB VRAM • 448 GB/s
NVIDIA
$250
NVIDIA RTX 3050 8GB
8 GB VRAM • 224 GB/s
NVIDIA
$249
AMD RX 7600
8 GB VRAM • 288 GB/s
AMD
$269
AMD RX 6650 XT
8 GB VRAM • 280 GB/s
AMD
$399
Intel Arc A750
8 GB VRAM • 512 GB/s
INTEL
$199
Apple M1 (8GB)
8 GB VRAM • 68 GB/s
APPLE
$499
Apple M2 (8GB)
8 GB VRAM • 100 GB/s
APPLE
$599
Apple M3 (8GB)
8 GB VRAM • 100 GB/s
APPLE
$599
NVIDIA RTX 2080
8 GB VRAM • 448 GB/s
NVIDIA
$260
NVIDIA RTX 2070
8 GB VRAM • 448 GB/s
NVIDIA
$200
NVIDIA GTX 1080
8 GB VRAM • 320 GB/s
NVIDIA
$130
NVIDIA GTX 1070 Ti
8 GB VRAM • 256 GB/s
NVIDIA
$120
NVIDIA GTX 1070
8 GB VRAM • 256 GB/s
NVIDIA
$100
NVIDIA RTX 3060 8GB
8 GB VRAM • 224 GB/s
NVIDIA
$280
AMD RX 6600 XT
8 GB VRAM • 256 GB/s
AMD
$200
AMD RX 6600
8 GB VRAM • 224 GB/s
AMD
$165
AMD RX 5700 XT
8 GB VRAM • 448 GB/s
AMD
$150
AMD RX 5700
8 GB VRAM • 448 GB/s
AMD
$130
Intel Arc A580
8 GB VRAM • 512 GB/s
INTEL
$179
NVIDIA RTX 5060
8 GB VRAM • 448 GB/s
NVIDIA
$299
NVIDIA Tesla K8
8 GB VRAM • 160 GB/s
NVIDIA
NVIDIA Tesla M60
8 GB VRAM • 160 GB/s
NVIDIA

Find the best GPU for glm-4-9b

Build Hardware for glm-4-9b

Read the full model card for detailed information about this model.

▸ SPEC SHEET

glm-4-9b9.4B Dense.

▸ SPECIFICATIONS
PARAMETERS
9.4B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
128K tokens
CAPABILITIES
chat
RELEASE DATE
2024-06-04
PROVIDER
Zhipu AI
FAMILY
glm
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.896.2 GB94%
Q5_K_S5.577.0 GB96%
Q5_K_M5.77.2 GB96%
Q6_K6.568.2 GB97%
Q8_08.510.5 GB100%
FP161619.3 GB100%
§ 01BENCHMARK SCORES
MMLU-PRO19.7
MATH8.5
IFEval65.1
BBH20.7
GPQA7.0
MUSR2.2
§ 02RUN COMMAND

Run glm-4-9b locally with Ollama — needs 6.2 GB VRAM at Q4_K_M:

$ollama run glm:9b