thelamapi · text

next-ocr

thelamapi/next-ocr

next-ocr at Q4_K_M is exactly 5,027,781,184 bytes (4.68 GiB / 5.03 GB) — an effective 4.588 bits per weight, not the nominal 4. Its KV cache at 32K is 4.50 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
8.8B
Architecture
qwen3vl
36 layers
Context
262,144
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.97 GiB2,115,772,9601.931mradermacher
I1-IQ1_M2.10 GiB2,256,151,0722.059mradermacher
I1-IQ2_XXS2.32 GiB2,490,114,5922.272mradermacher
I1-IQ2_XS2.51 GiB2,696,159,7762.460mradermacher
I1-IQ2_S2.67 GiB2,864,747,0402.614mradermacher
I1-IQ2_M2.84 GiB3,051,917,8562.785mradermacher
I1-Q2_K_S2.87 GiB3,083,555,3602.814mradermacher
Q2_K3.06 GiB3,281,735,9682.995thelamapi
I1-Q2_K3.06 GiB3,281,736,2242.995mradermacher
I1-IQ3_XXS3.14 GiB3,369,636,3843.075mradermacher
I1-IQ3_XS3.38 GiB3,626,877,4723.309mradermacher
Q3_K_S3.51 GiB3,769,614,6243.440thelamapi
I1-Q3_K_S3.51 GiB3,769,614,8803.440mradermacher
I1-IQ3_S3.53 GiB3,789,668,8963.458mradermacher
I1-IQ3_M3.63 GiB3,896,623,6483.556mradermacher
Q3_K_M3.84 GiB4,124,164,3843.763thelamapi
I1-Q3_K_M3.84 GiB4,124,164,6403.763mradermacher
Q3_K_L4.13 GiB4,431,397,1524.044thelamapi
I1-Q3_K_L4.13 GiB4,431,397,4084.044mradermacher
I1-IQ4_XS4.25 GiB4,561,842,7204.163mradermacher
IQ4_XS4.28 GiB4,593,299,7444.191thelamapi
I1-Q4_04.46 GiB4,787,335,7124.368mradermacher
I1-IQ4_NL4.46 GiB4,793,627,1684.374mradermacher
Q4_K_S4.47 GiB4,802,015,5204.382thelamapi
I1-Q4_K_S4.47 GiB4,802,015,7764.382mradermacher
Q4_K_M4.68 GiB5,027,781,1844.588Lamapi
Q4_K_M4.68 GiB5,027,787,0404.588thelamapi
I1-Q4_K_M4.68 GiB5,027,787,2964.588mradermacher
I1-Q4_14.89 GiB5,247,758,8804.789mradermacher
Q5_K_S5.33 GiB5,720,764,7045.220thelamapi
I1-Q5_K_S5.33 GiB5,720,764,9605.220mradermacher
Q5_K_M5.45 GiB5,851,115,8085.339thelamapi
I1-Q5_K_M5.45 GiB5,851,116,0645.339mradermacher
Q6_K6.26 GiB6,725,902,6246.137thelamapi
I1-Q6_K6.26 GiB6,725,902,8806.137mradermacher
Q8_08.11 GiB8,709,521,6967.947thelamapi
F1615.26 GiB16,388,047,13614.954thelamapi

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.56 GiB0.56 GiB36 / 0 / 0
8,1921.13 GiB1.13 GiB36 / 0 / 0
16,3842.25 GiB2.25 GiB36 / 0 / 0
32,7684.50 GiB4.50 GiB36 / 0 / 0
65,5369.00 GiB9.00 GiB36 / 0 / 0
131,07218.00 GiB18.00 GiB36 / 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.59 GiB. The real file is 4.68 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
36
Attention heads
32
KV heads
8
Head dim
128
Hidden size
4096
Vocab
151,936
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does next-ocr need?
Q4_K_M is exactly 5,027,781,184 bytes (4.68 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is next-ocr's KV cache?
4.50 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 next-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.