Skip to content

Devstral Small 2

Devstral Small 2 is a 24B agentic coding model with 68.0% on SWE-bench Verified, a context window of 256K tokens, and multimodal input support. Devstral Small 2 matches models up to five times its size on coding benchmarks.

Tool Use
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'mistral/devstral-small-2',
prompt: 'Why is the sky blue?'
})

More models by Mistral AI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
Providers
ZDR
No Training
Release Date
256K
0.6s
49tps
$0.50/M$1.50/M
mistral logo
12/02/2025
256K
0.2s
59tps
$0.20/M$0.20/M
mistral logo
12/01/2025
128K
0.2s
141tps
$0.10/M$0.10/M
mistral logo
10/01/2024
32K
0.3s
$0.10/M$0.30/M
mistral logo
09/01/2024
$0.10/M
mistral logo
12/11/2023
256K
0.3s
77tps
$1.50/M$7.50/M
mistral logo