Introduction
MiniMax M3 chat endpoint: 200,000-token input window, up to 131,072 output tokens, image_url vision input, five reasoning levels, 128 tools, and JSON output.
| Field | Value |
|---|---|
| Input | Text |
| Output | Text |
| Input budget | 200,000 tokens |
| max_tokens ceiling | 131,072 |
| Inputs | text / images |
Key features & highlights
Built for multi-turn tool loops with visible thinking
MiniMax M3 emits structured reasoning before answering so your agent loop can inspect plans and carry assistant reasoning_content forward across tool calls.
Consistent defaults tuned by MiniMax
Sampling is fixed by the model at temperature 1 and top_p 0.95, leaving reasoning_effort (low through max) and prompt structure as your primary controls.
Combine screenshots with 128 tools and schemas
Send image_url parts alongside logs or specifications, define up to 128 OpenAI-format tools, and request structured JSON via response_format.
Request parameters
| Parameter | Required | Description |
|---|---|---|
messages | Yes | Ordered conversation history for MiniMax M3 (up to 256 messages) supporting text and |
max_tokens | No | Maximum combined thinking and visible reply tokens for MiniMax M3 (1 to 131,072, default 4,096). |
reasoning_effort | No | Reasoning depth for MiniMax M3: low, medium, high, xhigh, max (default high), where higher effort uses more output tokens and latency. |
stop | No | One stop sequence or up to four strings (32 characters each) that halt MiniMax M3 output. at least 1 characters · at least 1 items · at most 4 items |
tools | No | Up to 128 OpenAI-format function definitions for MiniMax M3, with argument checks and execution handled by your app. at most 128 items |
parallel_tool_calls | No | Allows MiniMax M3 to propose multiple independent tool calls in a single turn (on by default). Default: |
tool_choice | No | Controls whether MiniMax M3 picks a tool automatically (auto), skips tools (none), requires a call (required), or calls a named function. |
response_format | No | Request plain text or structured JSON output from MiniMax M3, validating returned JSON in your application. |
Pricing
Input $0.195 / Output $0.78 per 1 million tokens; Prompts over 512K tokens: Input $0.39 / Output $1.56
Use cases
Autonomous CI and issue triage agents
Pass test logs, screenshots, and tool schemas so MiniMax M3 proposes diagnostic actions while your code controls execution.
Multi-file feature implementation
Keep module interfaces, test expectations, and change constraints inside the 200,000-token input window for coherent patches.
High-volume document extraction
Run structured JSON extraction over forms, tables, and visual captures at low or medium effort with prompt caching.
Prompt guide & pro tips
Preserve assistant
reasoning_contentin tool loopsWhen feeding tool results back to MiniMax M3, keep the complete assistant message including
reasoning_contentandtool_callsin the conversation history.Budget thinking inside the output limit
Reasoning tokens count toward
max_tokens(default 4,096, cap 131,072). Increasemax_tokenswhen requesting long code patches or using xhigh and max effort.Omit temperature and
top_pMiniMax fixes sampling for M3, so temperature and
top_pare not exposed on this endpoint; steer output style through system instructions and stop sequences.
Overview
MiniMax M3 chat endpoint: 200,000-token input window, up to 131,072 output tokens, image_url vision input, five reasoning levels, 128 tools, and JSON output.
Limits and billing
MiniMax M3 accepts up to 200,000 input tokens and 131,072 output tokens (default 4,096), billed per measured token at the live rates on this page.
minimax/m3/chat
SpicyAPI applies no extra filter to MiniMax M3; live checks rendered romantic, sensual, artistic nudity, consensual BDSM, and graphic horror prompts, while explicit erotica prompts were either declined or softened into non-graphic romance.
API quick start
curl --fail-with-body -sN https://api.spicyapi.ai/v1/chat/completions \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "minimax/m3/chat",
"messages": [
{
"role": "user",
"content": "Summarise the following release notes into three bullet points."
}
],
"stream": true
}' \
| jq --unbuffered -Rrj 'select(startswith("data: ")) | .[6:] | select(. != "[DONE]") | fromjson | if .error then "\n[error] \(.error.message)\n" else (.choices[0].delta.content? // empty) end'
See the API reference for authentication, the complete schema, polling, and error handling.




















