DavidAU · text

Qwen3.5-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking

DavidAU/Qwen3.5-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking

Qwen3.5-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking at Q4_K_M is exactly 23,927,227,328 bytes (22.28 GiB / 23.93 GB) — an effective 4.842 bits per weight, not the nominal 4. Its KV cache at 32K is 3.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S8.09 GiB8,687,537,4401.758mradermacher
I1-IQ1_M8.85 GiB9,497,900,3201.922mradermacher
I1-IQ2_XXS10.10 GiB10,848,505,1202.195mradermacher
I1-IQ2_XS11.13 GiB11,952,581,9202.419mradermacher
I1-IQ2_S11.45 GiB12,296,502,5602.488mradermacher
I1-IQ2_M12.46 GiB13,376,986,4002.707mradermacher
I1-Q2_K_S12.81 GiB13,752,210,7202.783mradermacher
Q2_K13.46 GiB14,447,219,6482.924mradermacher
I1-Q2_K13.46 GiB14,447,220,0002.924mradermacher
I1-IQ3_XXS14.33 GiB15,385,582,8803.113mradermacher
I1-IQ3_XS15.51 GiB16,649,239,8403.369mradermacher
Q3_K_S16.12 GiB17,310,825,4083.503mradermacher
I1-Q3_K_S16.12 GiB17,310,825,7603.503mradermacher
I1-IQ3_S16.14 GiB17,327,537,4403.506mradermacher
I1-IQ3_M16.83 GiB18,071,207,2003.657mradermacher
Q3_K_M17.82 GiB19,133,709,2483.872mradermacher
I1-Q3_K_M17.82 GiB19,133,709,6003.872mradermacher
Q3_K_L18.85 GiB20,245,199,8084.097mradermacher
I1-Q3_K_L18.85 GiB20,245,200,1604.097mradermacher
I1-IQ4_XS19.72 GiB21,169,268,0004.284mradermacher
IQ4_XS19.87 GiB21,336,384,4484.318mradermacher
I1-Q4_020.86 GiB22,397,617,4404.532mradermacher
Q4_K_S20.92 GiB22,467,085,2484.546mradermacher
I1-Q4_K_S20.92 GiB22,467,085,6004.546mradermacher
Q4_K_M22.28 GiB23,927,227,3284.842mradermacher
I1-Q4_K_M22.28 GiB23,927,227,6804.842mradermacher
I1-Q4_123.00 GiB24,693,097,7604.997mradermacher
Q5_K_S25.20 GiB27,055,424,4485.475mradermacher
I1-Q5_K_S25.20 GiB27,055,424,8005.475mradermacher
Q5_K_M26.20 GiB28,136,113,0885.694mradermacher
I1-Q5_K_M26.20 GiB28,136,113,4405.694mradermacher
Q6_K29.87 GiB32,075,369,4086.491mradermacher
I1-Q6_K29.87 GiB32,075,369,7606.491mradermacher
Q8_038.68 GiB41,537,303,4888.405mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.38 GiB1.50 GiB4.00×24 / 0 / 72
8,1920.75 GiB3.00 GiB4.00×24 / 0 / 72
16,3841.50 GiB6.00 GiB4.00×24 / 0 / 72
32,7683.00 GiB12.00 GiB4.00×24 / 0 / 72
65,5366.00 GiB24.00 GiB4.00×24 / 0 / 72
131,07212.00 GiB48.00 GiB4.00×24 / 0 / 72

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

Architecture

from config.json
Layers
96
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-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking need?
Q4_K_M is exactly 23,927,227,328 bytes (22.28 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-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking's KV cache?
3.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-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking 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.
Qwen3.5-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking — VRAM requirements, exact quant sizes — ossmodeldb