MiniMaxNew

MiniMax M4

A multimodal reasoning model from MiniMax with a 1M-token context window, image input and native tool calling, built for coding and agentic tasks.

Model ID

minimax/minimax-m4
Context window
1M
tokens
Max output
131K
tokens
Input
$0.8
per 1M tokens
Output
$3.10
per 1M tokens

Cache read $0.05

Quickstart

Call MiniMax M4 in one request.

Point the SDK you already use at xKiro and pass the model ID. The same key works for every model in the catalog.

SDK guides
main.py
import osfrom openai import OpenAI client = OpenAI(    api_key=os.environ["XKIRO_API_KEY"],    base_url="https://api.xkiro.com/v1",) res = client.chat.completions.create(    model="",    messages=[        {"role": "user", "content": "Explain HTTP caching in two sentences."},    ],) print(res.choices[0].message.content)
Response · Example

✓ 200 OK

"model": "minimax/minimax-m4"

HTTP caching stores copies of responses so later requests can be served without contacting the origin server. Headers such as Cache-Control and ETag decide how long a copy stays fresh and how it is revalidated.

14 input · 42 output tokens · $0.00014 at this model’s rates

Create an API key in the dashboard and export it as XKIRO_API_KEY.

Pricing

What MiniMax M4 costs.

Billed per million tokens at these rates, from your plan’s budget or your wallet.

  • $0.8

    Input

    per 1M tokens

  • $3.10

    Output

    per 1M tokens

  • $0.05

    Cache read

    per 1M tokens

Billed fairly

  • A request that fails before any output is generated is never billed
  • An identical blocking request retried within two minutes replays the first result — no double charge
  • If a stream breaks off or you cancel it, you pay only up to that point

Specifications

Limits and capabilities.

Context window
1,000,000 tokens
Max output
131,072 tokens
Input
Text · Image
Output
Text
Provider
MiniMax
Model ID
minimax/minimax-m4
Good for
Coding · Long context

Capabilities

  • Tool useSupported
  • VisionSupported
  • Video inputNot supported
  • ReasoningSupported

Reasoning effort

  1. low
  2. medium
  3. high
  4. xhigh
  5. max

Set it with reasoning_effort in the OpenAI format, or thinking in the Anthropic format.

Reasoning guide

Supported parameters

  • max_tokens
  • temperature
  • top_p
  • stream
  • tools
  • tool_choice
  • reasoning
  • include_reasoning

Compare

Similar models.

Closest in price and context window — same provider first, then alternatives from other providers.

Browse all 113 models
MiniMax M4 compared with similar models, prices per 1M tokens
ModelInput / 1MOutput / 1M
MiniMax M4This modelNewVision · Reasoning · Tool use1M$0.8$3.10$0.05
MiniMax M3Vision · Video input · Reasoning · Tool use1M$0.3$1.20$0.06
MiniMax M3.1 FlashNewVision · Video input · Reasoning · Tool use1M$0.15$0.6$0.015
MiniMax M2.1 HighspeedReasoning · Tool use205K$0.6$2.40$0.03
LongCat 2.0Reasoning · Tool use1.05M$0.75$3—
DeepSeek V4 ProPaid accountsReasoning · Tool use1.05M$0.9553$1.98$0.0796
GPT-6.1 TerraNewVision · Reasoning · Tool use1.05M$1$5$0.05

From the blog

All articles

modelminimax/minimax-m4

Start building with MiniMax M4.

Create a key, point your SDK at xKiro and call minimax/minimax-m4.

No credit card · Cancel anytime · 38 free models