by Mistral AI
The small, single-GPU member of Mistral's Devstral 2 coding family, built for local software engineering agents.
Mistral released Devstral Small 2 on 9 December 2025 and says it runs on one RTX 4090 or a 32 GB Mac, with 55.7% on SWE-bench Multilingual. It suits developers who want a private local coding agent rather than a hosted API, and it succeeded Devstral Small 1.1.
Checked 24 Nov against Mistral AI's own pages.
| Tier | Rate |
|---|---|
| Open weights (self-hosted) | Free download under Apache 2.0; hardware is your own |
Mistral's launch post announced API pricing of $0.10 per 1M input tokens and $0.30 per 1M output tokens for Devstral Small 2 after a free period. The model no longer appears on Mistral's current price list and its docs mark it deprecated, so no hosted price is stored. The weights cost nothing to download; a local run is billed only by your own hardware.
Devstral Small 2 is Mistral AI's 24-billion-parameter open-weights model for agentic software engineering, reported by Mistral at 68.0% on SWE-bench Verified. It reads text and images, has a 256K context window and ships under Apache 2.0. Mistral's API listing is deprecated, so most use now means running the weights locally.
Reads
Writes
Agentic coding focus
Built to explore codebases, edit several files and drive software engineering agents, per Mistral's model card.
Image input
Accepts image input in addition to text, which the card lists as new against Devstral Small 1.1.
Long context window
Mistral's card lists the window; Ollama's local build lists a larger 384K figure.
Single-GPU size
Fits a single consumer GPU or a high-memory Mac, per Mistral's model card.
Apache 2.0 weights
Open weights on Hugging Face under a permissive licence.
Scaffold support
Works with Mistral's own CLI and the community agent frameworks the card names.
SWE-bench Verified score, vendor-reported
Source: Mistral model card on Hugging Face, read 24 November 2026| Measure | This model | Rank | Median |
|---|---|---|---|
| SWE-bench Verified% solved | 68% | #28 / 40 | peer median 76.3% |
Ranks are against GA models on Hokai that publish the same figure; ties share a rank.
A benchmark is an exam, not the job. Scores transfer unevenly between tasks, so weigh the one closest to your workload and read every figure with its source.
| Model | Lab | Context | In / out per 1M | Reads and writes |
|---|---|---|---|---|
| Devstral Small 2 This page | Mistral AI | 256K | -- | text, image → text |
| Alibaba Cloud | 262K | $0.50 / $3 | text, image, video → text | |
| 262K | -- | text, image → text | ||
| Microsoft | 256K | $0.20 / $1.20 | text, image → text, code |
Training data
Mistral's card publishes no training-data description; the model is a fine-tune of a Mistral Small 3.1 base for software engineering tasks.
Sample at a low temperature
temperature: 0.2
Mistral's launch post recommends a temperature of 0.2 for best results.
GGUF builds need a llama.cpp change
The card says community GGUF files from Unsloth or Bartowski need changes from llama.cpp pull request 17945.
Workaround: Update llama.cpp to a build that includes that pull request, or use Ollama's own build.
Context size differs by runtime
Mistral's card and Artificial Analysis list 256K tokens, while Ollama's library lists 384K for its local build.
Workaround: Check the context setting of the runtime you use and test a long prompt before relying on either figure.
Local serving can underperform
The card warns of subpar performance with some local serving frameworks.
Workaround: Serve it with vLLM, which the card recommends, and report framework issues to that framework's maintainers.
Devstral-Small-2-24B-Instruct-2512 · 09 Dec 2025
Initial release: 24B, 256K context, image input, Apache 2.0. Mistral's docs later marked it deprecated (date listed: 2026-02-27).
Mistral's launch post quoted $0.10 in and $0.30 out per million tokens for the hosted API after a free period. Mistral's price list no longer includes the model and its docs mark it deprecated, so there is no current hosted price to rely on. Self-hosting costs only your own hardware and power.
The weights are on Hugging Face under the Apache 2.0 licence, which allows commercial and non-commercial use and modification, as Mistral's card states. You can run it free on your own machine through vLLM, llama.cpp, LM Studio or Ollama. Mistral's hosted listing is deprecated, so free access in practice means self-hosting.
Yes. Mistral names an RTX 4090 and a 32 GB Mac as workable hosts. Ollama's 24b build is 15 GB and lists a 384K context window, while Mistral's card lists 256K.
Mistral's card reports 68.0% on SWE-bench Verified for Devstral Small 2 and 72.2% for Devstral 2, 55.7% against 61.3% on SWE-bench Multilingual, and 22.5% against 32.6% on Terminal Bench 2. Devstral 2 has 123 billion parameters and Mistral says it needs at least four H100-class GPUs, while the 24B Small 2 is built for a single GPU. Pick Small 2 for local use and Devstral 2 only with data-center hardware.
Yes: Mistral's docs mark it deprecated as of 27 February 2026 and name Mistral Medium 3.5 as the replacement for new API integrations. The open weights remain on Hugging Face under Apache 2.0, so local use does not depend on the API. Check Mistral's lifecycle page before building on the hosted model id.
Devstral Small 2 is the 24-billion-parameter coding model that Mistral AI released on 9 December 2025, alongside the 123-billion-parameter Devstral 2 and the Mistral Vibe command-line agent. Its Hugging Face model tree lists Mistral-Small-3.1-24B-Base-2503 as the base model, and the card says it uses the same architecture as the Ministral 3 family, which Mistral shipped the same month (for example Ministral 3 14B). It is published as an Instruct model in FP8 under the Apache 2.0 licence, and it succeeds Devstral Small 1.1.
Mistral reports 68.0% on SWE-bench Verified, 55.7% on SWE-bench Multilingual and 22.5% on Terminal Bench 2 for this model, read on its Hugging Face card on 24 November 2026. The card's own table puts the larger Devstral 2 at 72.2%, 61.3% and 32.6% on the same three tests. All of these are vendor-reported. Artificial Analysis has a page for the model but publishes no Intelligence Index score for it.
The context window is 256K tokens on Mistral's card and on Artificial Analysis. Ollama's library lists a 384K window for its 15 GB local build, so the figure you get depends on the runtime. Inputs are text and images, output is text, and Mistral's docs list function calling, structured outputs and chat completions among its features.
The weights are open on Hugging Face. The card recommends vLLM and also lists SGLang, Transformers, llama.cpp, LM Studio and Ollama as routes, and Mistral says the model runs on a single RTX 4090 or a Mac with 32 GB of RAM. Mistral recommends its own Vibe CLI as the scaffold and names Cline, Kilo Code, Claude Code, OpenHands and SWE Agent as compatible ones. The files themselves are served from Hugging Face.
The hosted side is being phased out. Mistral's model page marks Devstral Small 2 deprecated (the date it lists is 27 February 2026) and points to Mistral Medium 3.5 as the replacement, and the pricing page read on 24 November 2026 no longer lists it. The open weights are a separate matter: the Apache 2.0 download stays on Hugging Face and local runtimes still serve it.
Do not pick it where the job needs the strongest agent rather than the smallest one. On Mistral's own table it trails the closed Claude Sonnet 4.5, with 68.0% against 77.2% on SWE-bench Verified and 22.5% against 42.8% on Terminal Bench 2, and Mistral's launch post says Sonnet 4.5 stayed significantly preferred in its human evaluation of the larger Devstral 2. If you want a general-purpose open model rather than a coding specialist, Qwen3.8-27B (27.78B dense, Apache 2.0, 262,144-token context, released in August 2026) and Gemma 4 31B (30.7B dense, Apache 2.0) are the open-weights options Hokai lists in the same size class.
The card publishes no description of the training data and no training cutoff date, so Hokai stores none. Mistral's launch post describes the local setup as a fully private, on-device runtime, which is the main governance point for teams that cannot send code to a hosted API.
Pick it if you want a private local coding agent on one consumer GPU and can run the weights yourself; skip it if you need a hosted, supported API or the strongest agent score available.
Specifications on this page (context window, token prices, benchmark scores, licence) are read from Mistral AI's own model card and documentation. The verdict is Hokai's reading of them, not the provider's claim.