Mistral Small

Model details

Mistral Small

Model
mistral/mistral-small
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
No
Context window
32,000
Max tokens
4,000
Cost / million input
$0.1
Cost / million output
$0.3
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "mistral/mistral-small",
          "name": "Mistral Small",
          "reasoning": false,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 32000,
          "maxTokens": 4000,
          "cost": {
            "input": 0.09999999999999999,
            "output": 0.3,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}