All ModelschatMiniMax M4

MiniMax M4

by MiniMaxPremium

Try on Kunya
chat

MiniMax M4

Flagship open-weight multimodal reasoning — 1M context, native image & video, agentic SE, computer use, always-on thinking

Model ID:minimax-m4

API Documentation

Generate chat completions with this model.

POST/api/v1/chat/completions
GET /api/v1/models?type=chat
Request body
{
  "model": "minimax-m4",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "stream": false,
  "thinking": true,
  "max_tokens": 4096
}
cURL example
curl -X POST https://kunya.ai/api/v1/chat/completions \
  -H "Authorization: Bearer kunya_YOUR_API_KEY" \
  -H "Content-Type: application/json"
  -d '{"model":"minimax-m4","messages":[{"role":"user","content":"Hello!"}],"stream":false,"thinking":true,"max_tokens":4096}'

Notes

  • •OpenAI-compatible endpoint — works with any Kunya API key.
  • •Set `"stream": true` for server-sent events.
  • •Supports vision: pass image URLs in message content as `{ "type": "image_url", "image_url": { "url": "..." } }`.
  • •Supports tool calling via the `tools` parameter.

Pricing

Input$1.04 per 1M tokens
Output$4.03 per 1M tokens
Context Window1000K

Capabilities

Streaming Yes
Vision Yes
Reasoning Yes
Tool Use Yes
ProviderMiniMax
Try on Kunya

Rankings

Programming#1
Tool Use#1

Similar Models

MiniMax M3

MiniMax

M-series flagship — 1M context, agentic coding, tool use, vision + video input, interleaved thinking

API Documentation

MiniMax M2.5

MiniMax

Peak performance and ultimate value — master the complex

API Documentation

GPT-5.6

OpenAI

GPT-5.6 alias — prefer GPT-6 Astra for frontier work; routes to GPT-5.6 Sol

API Documentation

Claude Opus 4.7

Anthropic

Previous Opus — enhanced SWE, vision, and long-horizon agentic reasoning with 1M context

API Documentation