minimax logo 24% off

MiniMax M3.1 Flash API

MiniMax·Vision

MiniMax M3.1 Flash is a frontier model for coding, agentic workflows, and complex reasoning, with a 1M-token context window, text, image, and video input, and tunable thinking depth from low to max (max by default).

1M Context 131.1K out
Input
Text Image Video
Output
Text

Pricing

Cheapest live price, per 1 million tokens.

Input / 1M tokens

$0.14224% off

$0.188 OpenRouter

Output / 1M tokens

$0.56924% off

$0.750 OpenRouter

Cache read / 1M

$0.014

Repeated prompt prefixes

Cache read is the discounted rate for repeated prompt prefixes (system prompts, agent context).

Capabilities · 6

Vision Reasoning Effort: low / medium / high Tool calling Web search Streaming

Specifications

Context window
1M
Max output
131K
Type
Vision
Creator
MiniMax
Live sellers
2
Requests / 24h
—

Estimated monthly cost

30 days at the cheapest live price.

AI Chatbot
1,000 req/day · 2K in · 0.5K out
$17.06/mo
$22.50 OpenRouter
Coding Copilot
500 req/day · 8K in · 2K out
$34.13/mo
$45.00 OpenRouter
AI Agent
100 req/day · 50K in · 5K out
$29.86/mo
$39.38 OpenRouter

Quick start

OpenAI-compatible — change the base URL and key. Get a key from the dashboard.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.qubax.ai/v1",
    api_key="YOUR_QUBAX_API_KEY",
)

response = client.chat.completions.create(
    model="minimax-m3-1-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

About MiniMax M3.1 Flash

MiniMax M3.1 Flash is a multimodal language model developed by MiniMax. It's particularly well-suited for analyzing images, screenshots, and visual content, tackling complex, multi-step reasoning problems, orchestrating tool-using agents that call APIs and external services, grounding responses in real-time web search results and handling large contexts of up to 1M tokens. Its 1M-token context window means you can pass in entire documents, codebases, or conversation histories without losing context. It can write up to 131K tokens in a single response.

As of Oct 21, 2026, MiniMax M3.1 Flash costs $0.142 per 1M input tokens and $0.569 per 1M output tokens on Qubax, versus $0.188 / $0.750 on OpenRouter (24% less on input). A typical 1,000 chat requests (2K tokens in, 500 out) come to about $0.57. 2 independent compute providers currently serve it, so requests fail over automatically. Pay with USDC, USDT, BTC, ETH or 350+ other coins — no credit card required.

Visual Analysis
Analyze images, screenshots, diagrams, and visual content
Complex Reasoning
Multi-step problem solving, math, and logical analysis
Function Calling
Build agents and tool-using applications
Long Documents
Process entire codebases, books, or lengthy conversations
Chat & Conversation
Build AI chatbots and conversational assistants

Similar-priced alternatives

Frequently asked questions

How much does the MiniMax M3.1 Flash API cost?

On Qubax, MiniMax M3.1 Flash costs $0.142 per 1M input tokens and $0.569 per 1M output tokens. This is 24% cheaper than OpenRouter's price of $0.188 per 1M input tokens.

Is the MiniMax M3.1 Flash API compatible with OpenAI?

Yes. Qubax provides an OpenAI-compatible API. You can use MiniMax M3.1 Flash as a drop-in replacement by changing your base URL to https://api.qubax.ai/v1 and using your Qubax API key. It works with Cline, Cursor, OpenCode, Hermes Agent, and any tool that supports OpenAI APIs.

Why is MiniMax M3.1 Flash cheaper on Qubax than OpenRouter?

Qubax sources AI inference from an open compute marketplace on the Base blockchain where GPU providers compete on price. We pass the savings to you — 24% cheaper than OpenRouter's price for MiniMax M3.1 Flash.

How do I pay for MiniMax M3.1 Flash API usage?

Qubax uses prepaid crypto credits. Top up with USDC, USDT, BTC, ETH, SOL or 350+ other coins and your balance is deducted as you use the API. No credit card or KYC required.

What is the context window of MiniMax M3.1 Flash?

MiniMax M3.1 Flash supports a context window of 1M tokens, allowing you to process large documents, codebases, or long conversations in a single request.

What can I build with MiniMax M3.1 Flash?

You can use MiniMax M3.1 Flash to analyze images and visual content, tackle complex multi-step reasoning tasks, build autonomous agents that call external tools and APIs, answer questions with real-time web search and process long documents and entire codebases. Because it's served through Qubax's OpenAI-compatible API, integration into existing apps, agents, or workflows takes just a few lines of code.

How fast and reliable is MiniMax M3.1 Flash on Qubax?

Responses stream token by token. 2 providers serve it, so if one is slow or down the request moves to the next.

MiniMax M3.1 Flash vs DeepSeek V4 Flash (Web): which should I choose?

MiniMax M3.1 Flash by MiniMax and DeepSeek V4 Flash (Web) by DeepSeek are both strong models in a similar price tier. MiniMax M3.1 Flash excels at complex reasoning and supports vision/image inputs. DeepSeek V4 Flash (Web) comes from a different lab and may have different strengths depending on your workload. On Qubax, MiniMax M3.1 Flash starts at $0.142/1M input tokens versus DeepSeek V4 Flash (Web)'s $0.191/1M — making MiniMax M3.1 Flash the more cost-effective option for high-volume workloads. Both are available on Qubax with crypto payments and OpenAI-compatible APIs, so you can try each and switch freely.

Can I use MiniMax M3.1 Flash for commercial projects?

Yes. MiniMax M3.1 Flash on Qubax can be used for commercial purposes. You own the outputs you generate. Qubax provides the API infrastructure — you bring your use case.

Why use MiniMax M3.1 Flash on Qubax?

24% cheaper

Providers compete on price — you get the cheapest healthy seller.

Pay with crypto

350+ coins (BTC, ETH, SOL, USDT, USDC). No card, no KYC.

OpenAI & Anthropic compatible

Drop-in base URL. Works with Cline, Cursor, Claude Code, OpenAI and Anthropic SDKs.

Get started free →

More from MiniMax

Browse 380+ other AI models

GPT, Claude, Gemini, Llama, DeepSeek & more.

See all models →

MiniMax M3.1 Flash

$0.142 in · $0.569 out

Get API key