Devstral Mistral AI Released 2025-05 codetoolsagentic

Devstral

Devstral: the best open source model for coding agents. From Mistral AI. 24B size designed for software engineering tasks and multi-file agent workflows.

Best for best open-source model for coding agents
Sizes 24B
Context 128K
License Apache 2.0
Min VRAM (default size, Q4) 15 GB
Rec VRAM 24 GB

What is Devstral?

Devstral is Mistral AI's open-weights language model. Released in 2025-05, it ships in 1 size (24B) and is licensed Apache 2.0. The most popular use case is best open-source model for coding agents.

VRAM and hardware

The 24B size fits in 15 GB of VRAM.

Size Min VRAM (Q4_K_M) Recommended VRAM Tokens/sec on 3090
24B 15 GB 23 GB ~19 tok/s

How to run Devstral locally

Option 1: Ollama (simplest)

ollama pull devstral
ollama run devstral

Option 2: Mullama (production)

mullama pull devstral
mullama run devstral

Option 3: llama.cpp (CLI)

# Download a GGUF from Hugging Face (search "devstral gguf")
./llama-cli -m devstral.Q4_K_M.gguf -p "Hello, AI!"

Option 4: Python with Mullama or llama-cpp-python

from mullama import Model, Context
model = Model.load("devstral.Q4_K_M.gguf", n_gpu_layers=99)
ctx = Context(model, n_ctx=4096)
print(ctx.generate("Hello, AI!", 256))

What you can build with Devstral

  • coding agents
  • software engineering
  • tool use

Hardware it fits on

  • Apple Silicon (8GB): 24B in MLX
  • Apple Silicon (16GB): 24B in MLX
  • Apple Silicon (32GB): 24B in MLX or GGUF
  • Apple Silicon (64GB+): 24B in MLX
  • RTX 3090 (24GB): 24B at Q4_K_M
  • RTX 4090 (24GB): same as 3090, ~30% faster
  • RTX 5090 (32GB): 24B at Q8_0
  • 2× RTX 6000 Ada (96GB total): 24B at Q4_K_M

Related models in the Devstral family

This is the only Devstral-family model in the catalog right now.

Other models you might consider

  • Llama 3.1 (Meta) — 8B, general-purpose chat, agentic workflows, code
  • Llama 3.2 (Meta) — 1B, low-end hardware, mobile, edge deployment
  • Llama 3.2 Vision (Meta) — 11B, vision + chat on desktop GPUs
  • Llama 3.3 (Meta) — 70B, best-in-class 70B for desktops
  • Llama 4 (Meta) — Scout 17B (109B MoE), vision + long context (10M tokens)
  • Qwen 2.5 (Alibaba) — 0.5B, strongest 7B-32B on consumer hardware