Mistral Releases Devstral, an Open-Source Agentic Coding AI Model That Outperforms GPT-4.1 Mini

Devstral is fine-tuned from Mistral-Small-3.1 and has a context window of up to 1,28,000 tokens.

Advertisement
Written by Akash Dutta, Edited by Siddharth Suvarna | Updated: 22 May 2025 16:15 IST
Highlights
  • Devstral was built as a collaboration between Mistral and All Hands AI
  • The coding model scores 46.8 percent on the SWE-Bench Verified benchmark
  • Mistral’s open-source model is available under an Apache 2.0 licence

The Devstral coding agent can be run both locally as well as via Mistral’s API

Photo Credit: Unsplash/Solen Feyissa

Mistral released a new coding-focused artificial intelligence (AI) model on Wednesday. Dubbed Devstral, it is an open-source coding agent that can perform software development tasks. The Paris-based AI firm says that, unlike other open software engineering (SWE) agents, this model can solve real-world software engineering problems and write contextualised code in a codebase. The company claimed that the AI model ranked at the top of the SWE-Verified benchmark based on internal tests. Notably, Mistral built the AI model in collaboration with All Hands AI.

Mistral's Devstral Coding Agent Is Claimed to Offer Practical Coding Capabilities

In a newsroom post, the French AI firm announced the coding and detailed its capabilities. In the last month, major AI players have been focusing on bringing AI-powered coding agents to the market. OpenAI introduced Codex, Microsoft unveiled the GitHub Copilot coding agent, and Google made Jules available as a public beta. Now, Mistral has also joined these companies with Devstral.

Mistral said that while existing open-source large language models (LLMs) are capable of performing isolated coding tasks such as writing standalone functions or code completion, they struggle when it comes to writing contextual code in a large codebase. The company added that this leads to issues when AI agents have to identify relationships between disparate components and also identify subtle bugs.

Advertisement

The company believes Devstral solves this problem with its ability to contextualise coding tasks with the database and existing frameworks. Based on internal testing, it scored 46.8 percent on the SWE-Verified benchmark, ranking in the top position. It also outperformed larger open-source models such as Qwen 3 and DeepSeek V3, as well as proprietary models such as OpenAI's GPT-4.1-mini and Anthropic's Claude 3.5 Haiku.

Advertisement

Coming to the architecture, Devstral is fine-tuned from the Mistral-Small-3.1 AI model and has a context window of up to 1,28,000 tokens. It is a text-only model as it comes without the vision encoder that was equipped in the Small-3.1. Notably, Devstral can use tools to explore codebases, edit multiple files, and power other SWE agents.

Mistral says that Devstral is a lightweight model that can run on a single Nvidia RTX 4090 GPU or a Mac with 32GB RAM. Due to this, it can be deployed locally and run entirely on-device. Those who wish to download the model can access it from Hugging Face, Ollama, Kaggle, Unsloth, and LM Studio. It is available with a permissive Apache 2.0 licence that allows for both academic and commercial usages.

Advertisement

Additionally, it can also be used as an application programming interface (API). Mistral has listed the AI agent under the name devstral-small-2505, and it costs $0.1 (roughly Rs. 8.6) per million of input tokens and $0.3 (roughly Rs. 25) per million of output tokens.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. Nothing Phone 4a Price in India, RAM and Storage Options Leaked Online
  2. Qualcomm Unveils FastConnect 8800, X105 5G Modem and Snapdragon Wear Elite
  3. Here's When the Xiaomi 17 Series, Pad 8 Will Launch in India
  4. Lenovo Launches New Tablets, Yoga Series Laptops at MWC 2026
  5. Ai+ Pulse 2 With 6,000mAh Battery Launched at This Price in India
  6. Honor's Robot Phone Concept Will Launch in China This Year
  7. Motorola Razr Fold  Launched at MWC 2026, Edge 70 Fusion Tags Along
  8. MediaTek to Demonstrate 6G, Wi-Fi 8 CPE, AI Glasses at MWC 2026
  9. The Motorola Razr Fold Just Made an Appearance on Geekbench Ahead of MWC
  10. Sony Working on New God of War Franchise, Will Reportedly Launch in 2027
  1. MediaTek Set to Demonstrate 6G, 5G-Advanced, Edge AI Innovations at ‘AI For Life’ Showcase at MWC 2026
  2. MWC 2026: Lenovo Unveils New Yoga, IdeaPad Series Laptop Models Alongside Legion Tab (2026), Idea Tab Pro Gen 2
  3. Bluepoint Games Reportedly Pitched a Bloodborne Remake, but Was Turned Down by FromSoftware
  4. Lenovo ThinkPad T-Series, X13 Detachable, ThinkTab X11 and ThinkBook 14 2-in-1 Launched at MWC 2026
  5. Ai+ Pulse 2 Launched in India With 6,000mAh Battery, 50-Megapixel Camera: Price, Specifications
  6. MWC 2026: Qualcomm Unveils FastConnect 8800, X105 5G Modem-RF With Wi-Fi 8; Snapdragon Wear Elite Announced
  7. Honor Unveils Humanoid Robot, Blade Battery Tech at MWC 2026; Robot Phone Confirmed to Launch in 2026
  8. Lenovo Legion Go Fold Concept Gaming Handheld Showcased at MWC 2026 Alongside New Concept Laptops
  9. Motorola Razr Fold With Snapdragon 8 Gen 5 SoC Launched at MWC 2026, Motorola Edge 70 Fusion Tags Along
  10. Sony Working on New Franchise Within God of War Universe, Will Reportedly Feature Faye as Protagonist
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.