GPU VRAM calculator · Mistral

How much VRAM does Magistral Small 24B need?

Magistral Small 24B has 23.57 billion parameters. The weights alone take about 43.9 GB in FP16/BF16, 22 GB in FP8 and 13.3 GB at 4-bit. KV cache comes on top: about 1.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: A100 80GB (80 GB).

VRAM for inference (8K context, 1 sequence)

PrecisionWeightsTotalSmallest GPU
FP16 / BF1643.9 GB48.3 GBA100 80GB
FP8 / INT822 GB25.3 GBRTX 5090
Q6_K18 GB21.2 GBRTX 3090
Q4_K_M / 4-bit13.3 GB16.2 GBRTX 3090

Which GPU on CloudGPU fits Magistral Small 24B

GPUVRAMFP16 / BF16FP8 / INT8Q6_KQ4_K_M / 4-bit
RTX 309024 GBToo smallToo smallFitsFits
RTX 409024 GBToo smallToo smallFitsFits
RTX 509032 GBToo smallFitsFitsFits
RTX 4090 48GB48 GBToo smallFitsFitsFits
L40S48 GBToo smallFitsFitsFits
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)
4K0.6 GB0.3 GB
32K5 GB2.5 GB

Multiply by the number of concurrent sequences. Maximum context in the model config: 40,960 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-tune19.4 GBRTX 3090
LoRA fine-tune56 GBA100 80GB
Full fine-tune396.4 GB6× A100 80GB / 6× H100 / 4× H200 / 3× 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 mistralai/Magistral-Small-2506 on Hugging Face on 2026-12-03. These are estimates, not measurements; leave some headroom.

Magistral Small 24B VRAM FAQ

How much VRAM does Magistral Small 24B need?

About 43.9 GB for FP16 weights, 22 GB for FP8 and 13.3 GB at 4-bit, plus KV cache (about 1.3 GB per sequence at an 8K context) and about 1 GB of runtime overhead.

Can Magistral Small 24B run on an RTX 4090 (24 GB)?

Yes. At Q6_K with an 8K context it needs about 21.2 GB, which fits in 24 GB.

How much VRAM do I need to fine-tune Magistral Small 24B?

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