minimax/minimax-m3
Release date: 2026-06-01
1,048,576 context · $0.30/M input tokens · $1.20/M output tokens
MiniMax-M3 is MiniMax’s latest M-series multimodal foundation model for agent reasoning, tool use, coding, and long-context tasks. It supports text, image, and video inputs with text output, a 1M-token context window, thinking content, function calling, and structured outputs. With support for long-horizon agentic work, coding workflows, multimodal understanding, and very long responses, MiniMax-M3 is well suited for building autonomous agents, code assistants, document/video analysis tools, and production workflows that need large context at efficient pricing.
Pay-per-use
No upfront costs, pay only for what you use
Use the following code examples to integrate with our API:
import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'minimax/minimax-m3',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 0,
});
try {
const response = await client.chat.completions.create({
model: 'minimax/minimax-m3',
messages: [{ role: 'user', content: 'Hello!' }],
});
const body = response as typeof response & { error?: { message?: string } };
if (body.error) throw new Error(body.error.message || 'LLM generation failed');
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}| Specification | Value |
|---|---|
| Provider | minimax |
| Model Type | Chat Completions model |
| Architecture | text+image+video->text |
| Context Window | 1048576 tokens |
| Max Input | 536576 tokens |
| Max Output | 512000 tokens |
| Input | Text, Image, Video |
| Output | Text |
| Vision | Supported |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Release Date | June 1, 2026 |
frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: minimax/minimax-m3
Input
$0.3 /M
Output
$1.2 /M
Context
1049K
Max Output
524K
Vision
Supported
Tool Use
Supported
Access MiniMax M3 through our unified API — OpenAI-compatible, no cold starts, transparent pricing.
Pricing on WaveSpeedAI: $0.30 per million input tokens and $1.20 per million output tokens. Prompt caching and batch processing are billed separately and reduce effective cost on long, repetitive workloads.
MiniMax M3 supports up to 1049K tokens of context with up to 524K tokens of output per request.
WaveSpeedAI exposes MiniMax M3 at https://llm.wavespeed.ai/v1 through the OpenAI-compatible Chat Completions interface. Most OpenAI SDK clients work by changing the base URL and API key; optional fields depend on the selected model.
Sign in to WaveSpeedAI, create an API key in Access Keys, then send a request to https://llm.wavespeed.ai/v1/chat/completions with the model id shown above. Check the current model catalog for availability, capabilities, and pricing.