deepcogito · text · mixture of experts

cogito-v2-preview-deepseek-671B-MoE

deepcogito/cogito-v2-preview-deepseek-671B-MoE

cogito-v2-preview-deepseek-671B-MoE at Q4_K_M is exactly 404,937,280,960 bytes (377.13 GiB / 404.94 GB) — an effective 4.828 bits per weight, not the nominal 4. Its KV cache at 32K is 2.14 GiB.

From the file· summed from 9 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
UD-TQ1_0150.73 GiB161,842,561,4401.929unsloth
UD-IQ1_S4 shards173.12 GiB185,888,506,6882.216unsloth
UD-IQ1_M5 shards186.85 GiB200,626,367,4562.392unsloth
UD-IQ2_XXS5 shards201.88 GiB216,770,073,5362.584unsloth
UD-IQ2_M5 shards212.82 GiB228,514,124,7362.724unsloth
Q2_K5 shards227.97 GiB244,776,080,2562.918unsloth
Q2_K_L5 shards228.17 GiB244,992,489,4402.921unsloth
Q3_K_S6 shards269.83 GiB289,726,046,0483.454unsloth
Q3_K_M7 shards297.88 GiB319,841,853,4723.813unsloth
IQ4_XS8 shards333.13 GiB357,696,713,9844.264unsloth
IQ4_NL8 shards352.57 GiB378,573,032,7684.513unsloth
Q4_08 shards353.48 GiB379,540,999,4564.525unsloth
Q4_K_S8 shards354.38 GiB380,508,966,1764.537unsloth
Q4_K_M9 shards377.13 GiB404,937,280,9604.828unsloth
Q4_19 shards391.51 GiB420,383,379,4565.012unsloth
Q5_K_S10 shards430.45 GiB462,193,726,1125.510unsloth
Q5_K_M10 shards443.10 GiB475,775,308,4805.672unsloth
Q6_K12 shards513.20 GiB551,040,712,9606.570unsloth
Q8_015 shards664.29 GiB713,279,428,5768.504unsloth
BF1630 shards1250.08 GiB1,342,259,712,70416.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 377.13 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-v2-preview-deepseek-671B-MoE need?
Q4_K_M is exactly 404,937,280,960 bytes (377.13 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-v2-preview-deepseek-671B-MoE'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-v2-preview-deepseek-671B-MoE 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-v2-preview-deepseek-671B-MoE 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.