minimax-m2.7
Capability: 200K context · vision · tool use · streaming · structured output · CJK-native
Pricing: per-token, mid tier (live rate)
MiniMax M2.7 is the current production flagship — strong creative-writing
quality with general-purpose reasoning lifted to compete with
Kimi K2.6 and GLM-5.1. The 200K context window plus native vision make
it the right MiniMax choice for any new work.
Request
Body parameters
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
model | string | yes | — | minimax-m2.7 |
messages | array | yes | — | CJK accepted natively. Vision via image_url blocks. |
max_tokens | integer | no | model max | Max: 16384. |
tools | array | no | — | Function calling supported (parallel). |
response_format | object | no | — | JSON / structured output. |
stream | boolean | no | false | SSE streaming. |
Response
Code examples
Streaming + caching
"stream": true for SSE. Automatic prompt caching.
Errors
| Code | Trigger | Billed? |
|---|---|---|
| 400 / 401 / 402 / 422 / 429 | Standard | No |
| 5xx | Upstream | No (auto-retry) |
When to use
- Default MiniMax for new work — Chinese-market creative writing, marketing copy, character-voice dialogue.
- Long-document summarisation in Chinese (200K window).
- For Chinese general-purpose alternatives, see Kimi K2.6, GLM-5.1.
Limits
| Limit | Value |
|---|---|
| Context window | 200K tokens |
| Max output | 16384 tokens |
| Supports tool use | Yes (parallel) |
| Supports vision | Yes |
| Supports streaming | Yes |
| Supports prompt caching | Automatic |