openbmb · text

MiniCPM-o-2_6

openbmb/MiniCPM-o-2_6

MiniCPM-o-2_6 at Q4_K_M is exactly 4,681,260,960 bytes (4.36 GiB / 4.68 GB) — an effective 4.317 bits per weight, not the nominal 4. Its KV cache at 32K is 1.75 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
8.7B
Architecture
qwen2
28 layers
Context
32,768
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M2.59 GiB2,778,876,5762.563bartowski
Q2_K2.81 GiB3,014,433,6322.780bartowski
IQ3_XS3.11 GiB3,344,616,9283.084bartowski
Q3_K_S3.25 GiB3,490,729,4403.219bartowski
Q2_K_L3.30 GiB3,545,383,6163.269bartowski
IQ3_M3.33 GiB3,572,372,9603.294bartowski
Q3_K_M3.55 GiB3,806,752,2243.511bartowski
Q3_K_L3.81 GiB4,086,820,0643.769lmstudio-community
Q3_K_L3.81 GiB4,086,820,3203.769bartowski
IQ4_XS3.93 GiB4,216,700,9923.889bartowski
Q4_04.13 GiB4,429,578,1444.085openbmb
IQ4_NL4.13 GiB4,436,001,0244.091bartowski
Q4_04.14 GiB4,442,308,8644.097bartowski
Q4_K_S4.15 GiB4,455,956,3844.109openbmb
Q4_K_S4.15 GiB4,455,956,7364.109bartowski
Q4_K_M4.36 GiB4,681,260,9604.317openbmb
Q4_K_M4.36 GiB4,681,261,0564.317lmstudio-community
Q4_K_M4.36 GiB4,681,261,3124.317bartowski
Q4_14.54 GiB4,871,389,4724.492openbmb
Q4_14.54 GiB4,871,389,8244.492bartowski
Q4_K_L4.74 GiB5,084,783,2964.689bartowski
Q5_04.95 GiB5,313,200,8004.900openbmb
Q5_K_S4.95 GiB5,313,201,1524.900bartowski
Q5_K_M5.07 GiB5,442,855,5845.019openbmb
Q5_K_M5.07 GiB5,442,855,9365.019bartowski
Q5_15.36 GiB5,755,012,1285.307openbmb
Q5_K_L5.38 GiB5,778,416,3205.329bartowski
Q6_K5.82 GiB6,252,049,8885.766openbmb
Q6_K5.82 GiB6,252,049,9845.766lmstudio-community
Q6_K5.82 GiB6,252,050,2405.766bartowski
Q6_K_L6.07 GiB6,515,401,4086.008bartowski
Q8_07.54 GiB8,095,744,3527.466openbmb
Q8_07.54 GiB8,095,744,4487.466lmstudio-community
Q8_07.54 GiB8,095,744,7047.466bartowski
F1614.19 GiB15,232,626,27214.047openbmb
F3228.37 GiB30,457,974,46428.088bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.22 GiB0.22 GiB28 / 0 / 0
8,1920.44 GiB0.44 GiB28 / 0 / 0
16,3840.88 GiB0.88 GiB28 / 0 / 0
32,7681.75 GiB1.75 GiB28 / 0 / 0
65,5363.50 GiB3.50 GiB28 / 0 / 0
131,0727.00 GiB7.00 GiB28 / 0 / 0

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

Architecture

from config.json
Layers
28
Attention heads
28
KV heads
4
Head dim
128
Hidden size
3584
Vocab
151,700
Sliding window
131072
SWA period
MLA
no
Experts
Experts per token
use_sliding_window
false

This model declares a sliding window but sets use_sliding_window: false, so the window is not applied. Honouring the field without the flag understates KV for the whole family.

Questions people ask

How much VRAM does MiniCPM-o-2_6 need?
Q4_K_M is exactly 4,681,260,960 bytes (4.36 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is MiniCPM-o-2_6's KV cache?
1.75 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.
Which quantization of MiniCPM-o-2_6 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.