Devstral Small 1.1
Devstral Small 1.1 is an Apache 2.0 open-source agentic coding model with 46.8% on SWE-bench Verified, built jointly by Mistral AI and All Hands AI.
import { streamText } from 'ai'
const result = streamText({ model: 'mistral/devstral-small', prompt: 'Why is the sky blue?'})What To Consider When Choosing a Provider
Zero Data Retention
AI Gateway supports Zero Data Retention for this model via direct gateway requests (BYOK is not included). To configure this, check the documentation.Authentication
AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
Devstral Small 1.1's Apache 2.0 license makes it among the more accessible open-source coding agents available through AI Gateway.
When to Use Devstral Small 1.1
Best For
OpenHands or SWE-agent backend:
Teams using these scaffolds need a compact backend model
GitHub issue resolution prototypes:
Early-stage exploration of automated issue-resolution pipelines
Apache 2.0 licensing requirement:
Projects that mandate an Apache 2.0 open-weight license
Consider Alternatives When
Higher SWE-bench accuracy:
You need a stronger score (consider Devstral 2)
Multimodal input capabilities:
Your agent requires image or other non-text input
Reasoning-first approach:
Your task needs reasoning rather than agentic code execution
Conclusion
Devstral Small 1.1 brought agentic software engineering to a compact open-weight model. Devstral Small 1.1's GitHub-issue training, Apache 2.0 license, and broad deployment ecosystem make it a practical choice for teams exploring AI-assisted code maintenance.
FAQ
Mistral AI and All Hands AI, the team behind the OpenHands agentic framework, built it together.
46.8%, which exceeded all prior open-source models by more than 6 percentage points.
OpenHands and SWE-Agent are explicitly supported, and Devstral Small 1.1's tool-use capabilities make it compatible with other scaffolds as well.
Pricing appears on this page and updates as providers adjust their rates. AI Gateway routes traffic through the configured provider.
Devstral Small 2 is the successor with improved SWE-bench scores (68.0%), a 256K context window, and multimodal (image) input support. Devstral Small 1.1 remains relevant for teams already using it or preferring its established ecosystem integrations.