MuXodious · text · mixture of experts

GLM-4.7-Flash-REAP-23B-A3B-absolute-heresy

MuXodious/GLM-4.7-Flash-REAP-23B-A3B-absolute-heresy

GLM-4.7-Flash-REAP-23B-A3B-absolute-heresy at Q4_K_M is exactly 13,934,220,800 bytes (12.98 GiB / 13.93 GB) — an effective 4.848 bits per weight, not the nominal 4. Its KV cache at 32K is 1.65 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
23.0B
total, not active
Architecture
deepseek2
47 layers
Context
202,752
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S4.49 GiB4,825,795,8721.679mradermacher
I1-IQ1_M4.96 GiB5,328,353,5681.854mradermacher
I1-IQ2_XXS5.74 GiB6,165,949,7282.145mradermacher
I1-IQ2_XS6.38 GiB6,851,427,6162.384mradermacher
I1-IQ2_S6.51 GiB6,986,386,7202.430mradermacher
I1-IQ2_M7.13 GiB7,656,463,6482.664mradermacher
I1-Q2_K_S7.36 GiB7,899,824,4162.748mradermacher
Q2_K7.94 GiB8,522,710,5282.965MuXodious
I1-Q2_K7.94 GiB8,522,711,3282.965mradermacher
I1-IQ3_XXS8.36 GiB8,981,183,7763.124mradermacher
IQ3_XS8.87 GiB9,523,634,6883.313MuXodious
I1-IQ3_XS8.87 GiB9,523,635,4883.313mradermacher
I1-IQ3_S9.35 GiB10,043,860,2563.494mradermacher
I1-Q3_K_S9.35 GiB10,043,860,2563.494mradermacher
I1-IQ3_M9.49 GiB10,193,986,8483.546mradermacher
I1-Q3_K_M10.32 GiB11,075,691,8083.853mradermacher
I1-Q3_K_L11.18 GiB12,004,336,9284.176mradermacher
I1-IQ4_XS11.49 GiB12,337,318,1764.292mradermacher
IQ4_XS11.58 GiB12,436,932,0964.327MuXodious
I1-Q4_012.18 GiB13,082,843,4244.551mradermacher
Q4_K_S12.23 GiB13,134,239,2324.569MuXodious
I1-Q4_K_S12.23 GiB13,134,240,0324.569mradermacher
Q4_K_M12.98 GiB13,934,220,8004.848MuXodious
I1-Q4_K_M12.98 GiB13,934,221,6004.848mradermacher
I1-Q4_113.47 GiB14,460,131,6165.030mradermacher
I1-Q5_K_S14.79 GiB15,883,041,0565.526mradermacher
Q5_K_M15.21 GiB16,336,205,3125.683MuXodious
I1-Q5_K_M15.21 GiB16,336,206,1125.683mradermacher
Q6_K17.61 GiB18,911,054,3366.579MuXodious
I1-Q6_K17.61 GiB18,911,055,1366.579mradermacher
Q8_022.78 GiB24,456,889,8568.508MuXodious
BF1642.85 GiB46,011,270,65616.007MuXodious

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.21 GiB3.67 GiB17.78×47 / 0 / 0
8,1920.41 GiB7.34 GiB17.78×47 / 0 / 0
16,3840.83 GiB14.69 GiB17.78×47 / 0 / 0
32,7681.65 GiB29.38 GiB17.78×47 / 0 / 0
65,5363.30 GiB58.75 GiB17.78×47 / 0 / 0
131,0726.61 GiB117.50 GiB17.78×47 / 0 / 0

This model uses multi-head latent attention. No V cache is allocated at all, and the K cache stores a 512-wide latent plus 64 rope dimensions — so reading num_key_value_heads from config.json and multiplying, as every calculator does, overstates the cache by well over an order of magnitude.

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 12.05 GiB. The real file is 12.98 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: this model allocates no value cache at all, so any formula reading num_key_value_heads overstates it by more than an order of magnitude.

Architecture

from config.json
Layers
47
Attention heads
20
KV heads
20
Head dim
256
Hidden size
2048
Vocab
154,880
Sliding window
none
SWA period
MLA
yes
Experts
48
Experts per token
4
use_sliding_window

Questions people ask

How much VRAM does GLM-4.7-Flash-REAP-23B-A3B-absolute-heresy need?
Q4_K_M is exactly 13,934,220,800 bytes (12.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-Flash-REAP-23B-A3B-absolute-heresy's KV cache?
1.65 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-Flash-REAP-23B-A3B-absolute-heresy a mixture-of-experts model?
Yes — 48 experts, 4 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-Flash-REAP-23B-A3B-absolute-heresy 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.