minimax/m3.1-flash/chatMiniMax M3.1 Flash API combines a 1,000,000-token input window with image and video understanding for coding agents; reasoning_effort changes thinking depth without switching models. For M3.1 Flash tool loops, preserve the complete assistant response, including reasoning content and tool calls, then return execution results with the matching tool_call_id; your application remains responsible for validation and execution.
Workbench
These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.
- Input types
- Text
- Output types
- Text
- Input
- $0.15 / 1 million tokens
- Cached input
- $0.015 / 1 million tokens
- Output
- $0.60 / 1 million tokens
- Context
- 1M
- Max output
- 524,288
$0.15/0.60per 1 million tokens · input / output
basic MiniMax M3.1 Flash API combines a 1,000,000-token input window with image and video understanding for coding agents; reasoning_effort changes thinking depth without switching models. M3.1 Flash reads image_url and video_url parts alongside text and replies in text; this endpoint does not accept audio, and video must be inline within the platform’s combined 14 MB media limit.
- 1024
- Input types
- Text
- Output types
- Text
- Input
- $0.15 / 1 million tokens
- Cached input
- $0.015 / 1 million tokens
- Output
- $0.60 / 1 million tokens
- Context
- 1M
- Max output
- 524,288
$0.15/0.60per 1 million tokens · input / output
tool-step For M3.1 Flash tool loops, preserve the complete assistant response, including reasoning content and tool calls, then return execution results with the matching tool_call_id; your application remains responsible for validation and execution.
- 1024
- auto
This example starts at Input $0.15 / Output $0.60 per 1 million tokens. The Playground updates the estimate when you change the settings.
