MiniMax family documentation
MiniMax API: M3, M3.1 Flash, API key & pricing
Access the MiniMax API on AngelAPI to run MiniMax M3, M3.1 Flash, M2.7, and fast MiniMax H3 image generators under one unified key. Whether you are evaluating MiniMax's huge 512K output windows for document generation or generating affordable 750K-token product illustrations, every active route shares your prepaid MYR or USD pack.
MiniMax API key
Instead of provisioning separate chat and visual keys, follow these steps to issue a unified MiniMax API key through AngelAPI:
- Register your workspace and choose a token pack starting from RM1.12 (10M prepaid tokens) on Pricing.
- Complete checkout in ringgit (CHIP DuitNow QR or FPX online banking) or USD crypto checkout, then copy your key from Account.
- Export
ANGELAPI_KEYin your server environment and point OpenAI-compatible libraries tohttps://api.angelapi.cc/v1.
MiniMax API pricing across M3, M3.1, M2.7 & images
Notice carefully that MiniMax availability splits between active generation routes and offline legacy/preview tiers in our live gateway check. Check the live status badges in both tables below—chat routes deduct input, output, and cached coding multipliers at RM0.112 per 1M base units, while H3 image models deduct 750K tokens (~ RM0.084) per generated frame:
| Model ID | Status | Context / Max out | Input mult (MYR / 1M) | Output mult (MYR / 1M) | Est. coding (MYR / 1M) |
|---|---|---|---|---|---|
minimax-m2.5 | offline | 200K / — | ×0.8629 (RM0.0966) | ×3.4517 (RM0.387) | — |
minimax-m2.5-highspeed | offline | 200K / — | ×0.0288 (RM0.0032) | ×0.1151 (RM0.0129) | — |
minimax-m2.7 | online | 1M / — | ×2.6319 (RM0.295) | ×10.5276 (RM1.179) | ×1.6141 (RM0.181) |
minimax-m2.7-highspeed | offline | 200K / — | ×1.7258 (RM0.193) | ×6.9033 (RM0.773) | — |
minimax-m3 | online | 1M / 512K | ×1.8936 (RM0.212) | ×7.569 (RM0.848) | ×1.56 (RM0.175) |
minimax-m3.1-flash | online | 1M / 512K | ×1.2345 (RM0.138) | ×4.921 (RM0.551) | ×0.6727 (RM0.0753) |
minimax-m3.1-flash-preview | offline | 1M / 512K | ×0.4315 (RM0.0483) | ×1.7258 (RM0.193) | ×0.2519 (RM0.0282) |
| Model ID | Type | Status | Tokens per unit | MYR per unit (RM0.112/1M) |
|---|---|---|---|---|
minimax-h3-image | Image | online | 750K / image | RM0.084 / image |
minimax-h3-image-highspeed | Image | online | 750K / image | RM0.084 / image |
| Pack | Prepaid tokens | MYR price | Rate per 1M units |
|---|---|---|---|
| 10M | 10M | RM1.12 | RM0.112 |
| 50M | 50M | RM5.59 | RM0.112 |
| 100M | 100M | RM11.18 | RM0.112 |
| 200M | 200M | RM22.35 | RM0.112 |
| 300M | 300M | RM33.53 | RM0.112 |
| 500M | 500M | RM55.88 | RM0.112 |
| 1B | 1B | RM111.77 | RM0.112 |
Is the MiniMax API free?
MiniMax routes on AngelAPI operate strictly on prepaid token packs. AngelAPI does not offer an unlimited free MiniMax quota, welcome-bonus tokens are currently disabled in the Telegram bot, and zero models advertise an active free_until expiry date right now. You can query GET /v1/models or MCP list_media_models free of charge for capability checks, then send real prompts using packs starting at RM1.12 (10M units—more than 13 images on H3 or millions of M3.1 Flash coding tokens).
MiniMax API URL / base URL and models list
Send chat traffic to POST https://api.angelapi.cc/v1/chat/completions and image requests to POST https://api.angelapi.cc/v1/images/generations. Recommend pinning online variants such as minimax-m3.1-flash (100% 24h uptime, ×0.6727 est. coding) or minimax-m3 rather than offline preview or M2.5 slugs until those pools return online on the monitor.
MiniMax API status
Always verify whether highspeed or preview MiniMax variants are currently answering before shipping them into CI scripts by checking AngelAPI live status. Having a Flash fallback ready prevents unhandled 503 errors if upstream M2.x pools rotate.
Code examples: curl, Python, and Node.js
Call online minimax-m3.1-flash cleanly via standard OpenAI payloads using the templates below:
curl https://api.angelapi.cc/v1/chat/completions \
-H "Authorization: Bearer $ANGELAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-m3.1-flash",
"messages": [{"role": "user", "content": "Draft a clean retry wrapper with exponential backoff in TypeScript."}]
}'from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.angelapi.cc/v1",
api_key=os.environ["ANGELAPI_KEY"],
)
response = client.chat.completions.create(
model="minimax-m3.1-flash",
messages=[{"role": "user", "content": "Draft a clean retry wrapper with exponential backoff in TypeScript."}],
)
print(response.choices[0].message.content)const res = await fetch("https://api.angelapi.cc/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.ANGELAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "minimax-m3.1-flash",
messages: [{ role: "user", content: "Draft a clean retry wrapper with exponential backoff in TypeScript." }],
}),
})
const data = await res.json()
console.log(data.choices[0].message.content)Handling 512K outputs & pairing chat with H3 images
Because MiniMax M3 and M3.1 Flash publish massive 1M input context alongside 512K maximum output limits, always enforce application-level max_tokens values inside automated workers unless intentionally generating whole multi-chapter drafts. On visual pipelines, pair minimax-m3.1-flash prompt expansion with minimax-h3-image or minimax-h3-image-highspeed at just 750K tokens (~RM0.084 per image) from the same pack—making RM1.12 cover up to 13 quick studio concept renders cleanly alongside chat formatting.
Related model APIs and developer guides
Frequently asked questions
Which MiniMax models are currently online on AngelAPI?
Currently online chat models are minimax-m3.1-flash, minimax-m3, and minimax-m2.7 (plus both H3 image generators at 750K tokens per image). Earlier M2.5 and preview entries remain in /api/pricing but are currently marked offline.
How much does MiniMax H3 image generation cost?
Both minimax-h3-image and highspeed variants cost a flat 750K prepaid tokens per generated picture—about RM0.084 per image at RM0.112 per 1M tokens.
Why does MiniMax M3 list 1M context and 512K max output?
The live gateway catalogue publishes 1M context windows and up to 512K max output caps for online MiniMax M3 and M3.1 Flash variants, making them capable of huge long-document synthesis.
Is AngelAPI an official MiniMax partner?
No. AngelAPI provides third-party prepaid routing to listed models under one shared key and has no official partnership with MiniMax.