Intelligence
Index v5.0
Custom pricing for production workloads
MiniMax M3.1 Flash is a fast reasoning model designed for complex workflows and visual understanding.
MiniMax M3.1 Flash is built for coding, multi-step agent workflows, and visual understanding. It features a 1M-token context window and supports reasoning efforts ranging from low to max.
minimax/minimax-m3.1-flashhttps://api.aimlapi.com/v1MiniMax M3.1 Flash is a reasoning model developed by Minimax AI. It is designed to handle diverse inputs including text, images, and video to provide comprehensive analysis.
The model is engineered for high-performance tasks such as coding and agent workflows. It provides flexible reasoning capabilities and supports a large context window for complex data processing.
The model always reasons, allowing users to adjust the reasoning effort from low to max.
It accepts text, image, and video inputs to generate text-based responses.
The model supports a 1M-token context window for processing extensive information.
It supports structured output and tools to enhance integration into various workflows.
Accelerating complex coding projects through advanced reasoning.
Executing multi-step agent workflows efficiently.
Analyzing visual content from images and videos.
Processing large documents within the 1M-token context window.
See how MiniMax M3.1 Flash compares in intelligence, generation speed, cost per task and latency. Data retrieved Nov 3, 2026.
Compare 10 models available on AI/ML API across 4 independent benchmarks.
Expert-written questions across academic subjects.
Agentic tasks completed in a command-line environment.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
| Usage | Price | Unit |
|---|---|---|
| Input | $0.15 | 1M tokens |
| Output | $0.6 | 1M tokens |
| Cached input | $0.015 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.15 | $0.6 | |
| $0.3 | $1.2 | |
| $0.3 | $1.2 | |
| $0.6 | $2.4 | |
| $0.6 | $2.4 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());MiniMax M3.1 Flash costs $0.15 input and $0.6 output per 1M tokens on AI/ML API, billed as you go with no subscription.
The model supports text, image, and video inputs.
Yes, the reasoning effort can be adjusted from low to max, with max being the default.
The model features a 1M-token context window.
The model supports a maximum output of 524,288 tokens.
Use minimax/minimax-m3.1-flash as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.