MiniMax M3.1 Flash API

MiniMax M3.1 Flash is a fast reasoning model designed for complex workflows and visual understanding.

Modalities
Image, Text, VideoText
In / Out price
$0.15/$0.6per 1M
Context window
1M tokens
Released
Oct 19, 2026

MiniMax M3.1 Flash overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by MiniMax M3.1 Flash through AI/ML API

MiniMax M3.1 Flash by MiniMax

MiniMax M3.1 Flash is built for coding, multi-step agent workflows, and visual understanding. It features a 1M-token context window and supports reasoning efforts ranging from low to max.

MiniMax M3.1 Flash specs

Model ID
minimax/minimax-m3.1-flash
Developer
MiniMax
Context window
1,000,000 tokens
Max output
524,288 tokens
Input
Image, Text, Video
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What Is MiniMax M3.1 Flash API?

MiniMax M3.1 Flash is a reasoning model developed by Minimax AI. It is designed to handle diverse inputs including text, images, and video to provide comprehensive analysis.

The model is engineered for high-performance tasks such as coding and agent workflows. It provides flexible reasoning capabilities and supports a large context window for complex data processing.

Reasoning Capabilities

The model always reasons, allowing users to adjust the reasoning effort from low to max.

Multimodal Input

It accepts text, image, and video inputs to generate text-based responses.

Large Context Window

The model supports a 1M-token context window for processing extensive information.

Tool Integration

It supports structured output and tools to enhance integration into various workflows.

Use cases

Accelerating complex coding projects through advanced reasoning.

Executing multi-step agent workflows efficiently.

Analyzing visual content from images and videos.

Processing large documents within the 1M-token context window.

Capabilities

  • Reasoning
  • Streaming
  • Structured outputs
  • Function calling
  • Vision

MiniMax M3.1 Flash benchmarks by Artificial Analysis

See how MiniMax M3.1 Flash compares in intelligence, generation speed, cost per task and latency. Data retrieved Nov 3, 2026.

Intelligence

Index v5.0

Speed

Output tokens / second

Cost per task

USD / benchmark task

Benchmark results

Compare 10 models available on AI/ML API across 4 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

MiniMax M3.1 Flash API pricing

MiniMax M3.1 Flash pricing in US dollars
UsagePriceUnit
Input$0.151M tokens
Output$0.61M tokens
Cached input$0.0151M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

MiniMax M3.1 Flash vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
MiniMax M3.1 Flash$0.15$0.6
MiniMax M3$0.3$1.2
MiniMax M2-her$0.3$1.2
MiniMax M2.1 Highspeed$0.6$2.4
MiniMax M2.7 Highspeed$0.6$2.4

How to use the MiniMax M3.1 Flash API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "minimax/minimax-m3.1-flash",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

MiniMax M3.1 Flash FAQ

How much does MiniMax M3.1 Flash cost?

MiniMax M3.1 Flash costs $0.15 input and $0.6 output per 1M tokens on AI/ML API, billed as you go with no subscription.

What types of input does MiniMax M3.1 Flash support?

The model supports text, image, and video inputs.

Can I adjust the reasoning effort?

Yes, the reasoning effort can be adjusted from low to max, with max being the default.

How large is the context window?

The model features a 1M-token context window.

What is the maximum output length?

The model supports a maximum output of 524,288 tokens.

What is the MiniMax M3.1 Flash model ID?

Use minimax/minimax-m3.1-flash as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.

Start building with MiniMax M3.1 Flash

MiniMax M3.1 Flash API

minimax/minimax-m3.1-flash

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "minimax/minimax-m3.1-flash",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'