MiniMax-M2.7

Model details

MiniMax-M2.7

Model
MiniMax-M2.7
Provider
minimax
API
anthropic-messages
Base URL
https://api.minimax.io/anthropic
Input
text
Reasoning
Yes
Context window
204,800
Max tokens
131,072
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": {
    "minimax": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "MiniMax-M2.7",
          "name": "MiniMax-M2.7",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 204800,
          "maxTokens": 131072,
          "cost": {
            "input": 0.3,
            "output": 1.2,
            "cacheRead": 0.06,
            "cacheWrite": 0.375
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://api.minimax.io/anthropic"
    }
  }
}