allenai · text

OLMo-2-1124-13B-Instruct

allenai/OLMo-2-1124-13B-Instruct

OLMo-2-1124-13B-Instruct at Q4_K_M is exactly 8,354,349,888 bytes (7.78 GiB / 8.35 GB) — an effective 4.873 bits per weight, not the nominal 4. Its KV cache at 32K is 25.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
13.7B
Architecture
olmo2
40 layers
Context
4,096
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_S4.28 GiB4,593,115,9682.679bartowski
IQ2_M4.58 GiB4,913,013,5682.865bartowski
Q2_K4.90 GiB5,260,641,0883.068bartowski
Q2_K_L5.37 GiB5,762,401,0883.361bartowski
IQ3_XS5.40 GiB5,803,524,9283.385bartowski
Q3_K_S5.68 GiB6,100,894,5283.558bartowski
IQ3_M5.99 GiB6,426,424,1283.748bartowski
Q3_K_M6.31 GiB6,779,683,6483.954bartowski
Q3_K_L6.87 GiB7,371,473,7284.299bartowski
IQ4_XS6.93 GiB7,441,679,1684.340bartowski
Q4_07.34 GiB7,876,346,6884.594bartowski
Q4_K_S7.37 GiB7,911,572,2884.614bartowski
Q4_K_M7.78 GiB8,354,349,8884.873bartowski
Q4_K_L8.14 GiB8,735,687,4885.095bartowski
Q5_K_S8.85 GiB9,504,424,7685.543bartowski
Q5_K_M9.09 GiB9,762,063,1685.694bartowski
Q5_K_L9.39 GiB10,079,175,4885.879bartowski
Q6_K10.48 GiB11,257,758,5286.566bartowski
Q6_K_L10.72 GiB11,506,631,4886.711bartowski
Q8_013.58 GiB14,579,450,6888.504bartowski
F1625.55 GiB27,437,613,60016.003bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0963.13 GiB3.13 GiB40 / 0 / 0
8,1926.25 GiB6.25 GiB40 / 0 / 0
16,38412.50 GiB12.50 GiB40 / 0 / 0
32,76825.00 GiB25.00 GiB40 / 0 / 0
65,53650.00 GiB50.00 GiB40 / 0 / 0
131,072100.00 GiB100.00 GiB40 / 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 7.19 GiB. The real file is 7.78 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
40
Attention heads
40
KV heads
40
Head dim
128
Hidden size
5120
Vocab
100,352
Sliding window
none
SWA period
4
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does OLMo-2-1124-13B-Instruct need?
Q4_K_M is exactly 8,354,349,888 bytes (7.78 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is OLMo-2-1124-13B-Instruct's KV cache?
25.00 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 OLMo-2-1124-13B-Instruct 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.