MiniMax M2:
Everything you need to know about the model

MiniMax M2 is a MiniMax model available through Merge Gateway via MiniMax. Use it with Gateway routing policies, spend controls, request logs, and a 200,000 token context window. It supports streaming, tool calling through at least one Gateway vendor route.

MiniMax M2 performance*

Intelligence - general reasoning and knowledge
36%
Coding - code generation and problem-solving
29%
*Performance data is provided by Artificial Analysis and is subject to change.

MiniMax M2 pricing

| Vendor | Input / 1M tokens | Output / 1M tokens | Zero data retention | | --- | ---: | ---: | --- | | Amazon Bedrock | $0.3000 | $1.20 | Yes | | MiniMax | $0.3000 | $1.20 | No |

Test MiniMax M2 with Merge Gateway’s Simulator

MiniMax M2
Synced
Synced
Run simulation to see response

Ready to try it out?

Start routing requests to hundreds of large language models in your product within minutes.

Route requests to MiniMax M2 with Merge Gateway

Merge Gateway is a unified LLM API that lets your product route requests to MiniMax M2 and every other major model through a single endpoint. You get built-in fallback routing, per-request cost tracking, zero data retention support, and observability without changing your application architecture.
To get started in seconds, add our Gateway Implementation skill to your project, or pick your preferred SDK below. Check out our other quick start skills here.
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Install the Merge Gateway SDK
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Make your first API call
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11
Try a diffrent model
Python
1{
2  "mcpServers": {
3    "agent-handler": {
4      "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5      "headers": {
6        "Authorization": "Bearer yMt*****"
7      }
8    }
9  }
10}
11

Explore other models available in Merge Gateway

model logo
google/gemma-4-26B-A4B-it
model logo
google/gemma-4-31B-it
model logo
GPT-3.5 Turbo
model logo
GPT-3.5 Turbo (0125)
model logo
Gpt 3.5 Turbo 1106
model logo
Gpt 3.5 Turbo 16K
model logo
GPT-4
model logo
Gpt 4 0613
model logo
Gpt 4.1
model logo
Gpt 4.1 2025 04 14
model logo
Gpt 4.1 Mini
model logo
Gpt 4.1 Mini 2025 04 14
model logo
Gpt 4.1 Nano
model logo
Gpt 4.1 Nano 2025 04 14
model logo
GPT-4o
model logo
Gpt 4O 2024 05 13
model logo
GPT-4o (2024-08-06)
model logo
GPT-4o (2024-11-20)
model logo
GPT-4o Mini
model logo
GPT-4o Mini (2024-07-18)
model logo
Gpt 4O Mini Search Preview
model logo
Gpt 4O Mini Search Preview 2025 03 11
model logo
Gpt 4O Search Preview
model logo
Gpt 4O Search Preview 2025 03 11

MiniMax M2 FAQ

In case you have any more questions on using MiniMax M2, we’ve addressed several below.

Heading

What provider owns MiniMax M2?

MiniMax M2 is a MiniMax model.

Which vendors can run MiniMax M2?

MiniMax is the default listed vendor, and other active vendors may also be available.

What context window does MiniMax M2 support?

MiniMax M2 supports 200,000 tokens on the primary listed vendor route.

What capabilities does MiniMax M2 support?

Gateway currently lists streaming, tool calling support for MiniMax M2 across its available vendor routes.

Try MiniMax M2 through Merge Gateway

Route, observe, and control AI requests across providers from one API.