MiniMax's M2.7 served through OpenRouter - an agentic large language model built for autonomous, real-world productivity with 204K-token context and multi-agent tool use. This id replaces the retired direct MiniMax-M2.7 route. Billed at OpenRouter's actual usage cost.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 557 | $0.37 |
| Output Tokens | 2,230 | $1.49 |
| Cached Tokens | 111.48 | $0.07 |
* 1,500 credits โ $1 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/llm/openrouter/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "minimax/minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Summarize the attached report in 5 bullets."
}
],
"max_tokens": 1024
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model ID in vendor/model form, e.g. "minimax/minimax-m2.7". |
messages | array | Yes | - | Chat messages in OpenAI format (system/user/assistant roles). |
temperature | number | No | 0.7 | Sampling temperature (0-2). |
max_tokens | integer | No | 2048 | Maximum completion tokens. |
stream | boolean | No | false | Stream the response as server-sent events. |
OpenAI-compatible chat completion request via OpenRouter
curl -X POST "https://api.core.today/llm/openrouter/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "minimax/minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Summarize the attached report in 5 bullets."
}
],
"max_tokens": 1024
}'POST /llm/openrouter/v1/chat/completions