Mistral AI: Devstral Small 2
Model Overview
| Property | Value |
|---|---|
| Model ID | mistral/devstral-small-latest |
| Provider | Mistral AI |
| Category | Code |
| Released | TBD |
| Status | Active |
| Flagship | No |
Description
Devstral Small 2 is a code generation and understanding model for programming tasks. Developed by Mistral AI, this model is optimized for its specific use case category.
Specifications
| Property | Value |
|---|---|
| Context Window | 128000 tokens |
| Max Output Tokens | N/A |
| Knowledge Cutoff | N/A |
| Modalities | Text |
| Speed Tier | N/A |
| Quality Tier | N/A |
Pricing
| Type | Price |
|---|---|
| Input | Free per 1M tokens |
| Output | Free per 1M tokens |
Capabilities
| Capability | Supported |
|---|---|
| Vision/Image Input | No |
| Tool/Function Calling | No |
| JSON Mode | No |
| Streaming | Yes |
| System Prompt | Yes |
Use Cases
- Code generation and completion
- Technical documentation
- Algorithm implementation
- Bug detection and fixing
- Code review and optimization
Strengths
- Very large context window for long-form content
Limitations
- No vision or image input capability
- Limited tool/function calling support
- No guaranteed JSON output mode
- Specialized model not suitable for general chat
Integration with LangMart
Gateway Support:
- Type 1 (Full Platform): Yes
- Type 2 (Cloud Gateway): Yes
- Type 3 (Self-hosted): Yes
API Endpoint:
curl -X POST https://api.langmart.ai/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "mistral/devstral-small-latest",
"messages": [{"role": "user", "content": "Hello"}],
"max_tokens": 1024
}'
OpenAI Compatibility: Full compatibility with OpenAI API format.
Related Models
Models in this category and from this provider are available in the LangMart marketplace.
Additional Resources
Data Source: LangMart Provider Models Database Last Updated: 2026-01-02