LocalTPS

Can NVIDIA RTX 4090 (24GB) Run Devstral Small 2 24B?

Quick Verdict:Partially (with RAM offload) — at 64K context (Q4_K_M), Devstral Small 2 24B requires 24.6 GB vs 24 GB VRAM, offloading 5% of weights to system RAM at ~23.4 tok/s.

Hardware

GB
Memory Type

Model & Context

Dense · 23.6B
Coding Agent Context Presets
65,536 tokens · KV: FP16
Context Window64K / 384K
KV Cache Quant
MTP Speculative Decoding
Painful (Too Slow)

Offloading 5% of weights to RAM (23.4 tok/s). Switch to Q4_0 KV Cache or use Cloud API.

Generation Speed
23.4 tok/s
Offload Penalty Applied
Time to First Token (TTFT)
86.7 sec
32,000 prompt tokens
VRAM Status
RAM Offload
24.6 / 24 GB
95% GPU · 5% RAM
VRAM Allocation BreakdownTotal Required: 24.64 GB / 24 GB VRAM
VRAM Limit (24 GB)
Model Weights (GGUF):13.35 GB
KV Cache:10.00 GB
Runtime Overhead:1.29 GB
Offloaded to System RAM (+0.64 GB)

Technical FAQ

How much VRAM does Devstral Small 2 24B need at 64K context?

With Q4_K_M GGUF weights (13.35 GB), FP16 KV Cache (10.00 GB), and runtime overhead (1.29 GB), total VRAM required at 65,536 tokens is 24.64 GB.

Is NVIDIA RTX 4090 (24GB) fast enough for Cline or OpenCode with Devstral Small 2 24B?

Rated "Painful (Too Slow)" at 64K context: 23.4 tok/s decode and 86.7s TTFT for 32,000 prompt tokens. Offloading 5% of weights to RAM (23.4 tok/s). Switch to Q4_0 KV Cache or use Cloud API.

How much VRAM does Q4_0 KV Cache save on Devstral Small 2 24B?

Switching KV Cache from FP16 to Q4_0 at 64K context cuts KV memory from 10.00 GB down to 2.81 GB, lowering total memory to 17.45 GB (50.9 tok/s).

Is it cheaper to run Devstral Small 2 24B locally or via Cloud API / RunPod?

For full-time coding agent usage (5M input + 1M output tokens/day), Cloud API pricing is not cataloged for this model, while renting NVIDIA RTX 5090 32GB on Vast.ai costs ~$114.40/mo. Upgrading to NVIDIA H100 GPU accelerator (SXM card) (64GB) ($2,240 MSRP) has no positive API payback.