DavidAU · vision language

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

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

Qwen3.6-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking at Q4_K_M is exactly 24,253,604,896 bytes (22.59 GiB / 24.25 GB) — an effective 4.908 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
IQ2_M13.76 GiB14,775,450,6562.990re-l1
IQ2_M13.76 GiB14,775,450,6562.990DavidAU
IQ2_M13.76 GiB14,775,450,6562.990jennyzinhaa
IQ3_M17.12 GiB18,382,715,9363.720DavidAU
IQ3_M17.12 GiB18,382,715,9363.720re-l1
IQ3_M17.12 GiB18,382,715,9363.720jennyzinhaa
IQ4_XS20.56 GiB22,077,236,2564.4681275jennyzinhaa
IQ4_XS20.56 GiB22,077,236,2564.4681275DavidAU
IQ4_XS20.56 GiB22,077,236,2564.468re-l1
Q4_K_S21.24 GiB22,801,818,6564.614jennyzinhaa
Q4_K_S21.24 GiB22,801,818,6564.614re-l1
Q4_K_S21.24 GiB22,801,818,6564.614DavidAU
IQ4_NL21.55 GiB23,135,396,8964.682DavidAU
IQ4_NL21.55 GiB23,135,396,8964.682re-l1
IQ4_NL21.55 GiB23,135,396,8964.682jennyzinhaa
Q4_K_M22.59 GiB24,253,604,8964.9081275DavidAU
Q4_K_M22.59 GiB24,253,604,8964.9081275jennyzinhaa
Q4_K_M22.59 GiB24,253,604,8964.908re-l1
Q5_K_S25.49 GiB27,368,039,4565.538DavidAU
Q5_K_S25.49 GiB27,368,039,4565.538jennyzinhaa
Q5_K_S25.49 GiB27,368,039,4565.538re-l1
Q5_K_M26.26 GiB28,195,267,6165.7061275DavidAU
Q5_K_M26.26 GiB28,195,267,6165.7061275re-l1
Q5_K_M26.26 GiB28,195,267,6165.706jennyzinhaa
Q6_K30.17 GiB32,391,855,1366.555jennyzinhaa
Q6_K30.17 GiB32,391,855,1366.5551275DavidAU
Q6_K30.17 GiB32,391,855,1366.5551275re-l1
Q8_039.90 GiB42,847,202,3368.671jennyzinhaa
Q8_039.90 GiB42,847,202,3368.6711275re-l1
Q8_039.90 GiB42,847,202,3368.6711275DavidAU

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.59 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.6-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking need?
Q4_K_M is exactly 24,253,604,896 bytes (22.59 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.6-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.6-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.