VRAMCalc.me
Model Hub: Mistral Small 24B ->
Fits Fast CUDA · GDDR6X 24B · 40L Updated 2026-11-24

Can I Run Mistral-Small-24B-Instruct-2501 on NVIDIA RTX 3090 (24GB)?

NVIDIA RTX 3090 (24GB) fits Mistral-Small-24B-Instruct-2501 cleanly at Q4_K_M with 7.08 GB headroom at 8K context (16.42 / 23.5 GB usable; max 32K context @ 20.29 GB). Formula throughput sits in the Fast band (est. ~38–52 tok/s) driven by 936 GB/s memory bandwidth.

Hardware Budget: 23.5 GB / 24 GB Bandwidth: 936 GB/s GQA KV Geometry: 8 × 128

Interactive VRAM, Format & Speed Simulator

Switch GGUF, AWQ (vLLM), or MLX, adjust Daily Desktop vs Clean OS reserves, KV cache precision, context length, and Multi-GPU topology on RTX 3090 24GB.

Runtime Format
OS Reserve Profile
8K (8,192 tokens)
GPUs:
1x RTX 3090 24GB · 23.5 GB usable VRAM

Estimated Total VRAM

16.42 GB (70% of 23.5 GB)

Formula Speed Range

~38–52 tok/s

Fast · Formula (±15–25%)

Weights + Buffer

14.55 GB + 0.62 GB sys

KV Cache: 1.25 GB (FP16)

CUDA Layer Residency

40 / 40 layers on GPU

7.08 GB free headroom

Memory Allocation vs Usable Budget Usable CUDA Ceiling: 23.5 GB (of 24 GB physical)
Weights KV Cache Runtime Buffer Usable Ceiling (23.5 GB)

100% resident in CUDA memory (7.08 GB headroom).

Live Flags for Selected Config
llama-cli -hf bartowski/Mistral-Small-24B-Instruct-2501-GGUF:Q4_K_M -ngl 99 -c 8192 -fa on

Format & Quantization Comparison (8K Context)

Static memory and throughput-band comparison across GGUF, AWQ, and MLX on RTX 3090 24GB.

KV Cache @ 8K FP16
Format / Quant Weights Total VRAM (8K) GPU Layers Formula Speed Fit / Speed Practical Notes
Q4_K_M GGUF Recommended
4.85 bpw
14.55 GB 16.42 GB 40/40 ~38–52 tok/s
Fits Fast
Fits 100% in CUDA memory (7.1 GB headroom).
Q5_K_M GGUF
5.65 bpw
16.95 GB 18.85 GB 40/40 ~32–45 tok/s
Fits Fast
Fits 100% in CUDA memory (4.7 GB headroom).
Q6_K GGUF
6.56 bpw
19.68 GB 21.62 GB 40/40 ~28–39 tok/s
Fits Fast
Fits 100% in CUDA memory (1.9 GB headroom).
Q8_0 GGUF
8.5 bpw
25.50 GB 27.51 GB 33/40 ~4–8 tok/s
Partial Offload Readable
33/40 layers on GPU; remainder offloaded to system RAM.
FP16 GGUF
16 bpw
48.00 GB 50.28 GB 17/40 ~1–2 tok/s
Partial Offload Slow
17/40 layers on GPU; remainder offloaded to system RAM.
AWQ_4BIT AWQ
4.75 bpw
14.25 GB 16.91 GB 40/40 ~36–50 tok/s
Fits Fast
Fits 100% in CUDA memory (6.6 GB headroom).

Launch Commands (Ollama, llama.cpp, vLLM & MLX)

NVIDIA RTX 3090 (24GB) · -ngl 99 · 32K

Ollama Quick Run & Tuned Env
Standard Ollama Run
ollama run mistral-small:24b
Flash Attention + Q8_0 KV Cache (32K)
OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 OLLAMA_NUM_CTX=32768 ollama run mistral-small:24b
llama.cpp CLI & OpenAI Server
Interactive Terminal (`llama-cli`)
llama-cli -hf bartowski/Mistral-Small-24B-Instruct-2501-GGUF:Q4_K_M \
  -ngl 99 -c 32768 -fa on --cache-type-k q8_0 --cache-type-v q8_0
Local API Server (`llama-server`)
llama-server -hf bartowski/Mistral-Small-24B-Instruct-2501-GGUF:Q4_K_M \
  -ngl 99 -c 32768 -fa on --host 127.0.0.1 --port 8080
vLLM AWQ High-Throughput vLLM AWQ / FP8 Server
vllm serve solidrust/Mistral-Small-24B-Instruct-2501-AWQ --quantization awq --max-model-len 32768
Apple MLX Apple Silicon MLX Generation (mlx-lm)
mlx_lm.generate --model mlx-community/Mistral-Small-24B-Instruct-2501-4bit --max-tokens 1024 --prompt "Explain KV cache sizing"

Context Window & Memory Bottleneck Analysis

KV Cache per 4K Tokens (FP16)
+0.63 GB / 4K
Max Fit Context (Q4_K_M)
32K (20.29 GB)
Hardware Memory Bus
936 GB/s

Mistral Small 24B Q4_K_M weights occupy 14.55 GB plus 0.62 GB runtime scratchpad, and FP16 KV cache grows by +0.63 GB per 4K tokens (1.25 GB @ 8K). With 23.5 GB usable budget on RTX 3090 24GB, max resident context reaches 32K (20.29 GB total, Fits).

Key Bottleneck Signals

  • Q4_K_M @ 8K requires 16.42 GB total (14.55 GB weights + 1.25 GB FP16 KV + 0.62 GB runtime buffer).
  • Max fit context on Q4_K_M reaches 32K (20.29 GB total footprint, status: Fits).
  • Higher precision Q8_0 requires 27.51 GB @ 8K (Partial Offload, est. ~4–8 tok/s).
  • Under vLLM AWQ 4-bit, Mistral Small 24B requires 16.91 GB at 8K context (vs 23.5 GB usable — Fits, est. ~36–50 tok/s).

Recommended Optimizations

  • Set FlashAttention (-fa on) and 8-bit KV cache (-ctk q8_0 -ctv q8_0) to nearly halve KV memory growth per 4K tokens.
  • Use the Desktop vs Clean OS reserve selector above to verify safe headroom if your display or IDE shares GPU memory.
  • Remember all tok/s numbers are formula estimate ranges (~±15–25%); check Community Reference Anchors where available.

Frequently Asked Questions

Does Mistral Small 24B fit cleanly in RTX 3090 24GB VRAM? +

Mistral-Small-24B-Instruct-2501 at Q4_K_M (8K context) needs 16.42 GB vs 23.5 GB usable on NVIDIA RTX 3090 (24GB). Status is Fits with 7.08 GB spare headroom (max 32K @ 20.29 GB).

What token generation speed can I expect for Mistral Small 24B on RTX 3090 24GB? +

Our bandwidth physics formula estimates ~38–52 tok/s (Fast) for batch=1 decoding at 8K context. Treat this as a ±15–20% planning range rather than a universal benchmark.

Can I run Mistral Small 24B with AWQ (vLLM) or Apple MLX instead of GGUF? +

Under vLLM AWQ 4-bit, Mistral Small 24B requires 16.91 GB at 8K context (vs 23.5 GB usable — Fits, est. ~36–50 tok/s).

How much context window fits safely without swapping on RTX 3090 24GB? +

With FP16 KV cache growing at +0.63 GB per 4K tokens, Q4_K_M clears up to 32K (20.29 GB total footprint).

Mistral Small 24B · RTX 3090 24GB

Copied to clipboard