cerebras · text · mixture of experts

GLM-4.7-REAP-218B-A32B

cerebras/GLM-4.7-REAP-218B-A32B

GLM-4.7-REAP-218B-A32B at Q4_K_M is exactly 132,044,138,240 bytes (122.98 GiB / 132.04 GB) — an effective 4.837 bits per weight, not the nominal 4. Its KV cache at 32K is 11.50 GiB.

From the file· summed from 3 file(s)From the file· KV per layer
Parameters
218B
total, not active
Architecture
glm4moe
92 layers
Context
202,752
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_S44.60 GiB47,890,056,4161.754bartowski
IQ1_M2 shards46.56 GiB49,996,465,5681.831bartowski
UD-TQ1_049.34 GiB52,974,155,2001.941unsloth
IQ2_XXS2 shards51.57 GiB55,376,889,2802.029bartowski
UD-IQ1_S2 shards56.46 GiB60,618,274,4322.221unsloth
IQ2_XS2 shards58.74 GiB63,075,075,4882.311bartowski
IQ2_S2 shards59.49 GiB63,877,399,9682.340bartowski
UD-IQ1_M2 shards62.63 GiB67,251,951,2322.464unsloth
IQ2_M2 shards67.01 GiB71,947,175,3282.636bartowski
UD-IQ2_XXS2 shards67.13 GiB72,082,814,5922.641unsloth
UD-IQ2_M2 shards70.78 GiB75,999,245,9522.784unsloth
Q2_K2 shards73.81 GiB79,257,367,9682.903bartowski
Q2_K_L3 shards74.52 GiB80,015,128,1282.931bartowski
Q2_K2 shards74.91 GiB80,434,292,3522.946unsloth
Q2_K_L2 shards75.08 GiB80,616,154,7522.953unsloth
IQ3_XXS3 shards82.27 GiB88,333,121,0243.236bartowski
UD-IQ3_XXS2 shards83.34 GiB89,486,411,3923.278unsloth
IQ3_XS3 shards85.49 GiB91,797,190,2083.363bartowski
Q3_K_S2 shards88.26 GiB94,772,749,9523.472unsloth
Q3_K_S3 shards90.39 GiB97,050,392,0963.555bartowski
IQ3_M3 shards94.52 GiB101,489,473,0563.718bartowski
Q3_K_M3 shards94.69 GiB101,676,578,3363.725bartowski
Q3_K_L3 shards97.31 GiB104,490,038,8163.828bartowski
Q3_K_M3 shards97.57 GiB104,768,300,8003.838unsloth
IQ4_XS3 shards108.90 GiB116,930,144,0004.284unsloth
IQ4_XS3 shards110.09 GiB118,209,508,9284.330bartowski
IQ4_NL3 shards115.13 GiB123,623,991,0404.529unsloth
Q4_03 shards115.44 GiB123,952,981,7604.541unsloth
Q4_K_S3 shards115.81 GiB124,344,887,0084.555unsloth
IQ4_NL4 shards116.20 GiB124,764,092,0324.571bartowski
Q4_04 shards117.58 GiB126,245,205,6644.625bartowski
Q4_K_S4 shards120.24 GiB129,106,507,3924.729bartowski
Q4_K_M3 shards122.98 GiB132,044,138,2404.837unsloth
Q4_K_M4 shards124.65 GiB133,841,155,7764.903bartowski
Q4_13 shards127.62 GiB137,030,035,2005.020unsloth
Q4_14 shards128.16 GiB137,611,114,1125.041bartowski
Q5_K_S4 shards140.33 GiB150,682,290,0485.520unsloth
Q5_K_S4 shards140.74 GiB151,120,295,6165.536bartowski
Q5_K_M4 shards144.40 GiB155,051,001,7285.680unsloth
Q5_K_M4 shards145.23 GiB155,940,959,9365.713bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0961.44 GiB1.44 GiB92 / 0 / 0
8,1922.88 GiB2.88 GiB92 / 0 / 0
16,3845.75 GiB5.75 GiB92 / 0 / 0
32,76811.50 GiB11.50 GiB92 / 0 / 0
65,53623.00 GiB23.00 GiB92 / 0 / 0
131,07246.00 GiB46.00 GiB92 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 114.40 GiB. The real file is 122.98 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
92
Attention heads
96
KV heads
8
Head dim
128
Hidden size
5120
Vocab
151,552
Sliding window
none
SWA period
MLA
no
Experts
96
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does GLM-4.7-REAP-218B-A32B need?
Q4_K_M is exactly 132,044,138,240 bytes (122.98 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is GLM-4.7-REAP-218B-A32B's KV cache?
11.50 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Is GLM-4.7-REAP-218B-A32B a mixture-of-experts model?
Yes — 96 experts, 8 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of GLM-4.7-REAP-218B-A32B should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.