llmfan46 · vision language

Qwen3.5-40B-Claude-4.5-Opus-High-Reasoning-Thinking-uncensored-heretic

llmfan46/Qwen3.5-40B-Claude-4.5-Opus-High-Reasoning-Thinking-uncensored-heretic

Qwen3.5-40B-Claude-4.5-Opus-High-Reasoning-Thinking-uncensored-heretic at Q4_K_M is exactly 23,936,565,408 bytes (22.29 GiB / 23.94 GB) — an effective 4.844 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
Q4_K_M22.29 GiB23,936,565,4084.844llmfan46
Q4_K_M22.29 GiB23,936,565,4084.844Octavian710
Q5_K_S25.20 GiB27,055,423,6485.475Octavian710
Q5_K_S25.20 GiB27,055,423,6485.475llmfan46
Q5_K_M25.97 GiB27,882,651,8085.642Octavian710
Q5_K_M25.97 GiB27,882,651,8085.642llmfan46
Q6_K29.87 GiB32,075,368,6086.491llmfan46
Q6_K29.87 GiB32,075,368,6086.491Octavian710
Q8_038.68 GiB41,537,302,6888.405llmfan46
Q8_038.68 GiB41,537,302,6888.405Octavian710
BF1672.80 GiB78,164,144,28815.817Octavian710
BF1672.80 GiB78,164,144,28815.817llmfan46

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.29 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.5-Opus-High-Reasoning-Thinking-uncensored-heretic need?
Q4_K_M is exactly 23,936,565,408 bytes (22.29 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.5-Opus-High-Reasoning-Thinking-uncensored-heretic'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.5-Opus-High-Reasoning-Thinking-uncensored-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.