MiniMax M3.1 Flash API
Access MiniMax M3.1 Flash through one API key. MiniMax Fast Multimodal Agent Model.
MiniMax M3.1 Flash is a multimodal model from MiniMax that improves on MiniMax M3, particularly in complex agentic tasks, coding and cybersecurity. It suits cost-sensitive agents and coding assistants that need text, image and video input at a low per-token price.
No credit card required. Takes 30 seconds.
MiniMax M3.1 Flash API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated October 23, 2026.
| Token type | Price |
|---|---|
| Input | $0.22 / 1M tokens |
| Output | $0.89 / 1M tokens |
| Context window | 1.0M tokens |
| What it costs | Per job | Per 1,000 |
|---|---|---|
| Chat reply1K input + 500 output tokens | $0.0007 | $0.665 |
| RAG answer8K input + 800 output tokens | $0.0025 | $2.47 |
| Agent step with tools30K input + 2K output tokens | $0.0084 | $8.38 |
| Long document summary100K input + 2K output tokens | $0.024 | $23.78 |
2,400+
Developers
1.2M+
API calls served
100+
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Send a message and see MiniMax M3.1 Flash respond in real time.
Maximum tokens in the response.
Real-time tokens
MiniMax M3.1 Flash specs
| Provider | MiniMax |
|---|---|
| Model ID | minimax/minimax-m3.1-flash |
| Endpoint | /v1/ai/chat |
| Type | Text Generation |
| Context window | 1.05M tokens |
| Max output | 524K tokens |
| Reasoning | No |
| OpenAI-compatible | Yes — /v1/ai/chat/completions |
How to get a MiniMax M3.1 Flash API key
- 1
Create a free account
Sign up at yepapi.com with Google or email. It takes about 30 seconds and needs no card.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call MiniMax M3.1 Flash
Send a request to /v1/ai/chat with the x-api-key header and model "minimax/minimax-m3.1-flash".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
Better than MiniMax M3 on agentic tasks, coding and cybersecurity.
$0.22 per 1M input and $0.89 per 1M output tokens.
Up to 1,048,576 input tokens and 524,288 output tokens per call.
Accepts text, images and video.
Quick start
Copy this snippet and start making calls with MiniMax M3.1 Flash.
const res = await fetch('https://api.yepapi.com/v1/ai/chat', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Explain API gateways in 2 sentences."
}
],
"maxTokens": 256
}),
});
const { data } = await res.json();
console.log(data.message.content);MiniMax M3.1 Flash vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price | Context |
|---|---|---|---|
| MiniMax M3.1 Flash | MiniMax | $0.22 in / $0.89 out per 1M | 1.0M |
| MiniMax M2.5 | MiniMax | $0.40 in / $1.40 out per 1M | 205K |
| MiniMax M3 | MiniMax | $0.44 in / $1.77 out per 1M | 1.0M |
| MiniMax M2.7 | MiniMax | $0.44 in / $1.77 out per 1M | 205K |
| Nemotron 3 Super | NVIDIA | $0 in / $0 out per 1M | 262K |
| Qwen3.7 Flash | Qwen | $0.04 in / $0.19 out per 1M | 1M |
| Solar Mini 4 | Upstage | $0.07 in / $0.30 out per 1M | 524K |
| Nemotron 3.5 Lightning | NVIDIA | $0.10 in / $0.30 out per 1M | 262K |
Why use MiniMax M3.1 Flash through YepAPI?
MiniMax M3.1 Flash API — pricing, context window & access
MiniMax M3.1 Flash is a multimodal model from MiniMax that improves on MiniMax M3, particularly in complex agentic tasks, coding and cybersecurity. It pairs a 1,048,576-token context window with up to 524,288 output tokens per response, at $0.22 per 1M input and $0.89 per 1M output tokens through YepAPI.
Through YepAPI you call MiniMax M3.1 Flash on an OpenAI-compatible endpoint with a single key — the same key that reaches GPT-6, Claude, Gemini, Grok and the SEO, SERP and scraping APIs. Input: text, images, video.
What is MiniMax M3.1 Flash?
MiniMax M3.1 Flash is a multimodal model from MiniMax that improves on MiniMax M3, particularly in complex agentic tasks, coding and cybersecurity. It is the fast, low-cost member of the M3.1 line, with a 1M-token context window. It accepts text, images, video as input, handles up to 1,048,576 tokens of context and returns up to 524,288 output tokens per call.
Build with MiniMax M3.1 Flash via YepAPI
YepAPI serves MiniMax M3.1 Flash on the OpenAI-compatible /v1/ai/chat endpoint. Point your base URL at YepAPI, add your key, and set the model string to minimax-m3.1-flash (or the full minimax/minimax-m3.1-flash). Function calling, structured outputs and reasoning settings pass straight through, and switching to any other model on the platform is a one-string change per request.
MiniMax M3.1 Flash API pricing — $0.22 / 1M input, $0.89 / 1M output
MiniMax M3.1 Flash costs $0.22 per 1M input tokens and $0.89 per 1M output tokens through YepAPI, pay per token with no minimums. Failed calls are never charged, and every request is itemised in your dashboard API Logs.
MiniMax M3.1 Flash use cases
It suits cost-sensitive agents and coding assistants that need text, image and video input at a low per-token price.
Try MiniMax M3.1 Flash free
Every new YepAPI account includes $5 in free credit with no card required — enough to test MiniMax M3.1 Flash on your own prompts before committing to paid usage. Create an account, copy your key, and call minimax-m3.1-flash right away.
Start generating in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
MiniMax M3.1 Flash is a multimodal model from MiniMax that improves on MiniMax M3, particularly in complex agentic tasks, coding and cybersecurity. It suits cost-sensitive agents and coding assistants that need text, image and video input at a low per-token price.
MiniMax M3.1 Flash costs $0.22 per 1M input tokens and $0.89 per 1M output tokens through YepAPI, billed per request with no monthly fee. For example, a chat reply (1K input + 500 output tokens) costs about $0.0007.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for MiniMax M3.1 Flash and every other model — no separate MiniMax account or waitlist.
New YepAPI accounts in most countries get free signup credit, enough to test MiniMax M3.1 Flash without a card. After that you pay per request at the rates above — there is no subscription.
Use "minimax/minimax-m3.1-flash" as the model on /v1/ai/chat. The short alias "minimax-m3.1-flash" also works.
Yes. Point the OpenAI SDK at https://api.yepapi.com/v1/ai with your YepAPI key and set model to "minimax/minimax-m3.1-flash". Streaming works the same way, so existing OpenAI code only needs the base URL and key changed.
MiniMax M3.1 Flash supports a 1.0M token context window with up to 524K output tokens per request.
Ready to use MiniMax M3.1 Flash?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
MiniMax M2.5
MiniMaxAccess MiniMax M2.5 through one API key. Affordable bilingual model.
MiniMax M2.7
MiniMaxAccess MiniMax M2.7 through one API key. Bilingual flagship model with massive output.
MiniMax M3
MiniMaxAccess MiniMax M3 through one API key. MiniMax's latest flagship with 1M context.
GPT-6 Sol
OpenAIAccess GPT-6 Sol through one API key. OpenAI GPT-6 Cost-Efficient High-End.
Sonar Pro
PerplexityAccess Sonar Pro through one API key. Search-augmented AI with citations built in.
Qwen3.7 Flash
QwenAccess Qwen3.7 Flash through one API key. Qwen Budget Vision-Language Model.
More Text Generation models
- Qwen 3.5 Flash API · Qwen
- GPT-6.1 Sol Pro API · OpenAI
- Kimi K2.7 Code API · Moonshot AI
- Qwen3.8 Max (0902) API · Qwen
- Qwen3.8 27B API · Qwen
- Mistral Small 4 API · Mistral
- DeepSeek V4 Pro 0813 API · DeepSeek
- DeepSeek V4.1 Flash API · DeepSeek
- Qwen 3.5 122B API · Qwen
- GLM 5.3 Flash API · Z.ai
- Qwen 3.5 397B API · Qwen
- MiMo-V2.6-Pro API · Xiaomi