Leaderboard / Mistral AI

Devstral Small 2

Mistral AI · Devstral · released 2025-12-09 · data checked 2026-11-01

Devstral Small 2 is a 24B-parameter dense model from Mistral AI (Europe), released 2025-12-09 under the Apache-2.0 license. It doesn't have enough reported benchmarks for an index score yet. It needs about 16.9 GB of memory at 4-bit with an 8K-token context.

Agentic coding model.

Small LM Index
—
Needs 2 core benchmarks (has 1)
Parameters
24B
Dense
Price per 1M tokens
—
No hosted API on OpenRouter; self-host
Context window
256K
tokens

Benchmarks

Each bar shows this model's score. The tick marks the best medium model on that benchmark. Sources: 1 reported by Mistral AI, 1 measured by another lab. How we label sources.

SWE-bench Verified Lab-reported Coding68.0
Class best: Qwen3.6 27B 77.2
Terminal-Bench Other lab Agentic · Terminal-Bench 2.0, as cited by poolside22.5
Class best: Nanbeige4.3 33B 80.9

Specifications

Lab
Mistral AI (FR · Europe)
Architecture
Dense transformer
Total parameters
24B
Active parameters
All (dense)
Size class
Medium
Context window
256K tokens
Input modalities
text, image
Reasoning
Instruct (no thinking)
License
Apache-2.0
Openness
Open weights
Memory to run
~16.9 GB at 4-bit, 8K context (more sizes)
Hugging Face
131.3K downloads (30 days) · 713 likes

Compare with

Sources

Something wrong here? Report it.

Run it locally

Uses unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF (Q4_K_M). Swap the tag for another size: BF16, IQ4_NL, IQ4_XS, Q2_K, Q2_K_L, Q3_K_M, Q3_K_S, Q4_0….

Ollama
ollama run hf.co/unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q4_K_M
llama.cpp
llama-server -hf unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF:Q4_K_M
Then open http://localhost:8080 for a chat window.
MLX (Mac)
pip install -U mlx-lm
mlx_lm.chat --model mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit
Text only; for images use mlx-vlm.
vLLM (GPU server)
vllm serve mistralai/Devstral-Small-2-24B-Instruct-2512
Full-precision weights, for a server GPU.

Open in LM Studio

Memory needed: weights, context cache and runtime buffers.

Quantization4K context32K context256K context
16-bit F1650 GB54 GB91 GB
8-bit Q8_027 GB32 GB68 GB
4-bit Q4_K_M16 GB21 GB57 GB

Check it against your GPU, Mac or phone →