Mistral: Devstral 2 2512

Model details

Mistral: Devstral 2 2512

Model
mistralai/devstral-2512
Provider
openrouter
API
openai-completions
Base URL
https://openrouter.ai/api/v1
Input
text
Reasoning
No
Context window
262,144
Max tokens
4,096
Cost / million input
$0.4
Cost / million output
$2
Cost / million cache read
$0.04
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "openrouter": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "mistralai/devstral-2512",
          "name": "Mistral: Devstral 2 2512",
          "reasoning": false,
          "input": [
            "text"
          ],
          "contextWindow": 262144,
          "maxTokens": 4096,
          "cost": {
            "input": 0.39999999999999997,
            "output": 2,
            "cacheRead": 0.04,
            "cacheWrite": 0
          }
        }
      ],
      "api": "openai-completions",
      "baseUrl": "https://openrouter.ai/api/v1"
    }
  }
}