CohereLabs · text · mixture of experts

North-Mini-Code-1.0

CohereLabs/North-Mini-Code-1.0

North-Mini-Code-1.0 at Q4_K_M is exactly 18,744,024,640 bytes (17.46 GiB / 18.74 GB) — an effective 4.919 bits per weight, not the nominal 4. Its KV cache at 32K is 1.13 GiB, not the 3.06 GiB a flat formula predicts.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
30.5B
total, not active
Architecture
cohere2moe
49 layers
Context
500,000
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_XXS7.93 GiB8,512,945,7282.234bartowski
UD-IQ1_M8.74 GiB9,379,799,1362.462unsloth
IQ2_XS8.77 GiB9,418,915,3922.472bartowski
IQ2_S8.95 GiB9,608,707,6482.522bartowski
UD-IQ2_XXS9.11 GiB9,782,452,3202.567unsloth
UD-IQ2_M9.19 GiB9,863,438,4322.588unsloth
IQ2_M9.82 GiB10,549,280,3202.768bartowski
Q2_K10.33 GiB11,090,304,5762.910bartowski
Q2_K_L10.45 GiB11,220,328,0002.945bartowski
UD-IQ3_XXS10.90 GiB11,708,375,1363.073unsloth
UD-IQ3_S11.89 GiB12,765,339,7443.350unsloth
IQ3_XXS12.10 GiB12,993,338,9443.410bartowski
Q3_K_S12.63 GiB13,565,697,6003.560bartowski
IQ3_XS13.23 GiB14,207,426,1123.728bartowski
Q3_K_M13.23 GiB14,209,048,1283.729442bartowski
UD-Q3_K_M13.24 GiB14,213,013,6003.730unsloth
Q3_K_L13.74 GiB14,758,436,4163.873bartowski
IQ3_M13.84 GiB14,863,621,6963.901bartowski
UD-IQ4_XS14.18 GiB15,230,132,3203.997unsloth
UD-IQ4_NL14.47 GiB15,532,122,2084.076unsloth
IQ4_XS15.44 GiB16,583,843,3924.352442bartowski
IQ4_NL16.30 GiB17,496,694,3364.592bartowski
Q4_016.32 GiB17,521,204,8004.598442bartowski
UD-Q4_K_S16.81 GiB18,045,558,8804.736unsloth
Q4_K_S16.81 GiB18,050,080,3204.737bartowski
Q4_K_M17.46 GiB18,744,024,6404.919442bartowski
Q4_K_L17.58 GiB18,874,048,0644.953bartowski
UD-Q4_K_M17.88 GiB19,203,186,7845.040unsloth
Q4_117.97 GiB19,296,706,1125.064bartowski
Q5_K_S19.70 GiB21,148,098,1125.550bartowski
UD-Q5_K_S20.13 GiB21,619,105,8885.673unsloth
Q5_K_M20.34 GiB21,845,253,6965.733442bartowski
Q5_K_L20.47 GiB21,975,277,1205.767bartowski
UD-Q5_K_M21.37 GiB22,946,603,1046.022unsloth
UD-Q6_K23.76 GiB25,513,517,1526.696unsloth
Q6_K24.59 GiB26,402,856,5126.929bartowski
Q6_K_L24.71 GiB26,532,879,9366.963bartowski
Q8_030.21 GiB32,437,263,9368.512442bartowski
Q8_030.21 GiB32,437,264,4808.512unsloth
BF162 shards56.81 GiB61,004,406,27216.009bartowski

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.38 GiB0.38 GiB13 / 36 / 0
8,1920.52 GiB0.77 GiB1.47×13 / 36 / 0
16,3840.72 GiB1.53 GiB2.12×13 / 36 / 0
32,7681.13 GiB3.06 GiB2.71×13 / 36 / 0
65,5361.94 GiB6.13 GiB3.15×13 / 36 / 0
131,0723.57 GiB12.25 GiB3.43×13 / 36 / 0

36 of 49 layers cache only a 4,096-token window rather than the full context, on a period of 4. Figures assume the default configuration; --swa-full disables the saving entirely.

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 15.97 GiB. The real file is 17.46 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: a flat formula gives 3.06 GiB at 32K context where the real figure is 1.13 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

from config.json
Layers
49
Attention heads
32
KV heads
4
Head dim
128
Hidden size
2048
Vocab
262,144
Sliding window
4096
SWA period
4
MLA
no
Experts
128
Experts per token
8
use_sliding_window

Questions people ask

How much VRAM does North-Mini-Code-1.0 need?
Q4_K_M is exactly 18,744,024,640 bytes (17.46 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is North-Mini-Code-1.0's KV cache?
1.13 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 North-Mini-Code-1.0 a mixture-of-experts model?
Yes — 128 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 North-Mini-Code-1.0 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.