whatmodel.sh / Devstral Small 2 24B

Devstral Small 2 24B is an open-weights language model from Mistral, released December 2025. Its published size is 24B parameters and a 262k-token context window. Licence: apache-2.0.

60.7±1.9#205 of 743 LLMsfrom 6 benchmark results across 4 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Devstral Small 2 24B, out of 897 with a score, then more from Mistral.

#modelscorewhereRAMreleased
239o1-mini OpenAI61±1comparison only2024-09
240GLM-4.5V Z.ai61±2api $0.90/M +local~69GB2025-08
241Devstral Small 2 24B Mistral61±2local~17GB2025-12
242MiniMax-M1 (40k) MiniMax61±1comparison only2025-06
243Llama 3.1 Nemotron Ultra 253B v1 NVIDIA61±1local~101GB2025-04
more from Mistral
74Mistral Large 4 (October 29 weights) Mistral71±1api price unknown +local~1115GB2026-10
76Mistral Large 4 (public preview) Mistral71±1comparison only2026-10
187Mistral Medium 3.5 (128B) Mistral64±1api $3.00/M +local~57GB2026-04

see all LLMs · find the ones that fit your machine

$ what it's good at

agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #143 of 319 · 81% of its score · 3 tests

Beats o3, Gemini 2.5 Pro, Gemini 3.1 Flash-Lite here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Large, GPT-4o (2024-05-13) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
SWE-bench Verified +159.1% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 73/140hard · avg 24%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 51%sharp · at its level · small run · several runs
Terminal-Bench 2.0 lab22.5% ✎▁▁▄▄▇█▇█▅▁▃▃ beats 3/38very hard · avg 11%▇▇▇▇▇▇ 16%at its level · small run
SWE-bench Multilingual lab55.7% ✎▁··▂▂▃▆█▃▂▁▁ beats 17/69hard · avg 30%▇▇▇▇▇▇ 15%at its level · small run
coding▁▁▁▃▆▇█▆▆▃▃▁ #148 of 474 · 65% of its score · 2 tests

Beats Qwen3-Coder-Next (80B-A3B), Qwen3.5 Plus, Gemini 2.5 Pro here, though they rank higher overall. Trails Llama 3.1 Nemotron Ultra 253B v1 here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
SWE-bench Verified +159.1% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 73/140hard · avg 24%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 51%sharp · at its level · small run · several runs
SWE-bench Multilingual lab55.7% ✎▁··▂▂▃▆█▃▂▁▁ beats 17/69hard · avg 30%▇▇▇▇▇▇ 15%at its level · small run
other tests2 not in a task · 17% of its score
testresultvs the others in its rundifficultycountswhy
Next Steps data preparation (balanced variable performance)74.2% ✎▄·▄···█·▄▄·▄ beats 3/6medium · avg 52%▇▇▇▇ 11%at its level
SCHEDBench subset, solver-mediated (feasibility)7.0% ✎▄·▄·····▄··█ beats 0/4very hard · avg 5.6%▇▇ 5.8%noisy

$ where to run it

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

llama.cpp · recommended

version

  1. Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.
    macOS / Linux
    curl -LsSf https://llama.app/install.sh | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run Devstral Small 2 24B · needs 17.1 GB memory, 15.2 GB download · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/Devstral-Small-2-24B-Instruct-2512-GGUF:Q4_K_M
  3. Or start a local server and open the address it prints (http://localhost:9931)
    llama serve -hf lmstudio-community/Devstral-Small-2-24B-Instruct-2512-GGUF:Q4_K_M

LM Studio

version

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run Devstral Small 2 24B · needs 17.1 GB memory, 15.2 GB download · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/Devstral-Small-2-24B-Instruct-2512-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

version

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run Devstral Small 2 24B · needs 17.1 GB memory, 15.2 GB download · from ollama.com
    chat in the terminal
    ollama run devstral-small-2:24b

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run Devstral Small 2 24B · needs 17 GB memory, 15.1 GB download, Mac only · from huggingface.co/mlx-community
    chat in the terminal
    mlx_lm.chat --model mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit

Model repository and documentation: huggingface.co/mistralai ↗

$ how the score was worked out · mistralai/Devstral-Small-2-24… 53%, SERA: Soft-Verified Efficient… 28%, Agentic coding without the cl… 11% and 1 more

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json