Devstral Small 24B

by Mistral

Devstral Small 2 is the 24B-parameter companion to Devstral 2, released in December 2025 as a smaller, locally deployable variant that scores 68.0% on SWE-bench Verified. Its compact size makes it well suited to single-GPU or even CPU-only setups, enabling private, on-device code automation with tight feedback loops. The model supports image inputs, so it can power multimodal agents, and it is available open-source under the Apache 2.0 license. With a 128k token context window, it keeps architectural awareness across sizeable codebases while staying small enough to run locally. Devstral Small 2 works with the Mistral Vibe CLI for natural-language code exploration and modification, letting teams run capable code agents on consumer hardware without depending on external services.

Key info

Input
Output
Features
Context window
128K
Max output
8K
Input price
$0.11 /1M
Output price
$0.43 /1M
  • EU residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Devstral Small 24B runs on 1 route through the Opper gateway. Compare residency, ZDR, and training posture at a glance β€” full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutput
EvrocEUZero data retentionNo$0.11$0.43

Training posture across routes: No training on prompts by default.

Data handling per route

Each route hosting Devstral Small 24B has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

Evroc β€” SwedenπŸ‡ΈπŸ‡ͺ

Zero data retention is on by default on Pay-as-you-go β€” no action required. No training on customer data. EU; DPA available.

Zero data retention
On by default on Pay-as-you-go.
Training
No training on customer data.
Logging
Abuse monitoring
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
Not applicable β€” data stays in EU

Get started

Call Devstral Small 24B through the Opper gateway with one API key. Let your coding agent set it up, or call it directly β€” Opper is drop-in compatible with the OpenAI, Anthropic, and Google AI SDKs.

Set it up with your agent

Copy this and paste it into your coding agent β€” Claude Code, Cursor, Codex, and more β€” and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "evroc/devstral-small-24b-instruct",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Compare Devstral Small 24B with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from Mistral

Start building with 300+ models

One API key. Every major provider. Up and running in minutes.

Get startedView Documentation
Devstral Small 24B by Mistral β€” pricing, benchmarks, ZDR, EU hosting | Opper AI