deepcogito · text · mixture of experts

cogito-671b-v2.1

deepcogito/cogito-671b-v2.1

cogito-671b-v2.1 at Q4_K_M is exactly 404,489,541,120 bytes (376.71 GiB / 404.49 GB) — an effective 4.822 bits per weight, not the nominal 4. Its KV cache at 32K is 2.14 GiB.

From the file· summed from 29 file(s)From the file· KV per layer
Parameters
671B
total, not active
Architecture
deepseek2
61 layers
Context
163,840
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ1_M10 shards138.82 GiB149,055,367,8081.777DevQuasar-11
UD-TQ1_0150.80 GiB161,920,272,8961.930unsloth
IQ2_XXS11 shards162.59 GiB174,580,685,0562.081DevQuasar-11
UD-IQ1_S4 shards173.11 GiB185,878,137,7922.216unsloth
UD-IQ1_M5 shards187.19 GiB200,996,867,1362.396unsloth
UD-IQ2_XXS5 shards201.88 GiB216,764,271,6482.584unsloth
UD-IQ2_M5 shards212.81 GiB228,508,322,8482.724unsloth
Q2_K16 shards227.38 GiB244,144,445,3122.911DevQuasar-11
Q2_K5 shards228.82 GiB245,692,745,6962.929unsloth
Q2_K_L5 shards229.02 GiB245,909,154,8802.932unsloth
UD-IQ3_XXS6 shards254.72 GiB273,499,638,9763.261unsloth
Q3_K_S6 shards270.50 GiB290,444,182,9763.463unsloth
Q3_K_M22 shards297.34 GiB319,262,188,9923.806DevQuasar-11
Q3_K_M7 shards298.44 GiB320,446,908,0323.820unsloth
IQ4_XS8 shards333.73 GiB358,342,708,5764.272unsloth
IQ4_NL8 shards353.09 GiB379,131,334,0164.520unsloth
Q4_08 shards353.99 GiB380,095,630,7204.532unsloth
Q4_K_S8 shards354.89 GiB381,059,927,4244.543unsloth
Q4_K_M29 shards376.71 GiB404,489,541,1204.822DevQuasar-11
Q4_K_M9 shards377.55 GiB405,393,395,2324.833unsloth
Q4_19 shards391.87 GiB420,766,294,1125.016unsloth
Q5_K_S10 shards430.86 GiB462,627,418,8485.516unsloth
Q5_K_M33 shards442.77 GiB475,423,513,6325.668DevQuasar-11
Q5_K_M10 shards443.46 GiB476,156,359,4245.677unsloth
Q6_K12 shards513.45 GiB551,307,918,1446.573unsloth
Q8_015 shards664.29 GiB713,279,428,9608.504unsloth
Q8_059 shards664.29 GiB713,279,433,3448.504DevQuasar-11
BF1630 shards1250.08 GiB1,342,259,712,86416.003unsloth

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.27 GiB19.06 GiB71.11×61 / 0 / 0
8,1920.54 GiB38.13 GiB71.11×61 / 0 / 0
16,3841.07 GiB76.25 GiB71.11×61 / 0 / 0
32,7682.14 GiB152.50 GiB71.11×61 / 0 / 0
65,5364.29 GiB305.00 GiB71.11×61 / 0 / 0
131,0728.58 GiB610.00 GiB71.11×61 / 0 / 0

This model uses multi-head latent attention. No V cache is allocated at all, and the K cache stores a 512-wide latent plus 64 rope dimensions — so reading num_key_value_heads from config.json and multiplying, as every calculator does, overstates the cache by well over an order of magnitude.

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 351.53 GiB. The real file is 376.71 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: this model allocates no value cache at all, so any formula reading num_key_value_heads overstates it by more than an order of magnitude.

Architecture

from config.json
Layers
61
Attention heads
128
KV heads
128
Head dim
192
Hidden size
7168
Vocab
128,815
Sliding window
none
SWA period
MLA
yes
Experts
256
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does cogito-671b-v2.1 need?
Q4_K_M is exactly 404,489,541,120 bytes (376.71 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is cogito-671b-v2.1's KV cache?
2.14 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 cogito-671b-v2.1 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 cogito-671b-v2.1 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.