MiniMax M3.1 Flash
Neural Network
MiniMax M3.1 Flash is a multimodal model for complex agentic tasks, programming, and cybersecurity.
Specifications
- Input
- text, images, documents
- Output
- text
- Context size
- 1 048 576 tokens
- Max answer length
- 524 288 tokens
- Reasoning effort
- low, medium, high, extra high, max
- Capabilities
- reasoning, function calling
Prompt cost
(per 1M tokens)
Answer cost
(per 1M tokens)
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: '<your bothub access token>',
baseURL: 'https://openai.bothub.chat/v1'
});
// Sync - Text generation
async function main() {
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'minimax-m3.1-flash',
});
}
// Async - Text generation
async function main() {
const stream = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'minimax-m3.1-flash',
stream: true
});
for await (const chunk of stream) {
const part: string | null = chunk.choices[0].delta?.content ?? null;
}
}
main();
How it works MiniMax M3.1 Flash?
MiniMax M3.1 Flash is a multimodal model from MiniMax that outperforms its predecessor, M3, on benchmarks for agentic tasks, programming, and cybersecurity. You can connect to it via BotHub without a VPN or foreign card: you pay in rubles based on actual consumption, and tokens do not expire. Developers have access to an OpenAI-compatible API—when switching to another of the 250+ BotHub models, there is no need to rewrite the integration. For corporate teams, BotHub provides contracts, invoices, electronic document management (EDM), and a control panel with user limits. Agentic scenarios are one of its key strengths: the model can plan multi-step tasks, call tools, and adjust execution at each step. In development, it is used for code review, refactoring, and debugging complex code. Cybersecurity specialists use the model for vulnerability analysis and automating routine checks. Analysts can leverage its multimodal capabilities to work with text and visual data in a single request.Frequently asked questions about MiniMax M3.1 Flash
You can use generated results for commercial purposes. You own all rights to the content you create. The only restriction: make sure your prompt does not include copyrighted third-party material. You are responsible for respecting the rights to any input data.
minimax-m3.1-flash is a language model from MiniMax for working with text, documents, and images. It supports reasoning and tool calling, making it useful for data analysis, coding, task automation, and any scenarios requiring step-by-step analysis.
The output limit is 524,288 tokens—a very large volume, sufficient for extensive documents, long code files, or detailed reports. The context window exceeds a million tokens, allowing you to keep an entire large project in memory.
Yes, reasoning is a confirmed capability of the model. Before providing a final answer, minimax-m3.1-flash builds a chain of thought, which significantly improves accuracy in mathematics, logic, and tasks requiring multi-step analysis.
Yes, both mechanisms are confirmed. You can describe tools in the request, and the model will return a structured function call or a JSON object in the required format—this is convenient for integrating minimax-m3.1-flash into pipelines and automated services.
Images and documents are confirmed input formats. You can send the model an image or file and ask questions about their content. If you are interested in working with audio or video, we recommend checking the current list of supported formats.
MiniMax develops multilingual models with broad language support. minimax-m3.1-flash understands requests in Russian and processes Russian-language documents and images. We do not have precise quality metrics for Russian in our data—please rely on your own testing.