openbmb · text

MiniCPM5-1B

openbmb/MiniCPM5-1B

MiniCPM5-1B at Q4_K_M is exactly 688,065,856 bytes (0.64 GiB / 0.69 GB) — an effective 5.094 bits per weight, not the nominal 4. Its KV cache at 32K is 0.75 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
1.1B
Architecture
llama
24 layers
Context
131,072
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K0.45 GiB485,829,9523.597hudsongouge
Q2_K0.45 GiB485,830,2403.597hudsongouge
Q3_K_M0.54 GiB582,899,0084.315hudsongouge
Q3_K_M0.54 GiB582,899,2964.315hudsongouge
Q4_K_M0.64 GiB688,065,8565.094hudsongouge
Q4_K_M0.64 GiB688,065,9675.094Abiray
Q4_K_M0.64 GiB688,066,1445.094hudsongouge
Q5_K_M0.73 GiB786,861,3765.825hudsongouge
Q5_K_M0.73 GiB786,861,6645.825hudsongouge
Q5_K_M0.73 GiB786,862,6885.825Abiray
Q6_K0.83 GiB891,832,9286.602Abiray
Q8_01.07 GiB1,153,529,1528.540hudsongouge
Q8_01.07 GiB1,153,529,2618.540Abiray
Q8_01.07 GiB1,153,529,4408.540hudsongouge
F162.02 GiB2,166,551,87216.039hudsongouge
F162.02 GiB2,166,551,98016.039Abiray
F162.02 GiB2,166,552,16016.039hudsongouge

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.09 GiB0.09 GiB24 / 0 / 0
8,1920.19 GiB0.19 GiB24 / 0 / 0
16,3840.38 GiB0.38 GiB24 / 0 / 0
32,7680.75 GiB0.75 GiB24 / 0 / 0
65,5361.50 GiB1.50 GiB24 / 0 / 0
131,0723.00 GiB3.00 GiB24 / 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 0.57 GiB. The real file is 0.64 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
24
Attention heads
16
KV heads
2
Head dim
128
Hidden size
1536
Vocab
130,560
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does MiniCPM5-1B need?
Q4_K_M is exactly 688,065,856 bytes (0.64 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is MiniCPM5-1B's KV cache?
0.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 MiniCPM5-1B 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.