Skip to main content

Maximum
minimax/m3/chat

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.

Input $0.195Output $0.78per 1 million tokensCached input $0.039Prompts over 512K tokensInput $0.39Cached input $0.078Output $1.56

Workbench

MiniMax M3

What can MiniMax M3 help with?

Missing the model you need?

AGENTIC REASONING & VISION CHAT API

MiniMax M3 API at a glance

MiniMax's open-weight flagship M3 model with 200K context, vision, five thinking levels, and agentic tool calling.

Input context
200K
MiniMax M3 accepts up to 200,000 tokens per call.
Reply ceiling
128K
MiniMax M3 max_tokens reaches 131,072 (default 4,096).
Effort levels
5
MiniMax M3 effort options: low, medium, high, xhigh, max (default high).
Tools per call
128
MiniMax M3 accepts 128 tool schemas with parallel calls.
Input types
2
MiniMax M3 reads text and image_url in one turn.
Streaming
SSE
MiniMax M3 streams incremental replies over SSE.

Results

What MiniMax M3 is good at

  • Agentic reasoning

    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.

  • Fixed sampling

    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.

  • Vision & JSON

    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.

Before you run it

What to know before you run MiniMax M3

Chat
MiniMax M3 allows 200,000 input tokens across 256 messages and max_tokens from 1 to 131,072 (default 4,096).
Chat
On MiniMax M3, reasoning tokens count inside max_tokens, so tight limits at higher effort can end before visible text.
Chat
MiniMax M3 fixes sampling at temperature 1 and top_p 0.95, so those fields are omitted.
Chat
MiniMax M3 prompts above 512,000 input tokens switch to the long-context tier shown on this page.
Chat
Live testing placed MiniMax M3 in the borderline tier: romantic, adult thriller, and intense horror writing succeed, whereas explicit erotica is refused or softened to non-graphic prose.

Use cases

What to build with the MiniMax M3 API

  • 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.

Prompts

MiniMax M3 prompt examples you can copy

  • Chat

    Design a CI triage agent loop

    Design a multi-step agent loop for triaging CI test failures, including tool definitions and retry guardrails. Work from the workflow constraints I provide. Preserve clear stopping criteria and distinguish flaky failures from regressions.

    Why it works. This task tests how well MiniMax M3 plans structured tool calls, stop conditions, and regression checks in an agent workflow.

    Try this prompt

Pricing

MiniMax M3 API pricing

From $0.195 per million input tokens and $0.78 per million output tokens.

Get started

How to use the MiniMax M3 API in three steps

  1. Step 1

    Preserve assistant reasoning_content in tool loops

    When feeding tool results back to MiniMax M3, keep the complete assistant message including reasoning_content and tool_calls in the conversation history.

  2. Step 2

    Budget thinking inside the output limit

    Reasoning tokens count toward max_tokens (default 4,096, cap 131,072). Increase max_tokens when requesting long code patches or using xhigh and max effort.

  3. Step 3

    Omit temperature and top_p

    MiniMax fixes sampling for M3, so temperature and top_p are not exposed on this endpoint; steer output style through system instructions and stop sequences.

Parameter reference and code samples are in the API and Readme tabs at the top of this page.

FAQ

MiniMax M3 API FAQ

About MiniMax M3

MiniMax M3 pairs cost-efficient agentic reasoning with vision input, 200,000-token context, up to 131,072 output tokens, and 128 tools in one OpenAI-compatible chat call. Use low or medium for routine steps and high to max for multi-step planning.

All MiniMax models21

Video models11

Related models and next tasks