Skip to content
Updated minutes ago
Zhipu

GLM-4 9B

Zhipu AI · dense · 9.4B parameters · 131,072 context

Quality
50.0

Architecture Details

TypeDENSE
Total Parameters9.4B
Active Parameters9.4B
Layers40
Hidden Dimension4,096
Attention Heads32
KV Heads2
Head Dimension128
Vocab Size151,552

Memory Requirements

BF16 Weights

18.8 GB

FP8 Weights

9.4 GB

INT4 Weights

4.7 GB

KV-Cache per Token40960 bytes
Activation Estimate1.00 GB

Fits on (single-node)

B200 SXM BF16B100 SXM BF16GB200 NVL72 (per GPU) BF16GB300 NVL72 (per GPU) BF16H200 SXM BF16H100 SXM BF16H100 PCIe BF16H100 NVL BF16

GPU Recommendations

A100 40GB SXMoptimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

446.6 tok/s

Cost/Month

$807

Cost/M Tokens

$0.69

Use this config →
RTX 5090optimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

514.7 tok/s

Cost/Month

$845

Cost/M Tokens

$0.62

Use this config →
A100 40GB PCIeoptimal

BF16 · 1 GPU · vllm

95/100

score

Throughput

446.6 tok/s

Cost/Month

$655

Cost/M Tokens

$0.56

Use this config →

API Pricing Comparison

ProviderInput $/MOutput $/MBadges
zhipu$0.15$0.15
Cheapest

Capabilities

Features

Tool Use Vision Code Math Reasoning Multilingual Structured Output

Supported Frameworks

vllmsglangtgiollama

Supported Precisions

BF16 (default)FP8INT4

Similar Models