MiniMax-M3.1-Flash API
Call MiniMax-M3.1-Flash from MiniMax through Deftrouter's OpenAI-compatible endpoint: one key, the OpenAI SDK you already use, and usage tracked per key. Access is by request.
Frontier multimodal coding model with 1M context window and tunable thinking depth.
Specifications
| Provider | MiniMax |
|---|---|
| Model ID | MiniMax-M3.1-Flash |
| Context window | 1,000,000 tokens |
| Maximum output | 524,288 tokens |
| Input types | text, image, video |
| Reasoning | Yes |
| Tool calling | Yes |
| Structured output | No |
| Open weights | Yes |
| Released | October 19, 2026 |
MiniMax-M3.1-Flash API pricing
These are MiniMax's list prices as of November 30, 2026, in US dollars per 1 million tokens. Deftrouter confirms its own price by email when you request access.
For example, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0021 at list price.
Call MiniMax-M3.1-Flash with the OpenAI SDK
Point the OpenAI SDK at Deftrouter and set the model ID. The rest of your code stays the same.
from openai import OpenAI
client = OpenAI(
base_url="https://api.deftrouter.com/v1",
api_key="YOUR_DEFTROUTER_KEY",
)
# Your Deftrouter key, sent to one endpoint for every model.
reply = client.chat.completions.create(
model="MiniMax-M3.1-Flash",
messages=[{"role": "user", "content": "Hello"}],
) Request MiniMax-M3.1-Flash API access
Access is by request for now. Leave your email and the models you need, and we will email you when your key is ready.
MiniMax-M3.1-Flash API questions
How do I get MiniMax-M3.1-Flash API access?
Request it through Deftrouter: send the form on this page with your email, and we will email you when your key is ready. You then call MiniMax-M3.1-Flash with the OpenAI SDK by changing the base URL and the model ID.
How much does the MiniMax-M3.1-Flash API cost?
MiniMax lists MiniMax-M3.1-Flash at $0.15 per 1 million input tokens and $0.60 per 1 million output tokens as of November 30, 2026. Deftrouter confirms its own price by email when you request access.
What is the context window of MiniMax-M3.1-Flash?
MiniMax-M3.1-Flash accepts up to 1,000,000 tokens of context and can return up to 524,288 tokens in a single response.
Does MiniMax-M3.1-Flash support tool calling and image input?
MiniMax-M3.1-Flash supports tool calling. It accepts images as input.
More MiniMax models
| Model | Context window | Input | Output |
|---|---|---|---|
| MiniMax-M3 | 1,000,000 | $0.30 | $1.20 |
Model data from models.dev, retrieved November 30, 2026. Limits and prices are set by the provider and can change. models.dev · MiniMax