---
last_updated: 2026-11-27
source_url: https://opper.ai/mistral/devstral-2512
title: "Devstral 2 by Mistral"
description: "Mistral Devstral 2: code agents model for software engineering, 256k context, 123B params, 72.2% on SWE-bench Verified."
---

# Devstral 2

By [Mistral](https://opper.ai/mistral).

Devstral 2 is Mistral's December 2025 code agents model, built for end-to-end software engineering automation. The 123B-parameter dense transformer scores 72.2% on SWE-bench Verified and is positioned by Mistral as up to 7x more cost-efficient than Claude Sonnet on real-world tasks.

The model excels at exploring codebases and orchestrating changes across multiple files, tracking framework dependencies, detecting failures, and retrying with corrections. It handles refactoring, bug fixing, and legacy modernization through natural language while maintaining architectural context.

Devstral 2 is released under a modified MIT license and ships with a 256k token context window. It is complemented by Mistral Vibe, an open-source CLI for terminal-based code automation, letting agents and developers explore, modify, and execute changes across entire codebases.

## Key info

- Input: Text
- Output: Text
- Features: Tools, Structured output
- Context window: 256K
- Max output: 8K

## Available routes

No routes currently available — Devstral 2 isn't routed through the Opper gateway right now. It may return. Contact [hello@opper.ai](mailto:hello@opper.ai) about this model.

## Available models from Mistral

- [Mistral Large 4](https://opper.ai/mistral/mistral-large-4)
- [Mistral Medium 3.5](https://opper.ai/mistral/mistral-medium-3-5)
- [Mistral Small 4](https://opper.ai/mistral/mistral-small-2603)
- [Mistral Large 3](https://opper.ai/mistral/mistral-large-3)
- [Voxtral TTS 3](https://opper.ai/mistral/voxtral-mini-tts-3-0)
- [Timestral 5M](https://opper.ai/mistral/timestral-5m)
