MiniMax's flagship M2-series language model, served through an OpenAI-compatible API. Strong multilingual capability (notably Chinese and English) at a very low price point ($0.30/$1.20 per million tokens) with prompt cache reads at $0.06/M.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/llm/minimax/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "MiniMax-M2.7",
"messages": [
{
"role": "system",
"content": "You are a helpful bilingual (Korean/Chinese) assistant."
},
{
"role": "user",
"content": "๋ค์ ๋ฌธ์ฅ์ ์ค๊ตญ์ด๋ก ์์ฐ์ค๋ฝ๊ฒ ๋ฒ์ญํด ์ฃผ์ธ์: ์ค๋ ํ์๋ ์คํ 3์๋ก ๋ณ๊ฒฝ๋์์ต๋๋ค."
}
],
"max_tokens": 500
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | Yes | - | Array of message objects (OpenAI format) |
model | string | Yes | MiniMax-M2.7 | Model identifier. Canonical ID is mixed-case MiniMax-M2.7; the lowercase alias minimax-m2.7 is also accepted. |
max_tokens | integer | No | - | Maximum tokens in response |
temperature | float | No | 1.0 | Sampling temperature (0-2) |
stream | boolean | No | false | Enable Server-Sent Events streaming |
Low-cost multilingual assistant responses
curl -X POST "https://api.core.today/llm/minimax/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "MiniMax-M2.7",
"messages": [
{
"role": "system",
"content": "You are a helpful bilingual (Korean/Chinese) assistant."
},
{
"role": "user",
"content": "๋ค์ ๋ฌธ์ฅ์ ์ค๊ตญ์ด๋ก ์์ฐ์ค๋ฝ๊ฒ ๋ฒ์ญํด ์ฃผ์ธ์: ์ค๋ ํ์๋ ์คํ 3์๋ก ๋ณ๊ฒฝ๋์์ต๋๋ค."
}
],
"max_tokens": 500
}'POST /llm/minimax/v1/chat/completions