MiniMax-M4
Overview
MiniMax-M4 is MiniMax's open-weight multimodal flagship for long-horizon software engineering and reasoning with visual inputs. The MiniMax API release notes list its release on December 3, 2026.
Key Features
- Long-horizon coding: Works through multi-step code changes and uses test results to refine its implementation.
- Visual understanding: Can interpret screenshots, diagrams, and video alongside text instructions.
- Interleaved thinking: Can use the result of one tool call to decide what to do next.
- Sparse attention: MiniMax Sparse Attention 2 (MSA2) focuses attention on selected parts of the context to make long inputs more efficient to process.
Best Use Cases
- Repository migrations: Trace dependencies, update related modules, and revise changes based on build and test failures.
- UI debugging: Investigate visual or interaction regressions using screenshots and screen recordings.
- Technical analysis: Cross-reference long specifications with figures and diagrams to compare designs or find inconsistencies.
Capabilities and Limitations
These are MiniMax's published model specifications. Supported request fields depend on the endpoint.
| Capability | Description |
|---|---|
| Input | Text, images, and video through compatible interfaces. |
| Output | Text, including code, with streaming support. |
| Context Window | Up to 1 million tokens. |
| Max Output | Up to 262,144 tokens. MiniMax recommends setting the output limit to 131,072 tokens. |
| Thinking | Adaptive thinking stays enabled. Thinking effort supports low, medium, high, xhigh, and max (default). |
| Tool Use | Supports function calling and interleaved thinking. |
| Prompt Caching | Automatic prefix caching can reuse recurring input. |
Known Limitations
- Higher effort can increase response time and output token usage.
- Running code and interacting with applications require connected tools that can execute those actions.
Standard Pricing
Token prices are shown in USD per 1 million tokens. Input, cache read, and output follow MiniMax's official list prices.
| Model | Input | Cache Write | Cache Read | Output | Web Search |
|---|---|---|---|---|---|
| MiniMax-M4 | $0.80 | $0.80 | $0.05 | $3.10 | - |
Cache writes: B.AI bills cache writes at the input rate (1x).
Credits settlement: B.AI converts charges at 1 USD = 1,000,000 Credits and deducts Credits from the account balance.
Model prices in the documentation are based on the model providers' official list prices and serve as B.AI standard reference prices. B.AI may offer discounts or limited-time promotions on this basis; offer details are shown in Promotions and Pricing Updates and the website's discount groups. Applicable prices, offer terms, and final charges are subject to the platform display and actual billing records.