MiniMax · model ID minimax-m3.1-flash

MiniMax M3.1 Flash API

Use MiniMax M3.1 Flash through one OpenAI-compatible API for $0.0538₹5.00 per million input tokens and $0.194₹18.00 per million output tokens, with a 1M tokens context. Prepaid, no subscription: the smallest top-up (₹50, about $0.54) buys about 2.7 million output tokens.

Price

Prices per 1 million tokens, in US dollars (approximate) and Indian rupees
ModelModel IDInputCached inputOutputContext
MiniMax M3.1 Flashminimax-m3.1-flash$0.0538₹5.00$0.0054₹0.50$0.194₹18.001M tokens

Per 1 million tokens. Prices are set in ₹; $ amounts are approximate (₹93 = $1) and your bank converts when you pay by card. No GST is added. Last updated 4 December 2026; prices can change and the dashboard always shows the current price.

Details

Made by
MiniMax
Good for
A fast general model for chat, writing and tool use.
Model ID
minimax-m3.1-flash
Context
1M tokens
API format
OpenAI chat completions, streaming and non-streaming
Thinking levels
reasoning_effort: low, high, max
Base URL
https://api.srotgateway.com/v1

Code examples

Python (streaming)
from openai import OpenAI

client = OpenAI(base_url="https://api.srotgateway.com/v1", api_key="sg-...")
stream = client.chat.completions.create(
    model="minimax-m3.1-flash",
    messages=[{"role": "user", "content": "Explain quantum computing in two lines."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")
JavaScript
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.srotgateway.com/v1", apiKey: process.env.SROT_API_KEY });
const reply = await client.chat.completions.create({
  model: "minimax-m3.1-flash",
  messages: [{ role: "user", content: "Explain quantum computing in two lines." }],
});
console.log(reply.choices[0].message.content);
curl
curl https://api.srotgateway.com/v1/chat/completions \
  -H "Authorization: Bearer $SROT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "minimax-m3.1-flash", "messages": [{"role": "user", "content": "Hello"}]}'

More in the docs: Cursor, Cline, n8n.

Questions

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

On 4 December 2026: $0.0538 (₹5.00) per million input tokens, $0.0054 (₹0.50) per million cached input tokens and $0.194 (₹18.00) per million output tokens. Prices are set in ₹; $ amounts are approximate. Prices can change; the dashboard shows the current price.

How do I pay for MiniMax M3.1 Flash?+

Top up your SrotGateway balance from ₹50 (about $0.54) by card from any country, or with UPI or net banking in India. Then call MiniMax M3.1 Flash with your API key; each call is taken from your balance.

What is the context size of MiniMax M3.1 Flash?+

1M tokens (input and output together).

Is this the official MiniMax API?+

No. SrotGateway is an independent service from ChromByte, India. We serve MiniMax M3.1 Flash through a hosting partner and bill you in rupees. The model name belongs to MiniMax.

Does it work with the OpenAI SDK?+

Yes. Set the base URL to https://api.srotgateway.com/v1, use your SrotGateway key, and set model to "minimax-m3.1-flash".

Can I control how much MiniMax M3.1 Flash thinks?+

Yes. Send reasoning_effort with one of: low, high, max. More thinking usually means better answers on hard tasks, but more output tokens.

Other models