MiniMax-M2.7

Model details

MiniMax-M2.7

Model
MiniMaxAI/MiniMax-M2.7
Provider
huggingface
API
openai-completions
Base URL
https://router.huggingface.co/v1
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
Model config JSON
{
  "providers": {
    "huggingface": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "MiniMaxAI/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
          },
          "compat": {
            "supportsDeveloperRole": false
          }
        }
      ],
      "api": "openai-completions",
      "baseUrl": "https://router.huggingface.co/v1"
    }
  }
}