Mistral AI - Dense - verified
Run Devstral Small 2 24B Instruct 2512 locally
Devstral Small 2 24B Instruct 2512 is a 24B dense model from Mistral AI with a 262K-token context window, released under Apache 2.0 (commercial use is allowed); the smallest listed download is 14.3 GB, the Q4_K_M GGUF build from unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF.
Official weights: mistralai/Devstral-Small-2-24B-Instruct-2512 - modalities: text, image
- Total params
- 24B
- Architecture
- Dense
- Context
- 262K
- Smallest download
- 14.3 GB
Fits in
Smallest download at most 85% of memoryDownloads
The official weights and every quantization listed for this model, with file sizes from Hugging Face.
| Download | Format | Size | Repo |
|---|---|---|---|
Official weights | FP8 | 25.8 GB | mistralai/Devstral-Small-2-24B-Instruct-2512 |
Q4_K_MSmallest listed | GGUF | 14.3 GB | unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF |
Q8_0 | GGUF | 25.1 GB | unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF |
4bit | MLX | 15.1 GB | mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit |
GB is decimal: 1 GB = 10^9 bytes. Add memory for the context and the operating system on top of the file size.
Run it
Copied verbatim from the page linked under each command. Server commands from model cards often assume a multi-GPU node; check the flags before you run them.
vLLM
vllm serve mistralai/Devstral-Small-2-24B-Instruct-2512 \
--max-model-len 262144 --tensor-parallel-size 2 \
--tool-call-parser mistral --enable-auto-tool-choiceSource: huggingface.co/mistralai/Devstral-Small-2-24B-Instruct-2512
SGLang
python -m sglang.launch_server --model-path mistralai/Devstral-Small-2-24B-Instruct-2512 --host 0.0.0.0 --port 30000 --tp 2 --tool-call-parser mistralSource: huggingface.co/mistralai/Devstral-Small-2-24B-Instruct-2512
Not sure which runtime to use? Compare local LLM runtimes by platform, API and features.
License
- License
- Apache 2.0
apache-2.0 - Commercial use
- Commercial use: YesCommercial use is allowed.
- Gated download
- No. The files download directly.
Worth knowing
Devstral Small 2 is the Apache 2.0 agentic coding model from the Devstral 2 release and is small enough to run on a single high-memory workstation.
Released (per the announcement).
FAQ
How big is the Devstral Small 2 24B Instruct 2512 download?
The official FP8 weights in mistralai/Devstral-Small-2-24B-Instruct-2512 are 25.8 GB. The smallest listed download is 14.3 GB, the Q4_K_M GGUF build from unsloth/Devstral-Small-2-24B-Instruct-2512-GGUF. Plan for more memory than the file size: the context (KV cache) and the operating system need room too.
Can I use Devstral Small 2 24B Instruct 2512 commercially?
Devstral Small 2 24B Instruct 2512 is released under Apache 2.0, and commercial use is allowed. The license text is at https://www.apache.org/licenses/LICENSE-2.0.
How much memory do I need for Devstral Small 2 24B Instruct 2512?
By this directory's rule of thumb it fits in 24 GB and up: the smallest listed download, 14.3 GB, is at most 85% of 24 GB, which leaves room for the context and the operating system.
How do I run Devstral Small 2 24B Instruct 2512 with Ollama?
Run "ollama run devstral-small-2", as shown at https://ollama.com/library/devstral-small-2. The Ollama library lists the devstral-small-2:24b tag at 15GB.
What is the context length of Devstral Small 2 24B Instruct 2512?
262,144 tokens. A longer context needs more memory for the KV cache, so you can run with a shorter one when memory is tight.
Sources
Last verified from the pages below.
- Hugging Face model card - huggingface.co
- HF API - huggingface.co
- Ollama library - ollama.com
- Devstral 2 announcement - mistral.ai
Newsletter
New open weights, every week
One email per week. New model releases, open-weight drops and what they mean for what you build.
Keep exploring
Best local AI models
Our curated picks by hardware tier, with benchmarks and the reasoning.
Model API pricing and specs
First-party prices per 1M tokens when you would rather call an API.
AI benchmark leaderboards
Sourced scores, for when you need to compare quality.
Setup guides
Point your coding tools at the model you picked.