Kwaipilot · text · mixture of experts

KAT-Coder-V2.5-Dev

Kwaipilot/KAT-Coder-V2.5-Dev

KAT-Coder-V2.5-Dev at Q4_K_M is exactly 21,391,448,480 bytes (19.92 GiB / 21.39 GB) — an effective 4.937 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
34.7B
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
IQ2_XXS9.11 GiB9,778,452,8962.257bartowski
IQ2_XS10.06 GiB10,797,144,4802.492bartowski
IQ2_S10.25 GiB11,010,275,7442.541bartowski
IQ2_M11.24 GiB12,066,716,0642.785bartowski
Q2_K11.75 GiB12,617,079,2002.912bartowski
Q2_K_L12.21 GiB13,113,719,2003.027bartowski
IQ3_XXS13.85 GiB14,870,829,4723.432bartowski
Q3_K_S14.45 GiB15,513,516,4483.581bartowski
IQ3_XS15.10 GiB16,218,683,8083.743bartowski
Q3_K_M15.11 GiB16,226,548,1283.745733bartowski
Q3_K_L15.73 GiB16,886,495,6483.898bartowski
IQ3_M15.74 GiB16,900,258,2083.901bartowski
UD-IQ4_XS16.96 GiB18,210,088,5764.203gbuzhf
IQ4_XS17.51 GiB18,806,446,4964.341733bartowski
IQ4_NL18.50 GiB19,861,346,7204.584bartowski
Q4_018.57 GiB19,942,611,3604.603733bartowski
Q4_K_S19.18 GiB20,592,728,4804.753bartowski
Q4_K_M19.92 GiB21,391,448,4804.937733bartowski
Q4_K_L20.27 GiB21,768,894,8805.024bartowski
Q4_120.46 GiB21,973,768,6085.072bartowski
Q5_K_S22.50 GiB24,156,150,1765.575bartowski
Q5_K_M23.30 GiB25,017,457,0565.774733bartowski
Q5_K_L23.59 GiB25,331,333,5365.847bartowski
UD-Q5_K_S23.79 GiB25,539,069,5685.895gbuzhf
UD-Q6_K27.95 GiB30,012,294,7846.927gbuzhf
Q6_K27.99 GiB30,053,415,3286.937733bartowski
Q6_K_L28.22 GiB30,299,748,7686.994bartowski
Q8_034.38 GiB36,914,690,4648.520733bartowski
BF162 shards64.61 GiB69,376,637,24816.013bartowski

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.16 GiB. The real file is 19.92 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 KAT-Coder-V2.5-Dev need?
Q4_K_M is exactly 21,391,448,480 bytes (19.92 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is KAT-Coder-V2.5-Dev'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 KAT-Coder-V2.5-Dev 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 KAT-Coder-V2.5-Dev 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.