minimax

MiniMax M3 API

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.

Pricing

Pay-per-use

No upfront costs, pay only for what you use

Input$0.30 / M Tokens
Output$1.20 / M Tokens
Cache Read$0.06 / M Tokens

Try the model

minimax/minimax-m3
Online
minimax
Hi! I am a helpful AI assistant. What can I do for you?
Ready to use this model in a local coding agent?Agent Setup

API Usage

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;
}

Model Introduction

Specifications

SpecificationValue
Providerminimax
Model TypeChat Completions model
Architecturetext+image+video->text
Context Window1048576 tokens
Max Input536576 tokens
Max Output512000 tokens
InputText, Image, Video
OutputText
VisionSupported
Function CallingSupported
Structured OutputsSupported
Release DateJune 1, 2026

Supported Parameters

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

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: minimax/minimax-m3

Info

Providerminimax
Typellm

Supported Functionality

Input
TextImageVideo
Output
Text
Context1,048,576
Max Output524,288
Vision✓ Supported
Function Calling✓ Supported

API Access Guide

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
Model IDminimax/minimax-m3

Input

$0.3 /M

Output

$1.2 /M

Context

1049K

Max Output

524K

Vision

Supported

Tool Use

Supported

Try MiniMax M3 on WaveSpeedAI

Access MiniMax M3 through our unified API — OpenAI-compatible, no cold starts, transparent pricing.

Frequently Asked Questions about MiniMax M3

How much does MiniMax M3 cost via the API?+

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.

What is the context window of MiniMax M3?+

MiniMax M3 supports up to 1049K tokens of context with up to 524K tokens of output per request.

Is MiniMax M3 OpenAI-compatible?+

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.

How do I get started with MiniMax M3?+

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.

Related LLM APIs