MiniMax M2.7
by minimax · family minimax-m
Facts
| Release date | — |
|---|---|
| Retired date | — |
| Knowledge cutoff | — |
| Context (max) | 262,100 |
| Max output | 65,536 |
| Modalities | text → text |
| Aliases | MiniMax-M2.7minimax-m2.7 |
| Open weights | yes |
| Description | 229B open-weight model; replaced M2.5 on Ollama Cloud 2026-07-31. Release date not published. |
Unknown values are shown as —.
Intelligence Index v4.1.1: 39 · reasoning · Source: Artificial Analysis (accessed 2026-08-20)
Offerings
| Provider | Wire ID | Variant | Endpoint | Protocol | Status | Price (USD / Mtok) | Reasoning |
|---|---|---|---|---|---|---|---|
| IO Intelligence (io.net) | MiniMaxAI/MiniMax-M2.7 | chat | openai-chat | ga | 0.40 / 1.50 | effort · default on · mandatory · returns reasoning_content | |
| Ollama Cloud | minimax-m2.7 | v1-chat-completions | openai-chat | ga | — | effort · default on · returns hidden | |
| OpenCode Go | minimax-m2.7 | go-messages | anthropic-messages | ga | — | always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content | |
| OpenCode Zen | minimax-m2.7 | chat-completions | openai-chat | ga | 0.30 / 1.20 | always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content | |
| OpenRouter | minimax/minimax-m2.7 | chat-completions | openai-chat | ga | 0.30 / 1.20 | effort · default on · mandatory · returns reasoning_content · round-trips reasoning_content |
Reasoning controls
IO Intelligence (io.net)· MiniMaxAI/MiniMax-M2.7· chat effort
reasoning.effort lowmediumhigh● Default not documented — verify.
effort · default on · mandatory · returns reasoning_content
Ollama Cloud· minimax-m2.7· v1-chat-completions effort
reasoning_effort nonelowmediumhigh●max Default level not documented; verify.
effort · default on · returns hidden
OpenCode Go· minimax-m2.7· go-messages always_on
always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content
OpenCode Zen· minimax-m2.7· chat-completions always_on
always_on · default on · mandatory · returns reasoning_content · round-trips reasoning_content
OpenRouter· minimax/minimax-m2.7· chat-completions effort
reasoning.effort lowmedium●highxhighmax
effort · default on · mandatory · returns reasoning_content · round-trips reasoning_content
Example requests
IO Intelligence (io.net) · openai-chat · MiniMaxAI/MiniMax-M2.7
curl 'https://api.intelligence.io.solutions/api/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "MiniMaxAI/MiniMax-M2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "high"
}
}'Python (requests)
import requests
resp = requests.post(
"https://api.intelligence.io.solutions/api/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "MiniMaxAI/MiniMax-M2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "high"
}
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://api.intelligence.io.solutions/api/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "MiniMaxAI/MiniMax-M2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "high"
}
}),
})
console.log(await resp.json())Ollama Cloud · openai-chat · minimax-m2.7
curl 'https://ollama.com/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning_effort": "high"
}'Python (requests)
import requests
resp = requests.post(
"https://ollama.com/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning_effort": "high"
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://ollama.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning_effort": "high"
}),
})
console.log(await resp.json())OpenCode Go · anthropic-messages · minimax-m2.7
curl 'https://opencode.ai/zen/go/v1/messages' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "minimax-m2.7",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
}'Python (requests)
import requests
resp = requests.post(
"https://opencode.ai/zen/go/v1/messages",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "minimax-m2.7",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/go/v1/messages", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "minimax-m2.7",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
}),
})
console.log(await resp.json())- ⚠ Responses include
reasoning_contentartifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).
OpenCode Zen · openai-chat · minimax-m2.7
curl 'https://opencode.ai/zen/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
}'Python (requests)
import requests
resp = requests.post(
"https://opencode.ai/zen/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
]
}),
})
console.log(await resp.json())- ⚠ Responses include
reasoning_contentartifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).
OpenRouter · openai-chat · minimax/minimax-m2.7
curl 'https://openrouter.ai/api/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "minimax/minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "medium"
}
}'Python (requests)
import requests
resp = requests.post(
"https://openrouter.ai/api/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "minimax/minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "medium"
}
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://openrouter.ai/api/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "minimax/minimax-m2.7",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning": {
"effort": "medium"
}
}),
})
console.log(await resp.json())- ⚠ Responses include
reasoning_contentartifacts — pass them back unmodified on subsequent turns (dropping them triggers 400s or quality loss).