Devstral 2

Model details

Devstral 2

Model
mistral/devstral-2
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text
Reasoning
No
Context window
256,000
Max tokens
256,000
Cost / million input
$0.4
Cost / million output
$2
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "mistral/devstral-2",
          "name": "Devstral 2",
          "reasoning": false,
          "input": [
            "text"
          ],
          "contextWindow": 256000,
          "maxTokens": 256000,
          "cost": {
            "input": 0.39999999999999997,
            "output": 2,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}