MiniMax M3 API

MiniMax's June 2026 flagship: coding, agents, and image and video input

minimax/minimax-m3
MiniMaxConversation

About this model

MiniMax M3 was released by MiniMax on June 1, 2026. MiniMax describes it as the first open-weight model to combine frontier coding and agentic skill, a 1M-token context and native multimodality. It is built on MiniMax Sparse Attention (MSA), and MiniMax says it accepts image and video input and can control a desktop computer.

MiniMax highlights coding results such as 59.0% on SWE-Bench Pro and 74.2% on MCP Atlas for agentic tool use; these are MiniMax’s own reported figures. Thinking can be switched on or off.

MiniMax M3.1 Flash, announced in October 2026, is the later Flash model of the family; M3 remains available. In this catalog M3 is listed with a 512,000-token context window and image and PDF support.

Use cases

  • Coding and bug fixing
  • Agentic and tool-use workflows
  • Long documents and PDFs

Input and output

Input
Text, images, PDF
Output
Text, tool calls

Developer

Developer
MiniMax
Type
Conversation
Context
512,000 tokens
Capabilities
Image input

MiniMax M3 request example

Use https://gatelum.com/v1 as the base URL and pass minimax/minimax-m3 in the model field. You create the key in your account after signing up.

curl --silent --show-error --fail-with-body \
  --header 'Authorization: Bearer glt_YOUR_KEY' \
  'https://gatelum.com/v1/chat/completions' \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "minimax/minimax-m3",
  "messages": [
    {
      "role": "user",
      "content": "Hi! Tell me about yourself in two sentences."
    }
  ]
}
JSON
Claude Code and Anthropic-protocol clients

For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.

macOS / Linux
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=minimax/minimax-m3
claude

Where to use MiniMax M3

Guides with step-by-step instructions for the tools that support this model: