基礎 URL、請求方法與必要請求頭,皆依當前模型的協議模板渲染。

MiniMax M3
MiniMax\\'s first multimodal release, accepting image and video input. Long-context inference runs cheaper and faster, and it handles multi-step agent workflows and computer-use scenarios.
價格
| 規格 | 價格 |
|---|---|
| 輸入 | $1.2/ M tokens |
| 輸出 | $4.8/ M tokens |
| 快取讀 | $0.12/ M tokens |
| 快取寫 | -- |
快速開始
可直接貼上執行下方範例程式碼。Gate.AI API 與 OpenAI 相容,多數 SDK 只需替換 base URL;切換模型時,只需修改模型 ID。
Get your API key
Sign in to the Gate.AI console and create a new key under "API Keys". Keep it safe and send it via the Authorization header on every request.
前往控制台建立金鑰Make a request
Send a POST request to the Chat Completions endpoint with a model ID and an array of messages to get a reply.
curl --location "https://api.gate.ai/openai/v1/chat/completions" \
--header "Authorization: Bearer {API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "minimax-m3",
"messages": [
{"role": "user", "content": "Hello"}
]
}'Handle the response \\\\\& streaming
By default a full JSON response is returned. Add "stream": true to the request body to receive incremental chunks over SSE.
curl --no-buffer --location "https://api.gate.ai/openai/v1/chat/completions" \
--header "Authorization: Bearer {API_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "minimax-m3",
"messages": [
{"role": "user", "content": "Hello"}
],
"stream": true
}'端點
相關模型
MiniMax M2.7 HighspeedSpeed-optimized variant of M2.7 with identical outputs, tuned for low-latency coding and agent tool-calling workloads.
MiniMax M2.7A next-generation autonomous language model that uses multi-agent collaboration to plan, execute, and continuously refine complex tasks. It supports production-grade workflows including live debugging, root cause analysis, financial modeling, and document generation across Word, Excel, and PowerPoint.
MiniMax M2.5 HighspeedA high-throughput variant of M2.5 with matching quality at roughly triple the speed, tuned for coding and agentic tool use under latency-sensitive workloads.
MiniMax M2.5專為對話和雙語聊天打造。
MiniMax M2.1Cost-effective general model for balanced speed and quality.