API Free WeekHundreds of APIs are free to call this week.Browse free APIs

MiniMax M3.1 Flash

minimax/minimax-m3.1-flash

MiniMax-M3.1-Flash is the fast, cost-efficient tier of MiniMax's M3.1 generation, which MiniMax describes as an ultra-efficient open-weight model for everyday work. It is a multimodal coding model that accepts text, image and video input and supports a context window of up to 1M tokens. Thinking is always on, and its depth can be tuned with reasoning effort levels from low to max, making it suited to agentic coding, tool use and routine software development at lower latency and cost than MiniMax-M3.

Input price
$0.15USD / 1M tokens
Output price
$0.60USD / 1M tokens
Context window
1M
Max output
512K
Production route

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

1M context512K max outputVision
Input$0.15/MOutput$0.60/MCache read$0.01/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Model card

Specifications

Pricing

Input
$0.15 / 1M tokens
Output
$0.60 / 1M tokens
Cache read
$0.01 / 1M tokens

Context & modalities

Context window
1,000,000 tokens
Max output
512,000 tokens
Input
Text, image
Output
Text

Capabilities

Chat
Supported
Vision
Supported
Reasoning
Supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
MiniMax
Model ID
minimax/minimax-m3.1-flash
Execution
sync
Base URL
https://api.sandbase.ai
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Chat Completions API endpoint
https://api.sandbase.ai/v1/chat/completions
Model ID
minimax/minimax-m3.1-flash
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/chat/completions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "minimax/minimax-m3.1-flash",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
MiniMax1M$0.15$0.60Oct 19, 2026
MiniMax1M$0.30$1.20May 31, 2026
MiniMax200K$0.30$1.20Mar 18, 2026
MiniMax200K$0.30$1.20Feb 12, 2026

Questions

FAQ

How do I call MiniMax M3.1 Flash through SandBase?

Create a SandBase API key, then send requests with the model ID "minimax/minimax-m3.1-flash" to Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

How much does MiniMax M3.1 Flash cost?

$0.15 per 1M input tokens and $0.60 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

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

1M tokens of context, with up to 512K output tokens per response.

Which features does MiniMax M3.1 Flash support?

MiniMax M3.1 Flash supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.

Do I need a separate MiniMax account?

No. One SandBase API key and balance gives you access to MiniMax M3.1 Flash and the other models in the catalog; you do not need to sign up with MiniMax separately.