baidu · vision language · mixture of experts

Unlimited-OCR

baidu/Unlimited-OCR

Unlimited-OCR at Q4_K_M is exactly 1,950,321,792 bytes (1.82 GiB / 1.95 GB) — an effective 4.677 bits per weight, not the nominal 4.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
3.3B
total, not active
Architecture
deepseek2-ocr
12 layers
Context
32,768
native (config.json)
License
mit

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M1.15 GiB1,232,148,2242.955sahilchachra
IQ3_XXS1.24 GiB1,335,367,4243.202sahilchachra
IQ3_M1.35 GiB1,448,949,5043.475sahilchachra
Q3_K_M1.45 GiB1,553,630,5923.726155DevQuasar
Q3_K_M1.45 GiB1,553,635,5843.726155sahilchachra
IQ4_XS1.53 GiB1,640,897,0243.935155sahilchachra
IQ4_NL1.59 GiB1,701,901,8244.081sahilchachra
Q4_K_S1.68 GiB1,805,289,9844.329sahilchachra
Q4_K_M1.82 GiB1,950,321,7924.677155DevQuasar
Q4_K_M1.82 GiB1,950,326,5924.677sabafallah
Q4_K_M1.82 GiB1,950,326,7844.677155sahilchachra
Q5_K_S1.95 GiB2,098,952,7045.033sahilchachra
Q5_K_M2.07 GiB2,219,203,7125.322155DevQuasar
Q5_K_M2.07 GiB2,219,208,7045.322155sahilchachra
Q6_K2.43 GiB2,613,270,9126.267155DevQuasar
Q6_K2.43 GiB2,613,275,9046.267155sahilchachra
Q8_02.91 GiB3,126,134,9127.497155DevQuasar
Q8_02.91 GiB3,126,139,7127.497sabafallah
Q8_02.91 GiB3,126,139,9047.497155sahilchachra
BF165.47 GiB5,876,578,08014.092sahilchachra
BF165.47 GiB5,876,578,11214.092sabafallah

KV cache by context

unresolved

This model declares a 128-token sliding window, but we could not establish which layers use it. Its architecture publishes the layout as a per-layer array inside the model file rather than as a period in config.json, and we have not yet ingested that array.

A flat context × layers × heads figure would be substantially too high, so we are not showing one. This is tracked as a known gap rather than filled with a guess.

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

Architecture

from config.json
Layers
12
Attention heads
10
KV heads
10
Head dim
128
Hidden size
1280
Vocab
129,280
Sliding window
128
SWA period
MLA
no
Experts
64
Experts per token
6
use_sliding_window

Questions people ask

How much VRAM does Unlimited-OCR need?
Q4_K_M is exactly 1,950,321,792 bytes (1.82 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Is Unlimited-OCR a mixture-of-experts model?
Yes — 64 experts, 6 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 Unlimited-OCR 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.