Skip to content

Devstral 2 2512

Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding.

Per 1M tokens
$0.42 · $2.10
Context
262Ktokens
Supports
  • Calls tools
opencode.json
{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "mistralai/devstral-2512": { "limit": { "context": 262144, "output": 209715 } } }
    }
  }
}
Needs an API keyGet one

Pricing and limits

  • Cache read$0.042per 1M tokens
  • Max output209,715tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.