- Models
- MiniMax M2
MiniMax M2
meldport/minimax-m2MiniMax M2 is available through Meldport as minimax-m2. Published capabilities: Text, Cache, Stream, Tools.
MODEL OVERVIEW
About MiniMax M2
MiniMax M2 is available through Meldport as minimax-m2. Published capabilities: Text, Cache, Stream, Tools.
Use the published model ID in requests to Meldport's API. Check the current pricing, context window, and supported capabilities on this page before sending production traffic. See the quickstart for a request example.
GOOD FIT FOR
- Text generation, extraction, and automation
- Tool calling and agent workflows
BEFORE YOU SHIP
- Check capabilities, context limit, and price against your workload.
- Test tool call parsing and error handling before production.
TECHNICAL SPECIFICATIONS
What this model supports
| Model ID | meldport/minimax-m2 |
|---|---|
| Publisher | MiniMax |
| Capabilities | Text, Cache, Tools |
| Context window | 204.8K |
| Lifecycle | active |
| Verified | Nov 1, 2026 |
CURRENT RATES
Pricing
| Metric | Rate | Unit |
|---|---|---|
| Input | $0.09 | per million tokens |
| Output | $0.36 | per million tokens |
| Provider-reported cached input | $0.009 | per million tokens |
| Minimum charge | $0.00001 | per request |
Provider-reported cached input tokens use the displayed rate. Every request is recorded in the wallet ledger.
QUICKSTART
Call this model
The same endpoint works from any language.
Send POST /v1/chat/completions with an API key that has inference:invoke. Use meldport/minimax-m2 in the model field. Supply your conversation in messages and set stream: true for streamed output. The published context limit is 204.8K tokens.
This model publishes tool calling. Send function definitions in tools and return tool results in the conversation. Request fields and output limits · Streaming format · Errors and retry rules
curl https://api.meldport.com/v1/chat/completions \
-H "Authorization: Bearer $MELDPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meldport/minimax-m2",
"messages": [{"role": "user", "content": "Hello"}]
}'import os
import requests
response = requests.post(
"https://api.meldport.com/v1/chat/completions",
headers={
"Authorization": f"Bearer {os.environ['MELDPORT_API_KEY']}",
},
json={
"model": "meldport/minimax-m2",
"messages": [{"role": "user", "content": "Hello"}],
},
)
print(response.json())const response = await fetch(
"https://api.meldport.com/v1/chat/completions",
{
method: "POST",
headers: {
Authorization: "Bearer " + process.env.MELDPORT_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "meldport/minimax-m2",
messages: [{ role: "user", content: "Hello" }],
}),
},
);
console.log(await response.json());COMMON QUESTIONS
Frequently asked questions
What is the API model ID for MiniMax M2?
Use meldport/minimax-m2 in the model field of your API request.
Which capabilities does MiniMax M2 support?
This model currently publishes Text, Cache, Tools support through Meldport.
How is MiniMax M2 priced?
Requests are billed per token. Input costs $0.09 per million tokens and output costs $0.36 per million tokens. Provider-reported cached input tokens cost $0.009 per million tokens; Meldport response caching is bypassed. A minimum charge of $0.00001 applies per request. Charges are deducted from your wallet balance in real time.
Which endpoint runs MiniMax M2?
Send a request to POST https://api.meldport.com/v1/chat/completions with your Meldport API key and use meldport/minimax-m2 in the model field.
What context window does MiniMax M2 support?
The published context limit is 204.8K tokens.