minimax/MiniMax-M3.1-Flash-PreviewClosed APIFrontier multimodal coding model with 1M context window and tunable thinking depth
TECHNICAL SPECIFICATIONS
MODEL CONTEXT PROTOCOL (MCP) READINESS
✓ MiniMax-M3.1-Flash-Preview natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.
MCP Context Window Recommendations
With a context capacity of 1,000,000 tokens, this model can handle extremely large MCP resource manifests, complete database schemas, and multiple active server tool definitions simultaneously without degradation.
API CALL INVOCATION EXAMPLE
// Example: Calling MiniMax-M3.1-Flash-Preview via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.MINIMAX_API_KEY,
});
const response = await client.chat.completions.create({
model: "minimax/MiniMax-M3.1-Flash-Preview",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
This model supports prompt caching at $0.00 / 1M tokens, saving up to 100% on repetitive MCP tool definitions and system instructions.
MODEL RESOURCES
More Models by MiniMax
Alternative and family models from the same lab
MiniMax multimodal model for long-context coding, perception, and agent planning
MiniMax model for chat, coding, office work, and agentic tasks
Open hybrid-attention MoE reasoning model with a million-token context and an 80K thinking budget