Checked against the OpenRouter public models feed. Prices are copied, not estimated.

The Best Model ForWhich AI model to use, from ten labs.

Codestral 2508 vs Devstral 2 2512

Short answer

Codestral 2508 ($0.30 in / $0.90 out); Devstral 2 2512 ($0.40 in / $2.00 out). Lowest listed input price: Codestral 2508. Longest listed context: Devstral 2 2512 at 262,144 tokens. A lower price is not a quality ranking.

Side-by-side facts. The third-party index is copied when the feed has one. Unknown means it did not.
FactCodestral 2508Devstral 2 2512
LabMistralMistral
KindChatChat
Listed1 Aug 20259 Dec 2025
Context256,000262,144
Input / million$0.30$0.40
Output / million$0.90$2.00
Batch inputNot listedNot listed
Batch outputNot listedNot listed
Inputsfile, textfile, text
Outputstexttext
ToolsYesYes
Open weightsNo public weights id listedYes
Knowledge cutoff2025-03-31Unknown
Third-party indexUnknownUnknown
GuideNew, not yet reviewedReviewed

Input and output prices are USD per million tokens, from pricing.prompt and pricing.completion. The index is not our benchmark.

Codestral 2508

New, not yet reviewed. No guide note yet.

Codestral 2508 is listed at $0.30 input and $0.90 output per million tokens, with a 256,000-token context window.

Devstral 2 2512

OpenRouter describes Devstral 2 as Mistral's open-weight coding model for agentic work, including exploring a repository. Text and file input, text output, a 256,000-token window. It is a coding tool, not a general writer.

Devstral 2 2512 is listed at $0.40 input and $2.00 output per million tokens, with a 262,144-token context window.

Choose models

Popular comparisons