GPU VRAM calculator · OLMo

How much VRAM does OLMo 2 13B need?

OLMo 2 13B has 13.72 billion parameters. The weights alone take about 25.6 GB in FP16/BF16, 12.8 GB in FP8 and 7.7 GB at 4-bit. KV cache comes on top: about 6.3 GB per sequence at an 8K context in FP16.

Smallest single GPU at Q4_K_M / 4-bit with an 8K context: RTX 3090 (24 GB).

Smallest single GPU at FP16 / BF16 with an 8K context: RTX 4090 48GB (48 GB).

VRAM for inference (8K context, 1 sequence)

PrecisionWeightsTotalSmallest GPU
FP16 / BF1625.6 GB34.1 GBRTX 4090 48GB
FP8 / INT812.8 GB20.7 GBRTX 3090
Q6_K10.5 GB18.3 GBRTX 3090
Q4_K_M / 4-bit7.7 GB15.4 GBRTX 3090

Which GPU on CloudGPU fits OLMo 2 13B

GPUVRAMFP16 / BF16FP8 / INT8Q6_KQ4_K_M / 4-bit
RTX 309024 GBToo smallFitsFitsFits
RTX 409024 GBToo smallFitsFitsFits
RTX 509032 GBToo smallFitsFitsFits
RTX 4090 48GB48 GBFitsFitsFitsFits
L40S48 GBFitsFitsFitsFits
A100 80GB80 GBFitsFitsFitsFits
H10080 GBFitsFitsFitsFits
H200141 GBFitsFitsFitsFits
B200180 GBFitsFitsFitsFits

8K context, 1 sequence. Each card links to its rental page. Current prices are on the pricing page; availability is shown on the deploy page.

KV cache by context length (per sequence)

ContextKV cache (FP16)KV cache (FP8)
4K3.1 GB1.6 GB

Multiply by the number of concurrent sequences. Maximum context in the model config: 4,096 tokens. Models with sliding-window attention use less than this upper bound.

VRAM for fine-tuning (2K-token sequences, batch 1)

WorkloadTotalSmallest GPU
QLoRA fine-tune13.9 GBRTX 3090
LoRA fine-tune35.2 GBRTX 4090 48GB
Full fine-tune232.6 GB4× A100 80GB / 4× H100 / 2× H200 / 2× B200

How the estimate works

Weights = parameters × bits per parameter ÷ 8. KV cache = per-token KV size from the model config × context × concurrent sequences (halved for an FP8 KV cache). Runtime overhead = 1 GB plus 5% of the weights. LoRA assumes a 16-bit base model ×1.2 + 2 GB, QLoRA a 4-bit base ×1.3 + 2 GB, and full fine-tuning 18 bytes per parameter (AdamW, mixed precision). Real usage varies with the framework, sliding-window attention and batch shape, so leave some headroom.

Parameter count and architecture read from allenai/OLMo-2-1124-13B-Instruct on Hugging Face on 2026-12-03. These are estimates, not measurements; leave some headroom.

OLMo 2 13B VRAM FAQ

How much VRAM does OLMo 2 13B need?

About 25.6 GB for FP16 weights, 12.8 GB for FP8 and 7.7 GB at 4-bit, plus KV cache (about 6.3 GB per sequence at an 8K context) and about 1 GB of runtime overhead.

Can OLMo 2 13B run on an RTX 4090 (24 GB)?

Yes. At FP8 / INT8 with an 8K context it needs about 20.7 GB, which fits in 24 GB.

How much VRAM do I need to fine-tune OLMo 2 13B?

Roughly 13.9 GB with QLoRA, 35.2 GB with LoRA on a 16-bit base model, and 232.6 GB for full fine-tuning with AdamW (2K-token sequences, batch 1).