minimaxCertifiedReleased 12/23/2025

MiniMax M2.1 Lightning

MiniMax-M2.1-lightning is a faster version of MiniMax-M2.1, offering the same performance but with significantly higher throughput (output speed ~100 TPS, MiniMax-M2 output speed ~60 TPS).

View API reference ↓
Input / output priceFrom$0.30 / $2.40per 1M
24h uptime100.00%
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-lightning",
  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
minimax205K131K0.7 s50 tps$0.30$2.40Read $0.030Write $0.386 featuresNoNoGlobalCertified

Uptime

24 hours

Request success rate per provider.

minimax100.00%

Throughput

last hour

P50 output tokens per second.

minimax50 tps

Latency

last hour

P50 time to first token.

minimax0.7 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-lightning",
  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-lightning. 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 Lightning 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.1205K$0.30$1.20Read $0.030Write $0.3812/23/2025
minimax/minimax-m2205K$0.30$1.20Read $0.030Write $0.3810/27/2025