MiniMax API on APIMart: MiniMax AI's M3, a native multimodal model with 1M-token context for coding, agents and long documents, plus M2.7 and M2.5 until MiniMax retires them on November 18, 2026.
Service Highlights
Guides, comparisons and pricing analysis from the APIMart blog.
What's on your mind?
Ask APIMart
minimax-m3
Transparent pricing with no hidden fees. Pay only for what you use.
Per 1M tokens
| Rate | GoldCurrent price | Platinum | Diamond | Official | Your savings |
|---|---|---|---|---|---|
| Input | 2.4~$0.24 | 2.28~$0.228 | 2.16~$0.216 | 3~$0.3 | 20% |
| Output | 9.6~$0.96 | 9.12~$0.912 | 8.64~$0.864 | 12~$1.2 | 20% |
Call MiniMax M3 on APIMart: a native multimodal model that reads text, images and video, handles up to 1M tokens of context and returns up to 512K tokens per response. Use the OpenAI-compatible Chat Completions API, turn thinking off for faster replies, and pay per token. MiniMax M2.7 and M2.5 remain available until November 18, 2026. You can also chat with MiniMax M3 online in the playground above once you have an API key and balance.
What you get with MiniMax M3 on APIMart
How teams use MiniMax M3 in production
Three steps to your first MiniMax request on APIMart.
Create an APIMart account and top up your balance. It works for every model on the platform, including the MiniMax API.
Generate an API key in your dashboard. The same key calls MiniMax M3 and all other models on APIMart.
Point the OpenAI SDK at https://api.apimart.ai/v1, set the model to minimax-m3 and pass stream explicitly.
Call MiniMax M3 through the OpenAI-compatible Chat Completions endpoint, with adaptive thinking or with thinking turned off.
Create an APIMart API key, add funds and set APIMART_API_KEY on your server. For Python or Node.js, install the openai package; all examples use the same key and base URL.
M3 thinks adaptively by default; pass thinking with type disabled for faster replies. Pass stream explicitly, and raise max_completion_tokens for long answers.
Read the Chat Completions referencecurl --fail-with-body https://api.apimart.ai/v1/chat/completions \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-m3",
"stream": false,
"max_completion_tokens": 4096,
"messages": [
{
"role": "user",
"content": "Explain when a long-context model is a better fit than retrieval for document Q&A."
}
]
}'import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["APIMART_API_KEY"],
base_url="https://api.apimart.ai/v1",
)
resp = client.chat.completions.create(
model="minimax-m3",
messages=[{"role": "user", "content": "Summarize the benefits of a 1M-token context window in three bullet points."}],
stream=False,
# M3 thinks adaptively by default; disable it for faster replies
extra_body={"thinking": {"type": "disabled"}},
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.APIMART_API_KEY,
baseURL: "https://api.apimart.ai/v1",
});
const resp = await client.chat.completions.create({
model: "minimax-m3",
messages: [{ role: "user", content: "Summarize the benefits of a 1M-token context window in three bullet points." }],
stream: false,
thinking: { type: "disabled" },
});
console.log(resp.choices[0].message.content);What developers say about our MiniMax API
“MiniMax M2.5 handles our Chinese copywriting needs perfectly. The output reads naturally.”
Wei Zhang
Content Manager
“Good value for the price. M2.1 is our workhorse for general chat tasks.”
Alex Chen
Product Manager
“The conversation quality is impressively human-like. Great for our customer-facing chatbot.”
Sarah Li
UX Designer
“Easy to integrate and reliable. We migrated from another provider without any issues.”
Mike Wang
Backend Developer
“MiniMax is an underrated choice. M2.5 competes well with more well-known models at a better price.”
Emily Zhou
AI Engineer
“We use MiniMax for summarization in our news app. Fast, accurate, and affordable.”
David Liu
Startup Founder
MiniMax M3 is the current model. M2.7 and M2.5 stay available until MiniMax retires them on November 18, 2026. Compare APIMart token rates, context windows and status, then select a model to open its playground and detailed pricing.
Prices are APIMart Gold member rates in USD per 1M tokens. Input and output are billed separately.
| Model / API ID | Input | Output | Context window | When to choose it |
|---|---|---|---|---|
MiniMax M3minimax-m3 | $0.24 | $0.96 | 1,000,000Max output 524,288 | Coding, agents, long documents and image or video input. |
MiniMax M2.7minimax-m2.7 | $0.24 | $0.96 | 204,800Max output 204,800 | Retires on Nov 18, 2026. Migrate to M3. |
MiniMax M2.5minimax-m2.5 | $0.24 | $0.96 | 196,608Max output 204,800 | Retires on Nov 18, 2026. Migrate to M3. |
APIMart routes MiniMax requests to MiniMax's official API, so context windows, max output and model features match MiniMax's published specs; only the price differs. Context windows for M2.7 and M2.5 come from their official model configs; their max output is the max_completion_tokens cap in MiniMax's API docs, so the two figures have different sources.
Common questions about the MiniMax API on APIMart
The MiniMax API lets you call MiniMax's language models from your own code. On APIMart you use one API key and the OpenAI-compatible Chat Completions endpoint to call MiniMax M3, and you pay per token.
APIMart lists minimax-m3, minimax-m2.7, minimax-m2.5 and minimax-m2.1. MiniMax has already retired M2.1 and will retire M2.5 and M2.7 on November 18, 2026, so use minimax-m3 for new projects.
Gold member rates for MiniMax M3 are $0.24 per 1M input tokens and $0.96 per 1M output tokens. M2.7 and M2.5 use the same rates until they retire. The pricing table shows live rates for every model.
Yes. MiniMax stopped offering M2.5 and M2.7 to new users on October 19, 2026 and will retire them on November 18, 2026, after which requests to these models will stop working. To migrate, change the model to minimax-m3; the request format stays the same.
MiniMax M3 (official name MiniMax-M3, API ID minimax-m3) is a native multimodal model with a 1M-token context window, about 428B total parameters and about 23B active parameters. MiniMax describes it as a frontier multimodal coding model.
In MiniMax's own evaluations, M3 scores 80.5 on SWE-Bench Verified, 59.0 on SWE-Bench Pro and 66.0 on Terminal Bench 2.1, up from 79.9, 56.2 and 51.1 for M2.7. It also scores 83.5 on BrowseComp, 75.2 on OSWorld-Verified, 91.6 on OmniDocBench and 84.6 on Video-MMMU. These are MiniMax-reported results from the M3 model card.
MiniMax M3 accepts up to 1,000,000 tokens of context. Set max_completion_tokens up to 524,288; MiniMax recommends 131,072. If a reply stops with finish_reason length, raise this value.
Yes. M3 is trained on text, images and video together, and the Chat Completions API accepts image and video content in messages, according to MiniMax's docs.
M3 uses adaptive thinking by default and decides when extra reasoning helps. Pass "thinking": {"type": "disabled"} to skip thinking and answer directly. With the OpenAI Python SDK, put thinking inside extra_body.
Sign up on APIMart, add funds and create a key on the API Keys page. The same key works for the MiniMax API and every other model on APIMart, with pay-as-you-go billing and no subscription.
No. API calls are billed per token. On APIMart you pay only for what you use, with no monthly plan; Platinum and Diamond members get lower rates than Gold.
Yes. Sign in to APIMart, create an API key and add funds, then use the playground at the top of this page to chat with MiniMax M3 in your browser. Playground messages use your API key and are billed per token from your balance, at the same rates as the API.
Yes. Set base_url to https://api.apimart.ai/v1, use your APIMart key and set the model to minimax-m3. MiniMax M3 ignores temperature and always uses 1, according to MiniMax's API reference.
minimax.chat is a domain owned by MiniMax, which also serves files from filecdn.minimax.chat. MiniMax's current international API base URL is https://api.minimax.io. On APIMart you call neither; use https://api.apimart.ai/v1 with your APIMart key.
Use https://api.apimart.ai/v1 as the base URL. Requests go to https://api.apimart.ai/v1/chat/completions with your APIMart key in the Authorization: Bearer header.
For calls through APIMart, use the Chat Completions reference in the APIMart docs: https://docs.apimart.ai/en/api-reference/texts/general/chat-completions-nostream. MiniMax's own documentation at platform.minimax.io describes model capabilities such as thinking, context limits and multimodal input.
APIMart routes MiniMax requests to MiniMax's official API, so the models, context windows and features are the same; only the price differs. You also use one key and one balance for MiniMax, GPT, Claude, Gemini, DeepSeek and other models.
No. MiniMax M3 is a language model. MiniMax H3 and Hailuo are MiniMax's video models, which have their own pages on APIMart.
No. MiniMax Agent usually refers to MiniMax's own AI app at agent.minimax.io, now branded MiniMax Code. The MiniMax API on APIMart gives developers programmatic access to MiniMax M3 for their own apps, billed per token.
MiniMax publishes open weights for M3 on Hugging Face under the MiniMax Community License, which has attribution and commercial-use terms. On APIMart you use the hosted API and don't need to run the model yourself.
Yes. MiniMax's Chat Completions API accepts tool call content in messages, so you can use M3 with function-calling agents.
Use MiniMax M3. MiniMax describes it as a frontier multimodal coding model, and M2.5 and M2.7 retire on November 18, 2026.
Not at the moment. APIMart currently offers MiniMax M3; the playground above shows every MiniMax model you can call.
Requests to api.apimart.ai are sent over HTTPS. APIMart processes API data such as request logs and the prompts, inputs and outputs you send, as described in its Privacy Policy. Review the Privacy Policy before sending sensitive data.
Explore more models in the same category.
Grok 4.5
xAI has launched a new generation of general-purpose large language models that enhance reasoning, coding, and real-time information processing capabilities, making them suitable for complex question-answering, development, and agent tasks.
Qwen 3.6 Plus
Alibaba Cloud Tongyi Qianwen has launched a high-performance general-purpose model that enhances reasoning, coding, and multi-task processing capabilities, making it suitable for intelligent Q&A, development, and enterprise applications.
Grok 4.3
The general-purpose large language model launched by xAI features strong reasoning, coding, and knowledge comprehension capabilities, making it suitable for conversational, analytical, and development tasks.
Qwen 3.7 Plus
Launched by Alibaba Cloud Tongyi Qianwen, this high-performance large language model enhances reasoning, coding, and complex task-handling capabilities, making it suitable for enterprise applications and intelligent agent scenarios.