bknyaz · text · mixture of experts

Qwen3-Coder-Next-REAM

bknyaz/Qwen3-Coder-Next-REAM

Qwen3-Coder-Next-REAM at Q4_K_M is exactly 36,734,592,608 bytes (34.21 GiB / 36.73 GB) — an effective 4.871 bits per weight, not the nominal 4. Its KV cache at 32K is 0.75 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
60.3B
total, not active
Architecture
qwen3next
48 layers
Context
262,144
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S11.67 GiB12,527,366,4321.661mradermacher
I1-IQ1_M12.93 GiB13,880,754,4641.841mradermacher
I1-IQ2_XXS15.03 GiB16,136,401,1842.140mradermacher
I1-IQ2_XS16.71 GiB17,944,064,2882.379mradermacher
I1-IQ2_S16.87 GiB18,112,825,6322.402mradermacher
I1-IQ2_M18.55 GiB19,917,343,0082.641mradermacher
I1-Q2_K_S19.38 GiB20,812,675,3602.760mradermacher
Q2_K20.56 GiB22,081,484,3842.928mradermacher
I1-Q2_K20.70 GiB22,223,239,4562.947mradermacher
I1-IQ3_XXS21.85 GiB23,456,237,8563.110mradermacher
I1-IQ3_XS23.19 GiB24,901,959,9683.302mradermacher
Q3_K_S24.39 GiB26,192,395,8723.473mradermacher
I1-Q3_K_S24.39 GiB26,192,593,1843.473mradermacher
I1-IQ3_S24.47 GiB26,274,480,4163.484mradermacher
I1-IQ3_M24.78 GiB26,609,549,6003.528mradermacher
Q3_K_M27.02 GiB29,012,901,4723.847mradermacher
I1-Q3_K_M27.02 GiB29,017,030,9443.848mradermacher
Q3_K_L29.15 GiB31,297,617,5044.150mradermacher
I1-Q3_K_L29.22 GiB31,373,312,2884.160mradermacher
I1-IQ4_XS30.16 GiB32,381,061,4084.293mradermacher
IQ4_XS30.42 GiB32,664,962,6564.331mradermacher
I1-Q4_031.95 GiB34,310,613,2804.549mradermacher
Q4_K_S32.10 GiB34,462,328,4164.569mradermacher
I1-Q4_K_S32.10 GiB34,468,423,9684.570mradermacher
Q4_K_M34.21 GiB36,734,592,6084.871mradermacher
I1-Q4_K_M34.21 GiB36,736,608,5444.871mradermacher
I1-Q4_135.30 GiB37,908,228,3845.026mradermacher
Q5_K_S38.80 GiB41,657,034,3365.524mradermacher
I1-Q5_K_S38.80 GiB41,657,231,6485.524mradermacher
I1-Q5_K_M40.03 GiB42,984,974,6245.700mradermacher
Q5_K_M40.07 GiB43,025,163,8725.705mradermacher
Q6_K46.22 GiB49,623,666,2726.580mradermacher
I1-Q6_K46.22 GiB49,623,863,5846.580mradermacher
Q8_059.82 GiB64,226,414,1768.516mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.09 GiB0.38 GiB4.00×12 / 0 / 36
8,1920.19 GiB0.75 GiB4.00×12 / 0 / 36
16,3840.38 GiB1.50 GiB4.00×12 / 0 / 36
32,7680.75 GiB3.00 GiB4.00×12 / 0 / 36
65,5361.50 GiB6.00 GiB4.00×12 / 0 / 36
131,0723.00 GiB12.00 GiB4.00×12 / 0 / 36

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

Architecture

from config.json
Layers
48
Attention heads
16
KV heads
2
Head dim
256
Hidden size
2048
Vocab
151,936
Sliding window
none
SWA period
MLA
no
Experts
384
Experts per token
10
use_sliding_window
false

Questions people ask

How much VRAM does Qwen3-Coder-Next-REAM need?
Q4_K_M is exactly 36,734,592,608 bytes (34.21 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-Coder-Next-REAM's KV cache?
0.75 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.
Is Qwen3-Coder-Next-REAM a mixture-of-experts model?
Yes — 384 experts, 10 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of Qwen3-Coder-Next-REAM 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.