- Model
MiniMax-M2.7- Provider
minimax-cn- API
anthropic-messages- Base URL
https://api.minimaxi.com/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-cn": {
"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.minimaxi.com/anthropic"
}
}
}