z-lab · text

Qwen3.6-27B-DFlash

z-lab/Qwen3.6-27B-DFlash

Qwen3.6-27B-DFlash at Q4_K_M is exactly 1,033,066,592 bytes (0.96 GiB / 1.03 GB) — an effective 4.777 bits per weight, not the nominal 4. Its KV cache at 32K is 0.16 GiB, not the 0.63 GiB a flat formula predicts.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K0.60 GiB640,956,5122.964Anbeeld
Q3_K_M0.78 GiB832,526,4323.84958Anbeeld
IQ4_XS0.87 GiB934,435,1364.32158williamliao
Q4_K_M0.96 GiB1,033,066,5924.77758Anbeeld
Q4_K_M0.96 GiB1,033,066,7204.777Alittlehammmer
Q4_K_M0.96 GiB1,033,066,8164.777williamliao
Q5_K_M1.14 GiB1,225,742,4325.66858Anbeeld
Q5_K1.14 GiB1,225,742,5605.668Alittlehammmer
Q5_K_M1.14 GiB1,225,742,6565.668williamliao
Q6_K1.33 GiB1,430,460,5126.61458Anbeeld
Q6_K1.33 GiB1,430,460,6406.614Alittlehammmer
Q6_K1.33 GiB1,430,460,7366.614williamliao
Q8_01.72 GiB1,849,481,3128.55258Anbeeld
Q8_01.72 GiB1,849,481,4408.552Alittlehammmer
Q8_01.72 GiB1,849,481,5368.552williamliao
BF163.23 GiB3,471,497,31216.051Anbeeld
BF163.23 GiB3,471,497,44016.051Alittlehammmer
F163.23 GiB3,471,497,53616.05158williamliao

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.05 GiB0.08 GiB1.43×1 / 4 / 0
8,1920.07 GiB0.16 GiB2.22×1 / 4 / 0
16,3840.10 GiB0.31 GiB3.08×1 / 4 / 0
32,7680.16 GiB0.63 GiB3.81×1 / 4 / 0
65,5360.29 GiB1.25 GiB4.32×1 / 4 / 0
131,0720.54 GiB2.50 GiB4.64×1 / 4 / 0

4 of 5 layers cache only a 2,048-token window rather than the full context, on a period of . Figures assume the default configuration; --swa-full disables the saving entirely.

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 0.91 GiB. The real file is 0.96 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: a flat formula gives 0.63 GiB at 32K context where the real figure is 0.16 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

from config.json
Layers
5
Attention heads
32
KV heads
8
Head dim
128
Hidden size
5120
Vocab
248,320
Sliding window
2048
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
true

Questions people ask

How much VRAM does Qwen3.6-27B-DFlash need?
Q4_K_M is exactly 1,033,066,592 bytes (0.96 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-27B-DFlash's KV cache?
0.16 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-27B-DFlash 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.