ApX logoApX logo
CalculatorCoursesPricing

Devstral Small 2 24B Instruct

Open Source
Open Weights

Parameters

24B

Context Length

393K

Modality

Text

Architecture

Dense

KV Cache Rate

160 KB/tok

License

Apache 2.0

Release Date

28 Nov 2025

Knowledge Cutoff

-

API Pricing (per 1M)

Self-hosted only

Hardware & System Requirements

Precision

Context

Workload Memory: 14.93 GB

vLLM

INT4 · 8K context · 1 user

Base Weights: 11.18 GB

KV Cache: 1.25 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

14.9 / 21.6 GB

1x RTX 4090 24GB

llama.cpp

14.9 / 22.3 GB

Apple M4 24GB

llama.cpp

14.9 / 18.0 GB

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 5.0.0.dev0

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 5.1k · Context: 393K · Vocab: 131.1kx 40 layersRMSNormPre-AttentionGrouped-Query Attention32Q / 8KV headsHead dim: 128+RMSNormPre-FFNFeed-Forward NetworkSwiGLUIntermediate: 32.8k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#145

BenchmarkScoreRank

Software Engineering

SWE-bench Verified

0.56

#28

Rankings

Overall Rank

#145

Coding Rank

#104

About Devstral Small 2 24B Instruct

Devstral Small 2 24B Instruct is an agentic vision-language model tailored for complex software engineering and codebase exploration tasks. Featuring a 256k context window and enhanced tool-calling capabilities, it delivers strong performance on SWE-bench while remaining deployable on consumer-grade hardware.

Specifications

Attention

Attention Structure

Grouped-Query Attention

Attention Heads

32

Key-Value Heads

8

Attention Head Dimension

128

Position Embedding

ROPE

RoPE Theta

100,000,000

Normalization

RMS Normalization

Activation Function

SwiGLU

Dimensions

Base Precision

FP16

Hidden Dimension Size

5,120

Number of Layers

40

FFN Intermediate Size (Dense)

32,768

Tokenizer

Vocabulary Size

131,072

About Devstral 2

Devstral 2 is a family of developer-focused models from Mistral AI, optimized for multi-file software engineering tasks and coding agents.


Other Devstral 2 Models