minimaxCertifiedReleased 12/23/2025

MiniMax M2.1

MiniMax 2.1 is MiniMax's latest model, optimized specifically for robustness in coding, tool use, instruction following, and long-horizon planning.

View API reference ↓
Input / output priceFrom$0.30 / $1.20per 1M
24h uptime99.94%
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "minimax/minimax-m2.1",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(res.choices[0].message.content);

Providers

Dispatch routes requests across these providers and fails over between them without changing the model. Restrict or order providers with team Directives. Prices are gateway list prices before the platform fee.

ProviderContextMax outputLatencyThroughputInputOutputCacheCapabilitiesZDRNo trainingRegionsStatus
Amazon Bedrock205K131K0.4 s130 tps$0.30$1.20Read $0.15Write —4 featuresYesYesGlobalCertified
minimax205K131K0.8 s49 tps$0.30$1.20Read $0.030Write $0.386 featuresNoNoGlobalCertified

Uptime

24 hours

Request success rate per provider.

Amazon Bedrock99.87%
minimax100.00%

Throughput

last hour

P50 output tokens per second.

Amazon Bedrock130 tps
minimax49 tps

Latency

last hour

P50 time to first token.

Amazon Bedrock0.4 s
minimax0.8 s

Getting started

Create a key on the API Keys page and set it as IB_API_KEY. See the quickstart.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "minimax/minimax-m2.1",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

console.log(res.choices[0].message.content);

Top-level parameters

Standard Chat Completions parameters work as documented. These have model-specific behavior.

ParameterTypeRequiredDescription
modelstringYesModel ID in the form creator/model, e.g. minimax/minimax-m2.1. Must be allowed by your team's Directives.
max_tokensnumberNoHard cap on generated tokens, and the basis for the balance reserved per request. MiniMax M2.1 supports up to 131,072 output tokens.
reasoning{ effort: 'low' | 'medium' | 'high' }NoReasoning effort, mapped to the provider's native configuration. Reasoning tokens count toward output usage.
toolsTool[]NoFunction definitions the model can call. Tool calls are returned in choices[].message.tool_calls.
Supportedmax_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoningresponse_formatstructured_outputs

Input limits

InputSourcesLimits
Text—Prompt and response share the 205K-token context window

More models by minimax

ModelContextInputOutputCacheRelease
minimax/minimax-m3.1-flash1M$0.15$0.60Read $0.015Write —10/19/2026
minimax/minimax-m31M$0.30$1.20Read $0.060Write —05/31/2026
minimax/minimax-m2.7205K$0.30$1.20Read $0.060Write $0.3803/18/2026
minimax/minimax-m2.7-highspeed205K$0.60$2.40Read $0.060Write $0.3803/18/2026
minimax/minimax-m2.5205K$0.30$1.20Read $0.030Write $0.3802/12/2026
minimax/minimax-m2.5-highspeed205K$0.60$2.40Read $0.030Write $0.3802/12/2026
minimax/minimax-m2.1-lightning205K$0.30$2.40Read $0.030Write $0.3812/23/2025
minimax/minimax-m2205K$0.30$1.20Read $0.030Write $0.3810/27/2025