coder3101 · text

Qwen3.5-27B-heretic

coder3101/Qwen3.5-27B-heretic

Qwen3.5-27B-heretic at Q4_K_M is exactly 16,540,272,704 bytes (15.40 GiB / 16.54 GB) — an effective 4.837 bits per weight, not the nominal 4. Its KV cache at 32K is 2.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
27.4B
Architecture
qwen35
64 layers
Context
262,144
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S5.80 GiB6,225,766,7201.821mradermacher
I1-IQ1_M6.30 GiB6,766,008,6401.979mradermacher
I1-IQ2_XXS7.14 GiB7,666,411,8402.242mradermacher
I1-IQ2_XS7.83 GiB8,402,463,0402.457mradermacher
I1-IQ2_S8.08 GiB8,674,785,6002.537mradermacher
I1-IQ2_M8.75 GiB9,395,108,1602.747mradermacher
I1-Q2_K_S9.00 GiB9,658,501,4402.825mradermacher
Q2_K9.43 GiB10,121,840,7042.960mradermacher
I1-Q2_K9.43 GiB10,121,840,9602.960mradermacher
I1-IQ3_XXS10.00 GiB10,734,172,4803.139mradermacher
I1-IQ3_XS10.83 GiB11,632,896,3203.402mradermacher
Q3_K_S11.24 GiB12,073,953,3443.531mradermacher
I1-Q3_K_S11.24 GiB12,073,953,6003.531mradermacher
I1-IQ3_S11.26 GiB12,085,094,7203.534mradermacher
I1-IQ3_M11.72 GiB12,580,874,5603.679mradermacher
Q3_K_M12.38 GiB13,289,646,1443.886mradermacher
I1-Q3_K_M12.38 GiB13,289,646,4003.886mradermacher
Q3_K_L13.07 GiB14,030,202,9444.103mradermacher
I1-Q3_K_L13.07 GiB14,030,203,2004.103mradermacher
I1-IQ4_XS13.68 GiB14,689,290,5604.296mradermacher
IQ4_XS13.78 GiB14,800,701,5044.328mradermacher
I1-Q4_014.46 GiB15,521,433,9204.539mradermacher
Q4_K_S14.50 GiB15,568,619,5844.553mradermacher
I1-Q4_K_S14.50 GiB15,568,619,8404.553mradermacher
Q4_K_M15.40 GiB16,540,272,7044.837mradermacher
I1-Q4_K_M15.40 GiB16,540,272,9604.837mradermacher
I1-Q4_115.91 GiB17,078,241,6004.994mradermacher
Q5_K_S17.40 GiB18,679,613,5045.463mradermacher
I1-Q5_K_S17.40 GiB18,679,613,7605.463mradermacher
Q5_K_M18.07 GiB19,399,608,3845.673mradermacher
I1-Q5_K_M18.07 GiB19,399,608,6405.673mradermacher
Q6_K20.57 GiB22,082,529,3446.458mradermacher
I1-Q6_K20.57 GiB22,082,529,6006.458mradermacher
Q8_026.63 GiB28,595,763,2648.362mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.25 GiB1.00 GiB4.00×16 / 0 / 48
8,1920.50 GiB2.00 GiB4.00×16 / 0 / 48
16,3841.00 GiB4.00 GiB4.00×16 / 0 / 48
32,7682.00 GiB8.00 GiB4.00×16 / 0 / 48
65,5364.00 GiB16.00 GiB4.00×16 / 0 / 48
131,0728.00 GiB32.00 GiB4.00×16 / 0 / 48

48 of 64 layers use linear attention, which keeps a fixed-size recurrent state instead of a per-token cache. Those layers do not grow with context at all — treating them as ordinary attention, as a flat formula does, overstates this model's cache by roughly 4.0× at long context.

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 14.33 GiB. The real file is 15.40 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
64
Attention heads
24
KV heads
4
Head dim
256
Hidden size
5120
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Qwen3.5-27B-heretic need?
Q4_K_M is exactly 16,540,272,704 bytes (15.40 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Qwen3.5-27B-heretic's KV cache?
2.00 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.
Which quantization of Qwen3.5-27B-heretic 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.