minimax/minimax-m3
Release date: 2026-06-01
1,048,576 context · $0.60/M input tokens · $2.40/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: 2,
});
try {
const response = await client.chat.completions.create({
model: 'minimax/minimax-m3',
messages: [{ role: 'user', content: 'Hello!' }],
});
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: 2,
});
try {
const response = await client.chat.completions.create({
model: 'minimax/minimax-m3',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}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.
| Specification | Value |
|---|---|
| Provider | minimax |
| Model Type | Chat Completions model |
| Architecture | text+image+video->text |
| Context Window | 1,048,576 tokens |
| Max Input | 536,576 tokens |
| Max Output | 512,000 tokens |
| Input | Text, Image, Video |
| Output | Text |
| Vision | Supported |
| Video Input | Supported |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Thinking Mode | Supported |
Base URL: https://llm.wavespeed.ai/v1
API Endpoint: chat/completions
Model ID: minimax/minimax-m3
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="minimax/minimax-m3",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "minimax/minimax-m3",
"messages": [{"role": "user", "content": "Hello!"}]
}'
minimax/minimax-m3
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.
Input
$0.6 /M
Output
$2.4 /M
Context
1049K
Max Output
512K
Vision
Supported
Tool Use
Supported
Access Minimax M3 through our unified API — OpenAI-compatible, no cold starts, transparent pricing.
Pricing on WaveSpeedAI: $0.60 per million input tokens and $2.40 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 512K 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.