Description
Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. Devstral 2 supports exploring codebases and orchestrating changes across multiple files while maintaining architecture-level context. It tracks framework dependencies, detects failures, and retries with corrections—solving challenges like bug fixing and modernizing legacy systems. The model can be fine-tuned to prioritize specific languages or optimize for large enterprise codebases. It is available under a modified MIT license.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Mistral: Devstral 2 2512 (mistralai/devstral-2512)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "mistralai/devstral-2512",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Mistral: Devstral 2 2512 model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
API Pricing
- Input: 0.05$ / 1M tokens
- Output: 0.22$ / 1M tokens
Token Limits
- Max Output: 65,536 tokens
- Max Context: 262,144 tokens
Subscription Tiers
- free
- pro
- ultimate