Devstral Small 2
- Family
- Devstral
- Released
- 2025-12-09
- Context
- 256K
- Parameters
- 24B
- Specialization
- code
- Openness
- Open source
- License
- Apache 2.0OSI-approvedPermitted
- Weights
- Available
- Code
- Unknown
- Training
- Pretrained
Cheapest of 1 route · Vercel AI Gateway
About
Devstral Small 2 is Mistral AI's 24B open-weights coding agent model, released December 9, 2025 under Apache 2.0. It scores 68.0% on SWE-bench Verified and supports agentic software engineering tasks, multi-step reasoning, and tool use. Runs on a single RTX 4090 GPU or a Mac with 32GB RAM. Multimodal, with support for image inputs.
Providers(1)
Compare API pricing across 1 tracked provider route for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Vercel AI Gateway | $0.100 | $0.300 | Serverless |
Deprecated provider routes(1)
| Provider | Status | Catalog ID |
|---|---|---|
| Mistral AI Studio | DeprecatedRetired March 31, 2026 | devstral-small-latest |
Available via routers & gateways(10)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
AIRouter
RouterCommercial LLM router that analyzes incoming requests and routes to the optimal model for cost/quality/latency via a drop-in OpenAI-compatible API, with a privacy-preserving embedding mode that avoids sending prompt content.
Martian
RouterAI-powered LLM router that analyzes each prompt in real-time to select the optimal model, targeting 20–97% cost reduction while maintaining quality; San Francisco startup reportedly nearing $1.3B valuation.
Neutrino AI
RouterCommercial LLM router that dynamically routes each query to the best-suited model with load balancing and fallback handling, charging 3% of underlying AI spend.
Capabilities
Benchmark peer barsfor Coding
No task-mapped benchmark peers are available for this model yet.
Migration checks
No linked migration route is available for this model yet.
Cheapest of 1 route · Vercel AI Gateway