Skip to content
Dashboard

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 UseVision (Image)
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.4s
67tps
$0.50/M$1.50/M
mistral logo
12/02/2025
256K
0.3s
92tps
$0.20/M$0.20/M
+1
mistral logo
12/02/2025
128K
0.3s
161tps
$0.10/M$0.10/M
mistral logo
10/16/2024
128K
0.3s
93tps
$0.15/M$0.15/M
mistral logo
10/16/2024
32K
0.4s
$0.10/M$0.30/M
mistral logo
09/17/2024
$0.10/M
mistral logo
12/11/2023