Minimax M2.7

Model details

Minimax M2.7

Model
minimax/minimax-m2.7
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
Yes
Context window
204,800
Max tokens
131,000
Cost / million input
$0.3
Cost / million output
$1.2
Cost / million cache read
$0.06
Cost / million cache write
$0.375
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "minimax/minimax-m2.7",
          "name": "Minimax M2.7",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 204800,
          "maxTokens": 131000,
          "cost": {
            "input": 0.3,
            "output": 1.2,
            "cacheRead": 0.06,
            "cacheWrite": 0.375
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}