samuelcardillo · text · mixture of experts

Qwen3-Coder-Next-Opus-4.6-Reasoning-Distilled

samuelcardillo/Qwen3-Coder-Next-Opus-4.6-Reasoning-Distilled

Qwen3-Coder-Next-Opus-4.6-Reasoning-Distilled at Q4_K_M is exactly 48,489,047,936 bytes (45.16 GiB / 48.49 GB) Its KV cache at 32K is 0.75 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
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
Q3_K_M0.38 GiB410,100,608Momix-44
IQ1_S15.28 GiB16,406,048,640Momix-44
TQ1_016.12 GiB17,307,670,400Momix-44
IQ1_M16.95 GiB18,202,984,320Momix-44
IQ2_XXS19.74 GiB21,197,877,120Momix-44
IQ2_XS21.98 GiB23,596,937,088Momix-44
IQ2_S22.17 GiB23,806,592,896Momix-44
Q2_K27.26 GiB29,269,669,760Momix-44
IQ3_XXS28.78 GiB30,905,321,344Momix-44
IQ3_XS30.55 GiB32,804,028,288Momix-44
Q3_K_S32.18 GiB34,547,646,336Momix-44
IQ3_S32.25 GiB34,629,533,568Momix-44
Q3_K35.65 GiB38,278,053,760Momix-44
IQ4_XS39.77 GiB42,699,048,832Momix-44
Q4_K_S42.37 GiB45,491,054,464Momix-44
Q4_K_M45.16 GiB48,489,047,936Momix-44
Q5_K_S51.22 GiB54,995,117,952Momix-44
Q5_K_M52.85 GiB56,750,679,936Momix-44
Q6_K61.03 GiB65,528,663,936Momix-44
Q8_078.99 GiB84,812,255,104Momix-44
BF16148.51 GiB159,458,414,656Momix-44

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 0.00 GiB. The real file is 45.16 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
512
Experts per token
10
use_sliding_window
false

Questions people ask

How much VRAM does Qwen3-Coder-Next-Opus-4.6-Reasoning-Distilled need?
Q4_K_M is exactly 48,489,047,936 bytes (45.16 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-Opus-4.6-Reasoning-Distilled'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-Opus-4.6-Reasoning-Distilled a mixture-of-experts model?
Yes — 512 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-Opus-4.6-Reasoning-Distilled 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.