allenai · text

OLMo-2-1124-7B-Instruct

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

OLMo-2-1124-7B-Instruct at Q4_K_M is exactly 4,472,020,544 bytes (4.16 GiB / 4.47 GB) — an effective 4.902 bits per weight, not the nominal 4. Its KV cache at 32K is 16.00 GiB.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
IQ2_M2.49 GiB2,676,399,6802.934bartowski
Q2_K2.66 GiB2,858,262,0803.133bartowski
IQ3_XS2.93 GiB3,150,356,0323.453bartowski
Q2_K_L3.04 GiB3,259,670,0803.573bartowski
Q3_K_S3.08 GiB3,302,137,4083.619bartowski
IQ3_M3.23 GiB3,468,697,1523.802bartowski
Q3_K_M3.40 GiB3,651,837,5044.003bartowski
Q3_K_L3.68 GiB3,950,943,8084.331bartowski
IQ4_XS3.73 GiB4,001,603,1364.386bartowski
Q4_03.94 GiB4,228,095,5524.634bartowski
Q4_K_S3.96 GiB4,247,756,3524.656bartowski
Q4_K_M4.16 GiB4,472,020,5444.902bartowski
Q4_K_L4.45 GiB4,777,090,6245.236bartowski
Q5_K_S4.73 GiB5,077,704,2565.566bartowski
Q5_K_M4.85 GiB5,209,169,4725.710bartowski
Q5_K_L5.09 GiB5,462,859,3285.988bartowski
Q6_K5.58 GiB5,992,390,2086.568bartowski
Q6_K_L5.77 GiB6,191,488,5766.787bartowski
Q8_07.23 GiB7,759,896,1288.506bartowski
F1613.60 GiB14,601,854,24016.005bartowski

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0962.00 GiB2.00 GiB32 / 0 / 0
8,1924.00 GiB4.00 GiB32 / 0 / 0
16,3848.00 GiB8.00 GiB32 / 0 / 0
32,76816.00 GiB16.00 GiB32 / 0 / 0
65,53632.00 GiB32.00 GiB32 / 0 / 0
131,07264.00 GiB64.00 GiB32 / 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 3.82 GiB. The real file is 4.16 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
32
KV heads
32
Head dim
128
Hidden size
4096
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-7B-Instruct need?
Q4_K_M is exactly 4,472,020,544 bytes (4.16 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-7B-Instruct's KV cache?
16.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-7B-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.