zai-org · vision language · mixture of experts

GLM-4.6V

zai-org/GLM-4.6V

GLM-4.6V at Q4_K_M is exactly 70,448,211,840 bytes (65.61 GiB / 70.45 GB) — an effective 5.232 bits per weight, not the nominal 4. Its KV cache at 32K is 5.75 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
108B
total, not active
Architecture
glm4moe
46 layers
Context
131,072
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_M33.46 GiB35,922,389,2482.668bartowski
UD-TQ1_034.27 GiB36,795,788,0002.733unsloth
UD-IQ1_S34.49 GiB37,038,009,0562.751unsloth
IQ2_XXS35.11 GiB37,695,670,5282.800bartowski
UD-IQ1_M35.93 GiB38,576,794,3362.865unsloth
IQ2_XS37.49 GiB40,256,194,8162.990bartowski
IQ2_S37.82 GiB40,608,647,4243.016bartowski
UD-IQ2_XXS38.37 GiB41,197,513,4403.060unsloth
UD-IQ2_M39.96 GiB42,904,595,1683.187unsloth
IQ2_M40.26 GiB43,226,843,3923.211bartowski
Q2_K40.84 GiB43,855,039,2003.257unsloth
Q2_K_L40.98 GiB44,000,529,1203.268unsloth
Q2_K41.64 GiB44,712,216,8323.321bartowski
Q2_K_L42.21 GiB45,318,424,8323.366bartowski
IQ3_XXS44.99 GiB48,312,948,9923.588bartowski
IQ3_XS45.85 GiB49,236,359,4243.657bartowski
UD-IQ3_XXS46.26 GiB49,675,709,1523.690unsloth
Q3_K_S2 shards47.41 GiB50,903,890,8483.781unsloth
Q3_K_S2 shards48.19 GiB51,741,473,2163.843bartowski
IQ3_M2 shards50.11 GiB53,802,744,2563.996bartowski
Q3_K_M2 shards50.11 GiB53,806,594,4963.996bartowski
Q3_K_L2 shards50.52 GiB54,247,782,8484.029bartowski
Q3_K_M2 shards51.64 GiB55,444,962,2084.118unsloth
IQ4_XS2 shards54.34 GiB58,347,531,1684.334unsloth
IQ4_XS2 shards54.80 GiB58,846,095,8084.371bartowski
IQ4_NL2 shards56.42 GiB60,577,246,1124.499unsloth
Q4_02 shards56.57 GiB60,740,479,8724.511unsloth
IQ4_NL2 shards56.83 GiB61,016,828,3844.532bartowski
Q4_02 shards57.48 GiB61,721,127,3924.584bartowski
Q4_K_S2 shards60.44 GiB64,900,541,3444.820unsloth
Q4_K_S2 shards61.63 GiB66,170,595,7764.915bartowski
Q4_12 shards62.53 GiB67,142,396,8324.987unsloth
Q4_12 shards62.66 GiB67,280,513,5044.997bartowski
Q4_K_M65.61 GiB70,448,211,8405.232ggml-org
Q4_K_M2 shards65.72 GiB70,564,998,0485.241unsloth
Q4_K_M2 shards66.46 GiB71,358,089,6645.300bartowski
Q4_K_L2 shards66.89 GiB71,818,807,7445.334bartowski
Q5_K_S2 shards70.67 GiB75,879,582,6245.636unsloth
Q5_K_S2 shards70.79 GiB76,013,390,2725.646bartowski
Q5_K_M2 shards75.20 GiB80,750,267,2965.998unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.72 GiB0.72 GiB46 / 0 / 0
8,1921.44 GiB1.44 GiB46 / 0 / 0
16,3842.88 GiB2.88 GiB46 / 0 / 0
32,7685.75 GiB5.75 GiB46 / 0 / 0
65,53611.50 GiB11.50 GiB46 / 0 / 0
131,07223.00 GiB23.00 GiB46 / 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 56.43 GiB. The real file is 65.61 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

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

Questions people ask

How much VRAM does GLM-4.6V need?
Q4_K_M is exactly 70,448,211,840 bytes (65.61 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.6V's KV cache?
5.75 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.6V a mixture-of-experts model?
Yes — 128 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.6V 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.