Achilles1089 · text · mixture of experts

fable-coder-35B-A3B

Achilles1089/fable-coder-35B-A3B

fable-coder-35B-A3B at Q4_K_M is exactly 21,713,462,496 bytes (20.22 GiB / 21.71 GB) — an effective 4.832 bits per weight, not the nominal 4. Its KV cache at 32K is 0.63 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K12.34 GiB13,247,183,2322.948mradermacher
I1-Q2_K12.34 GiB13,247,183,5202.948mradermacher
Q3_K_S14.48 GiB15,547,036,0323.459mradermacher
I1-Q3_K_S14.48 GiB15,547,036,3203.459mradermacher
I1-IQ3_S14.54 GiB15,615,414,9443.475mradermacher
I1-IQ3_M14.72 GiB15,806,624,4163.517mradermacher
Q3_K_M15.99 GiB17,166,659,9683.820mradermacher
I1-Q3_K_M15.99 GiB17,166,660,2563.820mradermacher
Q3_K_L17.28 GiB18,552,091,0084.128mradermacher
I1-Q3_K_L17.28 GiB18,552,091,2964.128mradermacher
I1-IQ4_XS17.86 GiB19,179,522,7204.268mradermacher
IQ4_XS18.06 GiB19,390,056,8324.315mradermacher
I1-Q4_018.88 GiB20,276,226,7204.512mradermacher
Q4_K_S18.97 GiB20,366,862,7204.532mradermacher
I1-Q4_K_S18.97 GiB20,366,863,0084.532mradermacher
Q4_K_M20.22 GiB21,713,462,4964.832Achilles1089
Q4_K_M20.22 GiB21,713,463,6804.832mradermacher
I1-Q4_K_M20.22 GiB21,713,463,9684.832mradermacher
I1-Q4_120.84 GiB22,377,884,3204.979mradermacher
Q5_K_S22.88 GiB24,563,755,3925.466mradermacher
I1-Q5_K_S22.88 GiB24,563,755,6805.466mradermacher
Q5_K_M23.61 GiB25,347,532,0005.640Achilles1089
Q5_K_M23.61 GiB25,347,533,1845.640mradermacher
I1-Q5_K_M23.61 GiB25,347,533,4725.640mradermacher
Q6_K27.20 GiB29,208,730,8486.500Achilles1089
Q6_K27.20 GiB29,208,732,0326.500mradermacher
I1-Q6_K27.20 GiB29,208,732,3206.500mradermacher
Q8_035.21 GiB37,802,149,4088.412Achilles1089
Q8_035.21 GiB37,802,150,2728.412mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.08 GiB0.31 GiB4.00×10 / 0 / 30
8,1920.16 GiB0.63 GiB4.00×10 / 0 / 30
16,3840.31 GiB1.25 GiB4.00×10 / 0 / 30
32,7680.63 GiB2.50 GiB4.00×10 / 0 / 30
65,5361.25 GiB5.00 GiB4.00×10 / 0 / 30
131,0722.50 GiB10.00 GiB4.00×10 / 0 / 30

30 of 40 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 18.83 GiB. The real file is 20.22 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
40
Attention heads
16
KV heads
2
Head dim
256
Hidden size
2048
Vocab
248,320
Sliding window
none
SWA period
MLA
no
Experts
256
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does fable-coder-35B-A3B need?
Q4_K_M is exactly 21,713,462,496 bytes (20.22 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is fable-coder-35B-A3B's KV cache?
0.63 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 fable-coder-35B-A3B a mixture-of-experts model?
Yes — 256 experts, 8 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 fable-coder-35B-A3B 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.