MiniMax M2 API — 실시간 요금, 사양 및 SDK 연동 가이드
Technical Summary & Live Pricing
API Store Hub에서 MiniMax M2 API(apistorehub/minimax-m2)를 4,600 ST/1M 토큰부터 호출하세요 · 196K context. /v1/chat/completions(OpenAI Chat Completions & Responses API) 지원, 투명한 ST 선불 결제 및 cURL·Python·TypeScript 예제 제공.
- Model Name
- MiniMax M2
- Primary Model ID
apistorehub/minimax-m2- Model Family
- MiniMax
- Starting Price
- 4,600 ST/1M 토큰 (1 VND = 1 ST)
- Context Window
- 196K tokens
- Max Output
- 64K tokens
- Protocol & Endpoint
/v1/chat/completions— OpenAI Chat Completions & Responses API- Compatible Apps & SDKs
- Cursor, Codex CLI, Cline, Roo Code, Continue, Open WebUI, Dify, n8n, OpenAI SDK
Active Lanes & Variants
| Model ID | Lane | Billing Unit | Price (ST / VND) | Min/Request | Context Window | Max Output | Features |
|---|---|---|---|---|---|---|---|
apistorehub/minimax-m2 | AWS High-Speed | 1M tokens | 4,600 ST/1M tok | 50 ST | 196K | 64K | AWS, Premium, Streaming, Tool use, 196k context, OpenAI API |
Practical Cost Estimator (ST / VND)
| Token Volume | Estimated Cost (ST) | VND Equivalent |
|---|---|---|
| 10,000 tokens (10K) | 46 ST | 46 VNĐ |
| 100,000 tokens (100K) | 460 ST | 460 VNĐ |
| 1,000,000 tokens (1M) | 4,600 ST | 4,600 VNĐ |
| 10,000,000 tokens (10M) | 46,000 ST | 46,000 VNĐ |
Integration Snippets: cURL, Python, TypeScript & Anthropic / Claude Code
cURL
curl https://apistorehub.com/v1/chat/completions \
-H "Authorization: Bearer sk-ash-your_key" \
-H "Content-Type: application/json" \
-d '{"model":"apistorehub/minimax-m2","messages":[{"role":"user","content":"Hello"}]}'Python SDK
import os
from openai import OpenAI
client = OpenAI(base_url="https://apistorehub.com/v1", api_key=os.environ["API_KEY"])
resp = client.chat.completions.create(
model="apistorehub/minimax-m2",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)TypeScript SDK
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://apistorehub.com/v1", apiKey: process.env.API_KEY });
const res = await client.chat.completions.create({
model: "apistorehub/minimax-m2",
messages: [{ role: "user", content: "Hello" }],
});
console.log(res.choices[0].message.content);Anthropic / Claude Code & CLI
export OPENAI_BASE_URL="https://apistorehub.com/v1"
export OPENAI_API_KEY="sk-ash-your_key"
export ANTHROPIC_BASE_URL="https://apistorehub.com"
export ANTHROPIC_AUTH_TOKEN="sk-ash-your_key"
export MODEL_ID="apistorehub/minimax-m2"Model FAQ
- How much does MiniMax M2 API cost on API Store Hub?
- MiniMax M2 is live across 1 lane variant(s) starting from 4,600 ST/1M 토큰 (1 VND = 1 ST), settled accurately to actual usage.
- What context window and protocol does MiniMax M2 support?
- MiniMax M2 (MiniMax) provides 196K context over /v1/chat/completions (OpenAI Chat Completions & Responses API) and works with Cursor, Codex CLI, Cline, Roo Code, Continue, Open WebUI, Dify, n8n, OpenAI SDK.
- How do I integrate MiniMax M2 with Python, TypeScript, or Claude Code?
- Set base_url to https://apistorehub.com/v1 (OpenAI SDK) or https://apistorehub.com (Anthropic SDK / Claude Code), pass model="apistorehub/minimax-m2", and authenticate with a sk-ash- key.
- Does MiniMax M2 share one ST credit balance with other AI models?
- Yes. Every model on API Store Hub shares one prepaid ST credit balance and a single API key.