OpenRouter
Devstral 2 2512 pricing: $0.40/M input, $0.90/M output. See benchmarks, capabilities, and find the cheapest provider.
Model details
Devstral the listed price is Mistral AI's open-weights large language model built specifically for agentic software engineering, released in late 2025 and exposed through OpenRouter under the mistralai/devstral-2512 identifier. Architecturally, it is a 123-billion-parameter dense transformer whose published weights on Hugging Face (Devstral-2-123B-Instruct-2512) are distributed under a modified MIT license, making it usable for self-hosting, fine-tuning, and enterprise adaptation. The wide 262,144-token context window gives it room to hold entire repositories in working memory, which is central to how it reasons about code at an architectural level rather than file by file.
In practice, the model is aimed at developers who need an assistant that can navigate a codebase, plan changes that span multiple files, and keep the surrounding architecture in mind while doing so. It tracks framework dependencies, surfaces failures, retries with corrections, and can be fine-tuned toward specific languages or large internal codebases, making it well suited to workflows such as bug fixing, refactoring, and modernizing legacy systems. Combined with structured output and tool-calling support, this positioning makes Devstral the listed price a practical backbone for coding agents that need both long-range context and open-weight flexibility.
OpenRouter
Devstral 2 2512 pricing: $0.40/M input, $0.90/M output. See benchmarks, capabilities, and find the cheapest provider.
This exact model name is also listed by 12 other providers.