- Model
minimax/minimax-m2- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text
- Reasoning
- Yes
- Context window
- 196,608
- Max tokens
- 196,608
- Cost / million input
- $0.255
- Cost / million output
- $1
- Cost / million cache read
- $0.03
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "minimax/minimax-m2",
"name": "MiniMax: MiniMax M2",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 196608,
"maxTokens": 196608,
"cost": {
"input": 0.255,
"output": 1,
"cacheRead": 0.03,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}