MiniMax-M3.1-Flash
A multimodal coding model with a 1M context window and tunable thinking depth, served through RealRelay's OpenAI-compatible endpoint.
Channel
Each channel is compared at its lowest input-price tier; output breaks ties. A dash means /api/pricing does not provide that rate. Selecting a channel updates the endpoints and call example below.
minimax/MiniMax-M3.1-FlashEndpoints
/v1/chat/completionsChat CompletionsCall it
Using minimax/MiniMax-M3.1-Flash
1from openai import OpenAI23client = OpenAI(4 base_url="https://www.realrelay.ai/v1",5 api_key="sk-***",6)78response = client.chat.completions.create(9 model="minimax/MiniMax-M3.1-Flash",10 messages=[{"role": "user", "content": "Hello"}],11)1213print(response.choices[0].message.content)1import OpenAI from "openai";23const client = new OpenAI({4 baseURL: "https://www.realrelay.ai/v1",5 apiKey: process.env.REALRELAY_API_KEY,6});78const response = await client.chat.completions.create({9 model: "minimax/MiniMax-M3.1-Flash",10 messages: [{ role: "user", content: "Hello" }],11});1213console.log(response.choices[0].message.content);1curl https://www.realrelay.ai/v1/chat/completions \2 -H "Authorization: Bearer $REALRELAY_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "minimax/MiniMax-M3.1-Flash",6 "messages": [{ "role": "user", "content": "Hello" }]7 }'Prices and availability as published on Oct 20, 2026.
Capabilities
MiniMax-M3.1-Flash takes image, text and video input and produces text output, so text-only and multimodal prompts use the same model ID.
The model supports reasoning with tunable thinking depth, letting you set how much thinking is applied to a request.
Tool calling is supported, so the model can request tools defined in a request, and prompts of up to 1,000,000 tokens of context can be sent in a single call.
Overview
MiniMax-M3.1-Flash is a multimodal coding model from MiniMax. It accepts image, text and video input and returns text, with a 1,000,000 token context window and tunable thinking depth.
On RealRelay, MiniMax-M3.1-Flash is callable with the model ID minimax/MiniMax-M3.1-Flash through an OpenAI-compatible endpoint, so requests use the standard chat format with the model field set to that ID.
Pricing
Input is priced at $0.15 per 1M tokens and output at $0.60 per 1M tokens.
Cached input reads are priced at $0.015 per 1M tokens, so a reused prompt prefix is billed at the cache read rate.
Use cases
Coding requests that pair text with images or video fit the input modalities the model accepts, such as sending a screenshot together with a written task.
Because the context window is 1,000,000 tokens, long files and lengthy conversations can be passed in one request, and thinking depth can be tuned per request for tasks that need more or less reasoning.
Frequently asked questions
- What is MiniMax-M3.1-Flash?
- MiniMax-M3.1-Flash is a multimodal coding model from MiniMax with a 1,000,000 token context window and tunable thinking depth. It accepts image, text and video input and returns text.
- How is MiniMax-M3.1-Flash priced?
- Input is $0.15 per 1M tokens and output is $0.60 per 1M tokens. Cached input reads are $0.015 per 1M tokens.
- What is the context window of MiniMax-M3.1-Flash?
- The context window is 1,000,000 tokens, and that full window can be sent in one request through RealRelay's OpenAI-compatible endpoint.
- Which inputs and outputs does MiniMax-M3.1-Flash support?
- The model accepts image, text and video input and produces text output.
- Does MiniMax-M3.1-Flash support tool calling and reasoning?
- Yes. The model supports tool calling and reasoning, and the thinking depth of a request can be tuned.
- How do I call MiniMax-M3.1-Flash through the OpenAI-compatible API?
- Send a standard chat request to RealRelay's OpenAI-compatible endpoint with the model field set to minimax/MiniMax-M3.1-Flash.
