POST /v1/chat/completions endpoint.
Key capabilities
- 1M-token context — Handle long documents, repositories, and multi-turn conversations.
- Coding and agents — Supports tool calls and multi-step reasoning workflows.
- Native multimodality — Accepts text, image, and video content in messages.
- Adaptive thinking — Thinking is enabled by default for M3; use
thinkingto control it. - Reasoning output control — Use
reasoning_splitto separate reasoning into dedicated response fields. - Streaming — Receive incremental output with Server-Sent Events by setting
streamtotrue. - Priority service — Choose
service_tier: "priority"when your account has priority access.
Model ID
Use the official model IDMiniMax-M3 in the request body.
Quick example
cURL
Multimodal input
Put text, image, or video parts in a message’scontent array. Use a publicly accessible URL for image_url or video_url.
Thinking and reasoning
Whenthinking is omitted, MiniMax-M3 uses adaptive thinking by default. Set thinking.type to adaptive to enable adaptive thinking or disabled to skip thinking. The reasoning_split flag changes the response format; it does not turn thinking on or off.
For M2.x models, thinking cannot be disabled. This page documents M3; use the model-specific page when calling another MiniMax model.
Streaming
Setstream to true to receive Server-Sent Events. Streaming responses use the OpenAI-compatible chat.completion.chunk object type.
cURL
Token limits
For MiniMax-M3, the recommendedmax_completion_tokens value is 131072 and the maximum is 524288. The official API also accepts the legacy max_tokens field, but it is deprecated; use max_completion_tokens for new integrations.
API Reference
View the interactive API reference for MiniMax-M3.