Skip to content

MiniMax M2.7

MiniMax-M2.7 is a next-generation large language model designed for autonomous, real-world productivity and continuous improvement.

Pricing

Input
$0.315per 1M tokens
Output
$1.26per 1M tokens
Cache read
$0.063per 1M tokens
Max output
131,072tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.

opencode.json

{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "minimax/minimax-m2.7": { "limit": { "context": 204800, "output": 131072 } } }
    }
  }
}
OpenCode, set up for MiniMax M2.7

Find us on