Mistral AI logo

Mistral: Devstral 2 2512

mistralai/devstral-2512

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...

Modalities

TextFiles / PDFText

In / out price

$0.4 / $2 per 1M

Context

262K

Released

Dec 9, 2025

Why use Devstral 2 2512

  • Reads PDFs and other files
  • Tool and function calling (agent-ready)
  • Structured (JSON) outputs

Pricing

Input$0.4 / 1M tokens
Output$2 / 1M tokens
Cached input (read)$0.040 / 1M tokens

List prices via OpenRouter, checked daily. Real cost depends on the provider and on reasoning tokens.

How it ranks

Intelligence index8.6
Coding index31.3
Agentic index2.3

Source: Artificial Analysis (artificialanalysis.ai) via OpenRouter (openrouter.ai/rankings).

Cost calculator

Pick a task, set how often you run it, and compare what it costs on each model.

ModelPer runPer monthPer 1,000 runs
Mistral: Devstral 2 2512$0.0043$4.32$4.32

Estimates from list prices via OpenRouter; real bills vary by provider and reasoning tokens.

Will it fit? Context window simulator

Each square is about one page (500 words). Colored squares are your content; grey squares are free space in the model's context window.

Your content

  • Novel (90,000 words)

Total: about 120,000 tokens (≈ 90,226 words). Token counts are estimates.

Models

Mistral: Devstral 2 2512

262,144 tokens ≈ 395 pages

Fits: uses 46% of the window (room for 2× this much).

Write with the best model for the job

WordGPT picks and switches models for you: drafting, editing and files in one place. Free plan, no credit card.

Try it free

More from Mistral AI