allenai · text

Olmo-3-7B-Instruct

allenai/Olmo-3-7B-Instruct

Olmo-3-7B-Instruct at Q4_K_M is exactly 4,471,601,152 bytes (4.16 GiB / 4.47 GB) — an effective 4.902 bits per weight, not the nominal 4. Its KV cache at 32K is 5.69 GiB, not the 16.00 GiB a flat formula predicts.

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

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
UD-IQ1_S1.81 GiB1,941,747,2002.128unsloth
UD-IQ1_M1.90 GiB2,042,295,8082.239unsloth
UD-IQ2_XXS2.10 GiB2,254,091,7762.471unsloth
IQ2_M2.49 GiB2,676,061,4402.933bartowski
UD-IQ2_M2.53 GiB2,717,038,0802.978unsloth
Q2_K2.66 GiB2,857,914,3683.133bartowski
Q2_K2.66 GiB2,857,914,6243.133unsloth
IQ3_XXS2.70 GiB2,901,701,8883.181bartowski
UD-IQ3_XXS2.74 GiB2,944,341,5043.228unsloth
Q2_K_L2.75 GiB2,954,181,5043.238unsloth
IQ3_XS2.93 GiB3,149,977,5363.453bartowski
Q2_K_L3.04 GiB3,259,026,3683.572bartowski
Q3_K_S3.08 GiB3,301,758,9123.619bartowski
Q3_K_S3.08 GiB3,301,759,1683.619unsloth
IQ3_M3.23 GiB3,468,318,6563.802bartowski
Q3_K_M3.40 GiB3,651,459,0084.003bartowski
Q3_K_M3.40 GiB3,651,459,2644.003unsloth
Q3_K_L3.68 GiB3,950,565,3124.331bartowski
IQ4_XS3.73 GiB4,001,193,8564.386bartowski
IQ4_XS3.74 GiB4,014,029,6964.400unsloth
IQ4_NL3.93 GiB4,216,404,6084.622bartowski
IQ4_NL3.93 GiB4,216,404,8644.622unsloth
Q4_03.94 GiB4,227,676,8004.634bartowski
Q4_03.94 GiB4,227,677,0564.634unsloth
Q4_K_S3.96 GiB4,247,337,6004.656bartowski
Q4_K_S3.96 GiB4,247,337,8564.656unsloth
Q4_K_M4.16 GiB4,471,601,1524.902lmstudio-community
Q4_K_M4.16 GiB4,471,601,7924.902bartowski
Q4_K_M4.16 GiB4,471,602,0484.902unsloth
Q4_14.33 GiB4,646,826,1125.094bartowski
Q4_14.33 GiB4,646,826,3685.094unsloth
Q4_K_L4.45 GiB4,776,446,9125.236bartowski
Q5_K_S4.73 GiB5,077,247,6165.566bartowski
Q5_K_S4.73 GiB5,077,247,8725.566unsloth
Q5_K_M4.85 GiB5,208,712,8325.710bartowski
Q5_K_M4.85 GiB5,208,713,0885.710unsloth
Q5_K_L5.09 GiB5,462,215,6165.988bartowski
Q6_K5.58 GiB5,991,892,6726.568lmstudio-community
Q6_K5.58 GiB5,991,893,3126.568bartowski
Q6_K5.58 GiB5,991,893,5686.568unsloth

KV cache by context

computed per layer — this model uses sliding-window attention
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0962.00 GiB2.00 GiB8 / 24 / 0
8,1922.69 GiB4.00 GiB1.49×8 / 24 / 0
16,3843.69 GiB8.00 GiB2.17×8 / 24 / 0
32,7685.69 GiB16.00 GiB2.81×8 / 24 / 0
65,5369.69 GiB32.00 GiB3.30×8 / 24 / 0
131,07217.69 GiB64.00 GiB3.62×8 / 24 / 0

24 of 32 layers cache only a 4,096-token window rather than the full context, on a period of . Figures assume the default configuration; --swa-full disables the saving entirely.

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. The larger discrepancy is the cache: a flat formula gives 16.00 GiB at 32K context where the real figure is 5.69 GiB, because most of this model's layers cache a fixed window rather than the whole context.

Architecture

from config.json
Layers
32
Attention heads
32
KV heads
32
Head dim
128
Hidden size
4096
Vocab
100,278
Sliding window
4096
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Olmo-3-7B-Instruct need?
Q4_K_M is exactly 4,471,601,152 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-3-7B-Instruct's KV cache?
5.69 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-3-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.