Models and pricing
| Model ID | Input / 1M tokens | Output / 1M tokens | Cache read / 1M tokens | Cache write / 1M tokens |
|---|---|---|---|---|
| MiniMax-M2 | $0.3 | $1.2 | $0.03 | $0.375 |
| MiniMax-M2.1 | $0.3 | $1.2 | $0.03 | $0.375 |
| MiniMax-M2.1-highspeed | $0.3 | $2.4 | $0.03 | $0.375 |
| MiniMax-M2.5 | $0.3 | $1.2 | $0.03 | $0.375 |
| MiniMax-M2.5-highspeed | $0.6 | $2.4 | $0.06 | $0.375 |
| MiniMax-M2.7 | $0.3 | $1.2 | $0.06 | $0.375 |
| MiniMax-M2.7-highspeed | $0.6 | $2.4 | $0.06 | $0.375 |
| MiniMax-M3 | $0.3 | $1.2 | $0.06 | — |
| MiniMax-M3.1-Flash | $0.15 | $0.6 | $0.015 | — |
curl --request GET \
--url 'https://api.narev.ai/v1/prices?provider_id=minimax&model_id=MiniMax-M2'
{
"model_id": "MiniMax-M2",
"provider_id": "minimax",
"pricing": {
"prompt": 3e-7,
"completion": 0.0000012,
"discount": 0,
"request": 0,
"web_search": 0,
"input_cache_read": 3e-8,
"input_cache_write": 3.75e-7,
"image": 0,
"image_output": 0,
"audio": 0,
"audio_output": 0,
"input_audio_cache": 0,
"internal_reasoning": 0
}
}
Provider details
| Property | Value |
|---|---|
| API base URL | https://api.minimax.io/anthropic/v1 |
| SDK package | @ai-sdk/anthropic |
| Environment variables | [“MINIMAX_API_KEY”] |