MiniMax M3 API

MiniMax M3 is a large-context reasoning model from MiniMax. Supports up to 1M context tokens and is optimized for long-document understanding, coding workflows, agent tasks, and complex multi-step reasoning.

Modalities
TextText
In / Out price
$0.3/$1.2per 1M
Context window
512K tokens
Released
Jun 1, 2026

MiniMax M3 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 through AI/ML API

MiniMax M3 by MiniMax

A large-context reasoning model built for coding, agentic tasks, and long-document understanding, with up to 1M context tokens and multimodal capabilities.

MiniMax M3 specs

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

MiniMax M3 is the flagship reasoning model from MiniMax, built for agentic workflows, long-document processing, coding tasks, and complex multi-step reasoning at scale. It supports a context window of up to 1 million tokens, one of the largest available in production, and introduces multimodal input support alongside a reasoning architecture designed for frontier-tier performance.

Where previous MiniMax models excelled at conversational tasks and general instruction-following, M3 was purpose-built for environments where context depth, tool-use reliability, and sustained reasoning across long sessions actually matter. It's the first MiniMax model explicitly positioned at the agentic frontier.

  • Context window: 1,000,000 tokens
  • Multimodal: Yes (text + image input)
  • Tool calling: OpenAI-compatible function calling

MiniMax M3 (≤512K input tokens):

Use cases

MiniMax M3 is documented as suited to coding tasks, including bug fixing, frontend/backend development, performance optimization, and long-horizon coding work. It is also suited to agentic workflows, including autonomous task decomposition, tool invocation, multi-step reasoning, and automated workflows. It is documented for multimodal use cases such as long-form video understanding, image and video input, and computer use on desktop applications. It is also described as suitable for office-style workflows and design or creative workflows.

Capabilities

  • Function calling
  • Streaming
  • Structured outputs
  • Reasoning
  • Web search

MiniMax M3 benchmarks by Artificial Analysis

See how MiniMax M3 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 12 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

MiniMax M3 API pricing

MiniMax M3 pricing in US dollars
UsagePriceUnit
Input$0.31M tokens
Output$1.21M tokens
Cached input$0.061M tokens

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

MiniMax M3 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$0.3$1.2
MiniMax M3.1 Flash$0.15$0.6
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 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",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

MiniMax M3 FAQ

What is the context window of MiniMax M3?

MiniMax M3 has a 524,288 tokens context window and can return up to 524,288 tokens.

What inputs and outputs does MiniMax M3 support?

MiniMax M3 takes image, text as input and returns text.

What is the model ID for MiniMax M3?

Use minimax/minimax-m3 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

When was MiniMax M3 released?

MiniMax M3 became available on June 1, 2026.

How much does MiniMax M3 cost?

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

Does MiniMax M3 support streaming?

Yes, MiniMax M3 can stream responses as they are generated.

Can MiniMax M3 read images?

Yes, MiniMax M3 accepts image input alongside text.

Who created MiniMax M3?

MiniMax M3 was built by MiniMax.

Can MiniMax M3 call external tools or functions?

Yes, it supports function calling along with parallel tool calls and structured outputs.

Start building with MiniMax M3

MiniMax M3 API

minimax/minimax-m3

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",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'