Skip to content

MiniMax

MiniMax M2.7

M2.7 connects clues across logs, traces and source code to help diagnose software problems. It can also revise technical documents over several rounds of feedback.

Model interface
API model IDminimax/minimax-m2.7
Input
Chat messages
Output
Text
Endpoint
POST /v1/chat/completions

Best for

Technical details

Read the model documentation
API model ID
minimax/minimax-m2.7
Provider
MiniMax
Modality
Text
Input
Chat messages
Output
Text
Endpoint
POST /v1/chat/completions

Request parameters

  • messagesobject[] · Required

    The conversation, in OpenAI's format.

    OpenAI chat messages (system, user, assistant, tool)

  • max_completion_tokensinteger · Optional · Default: the model's

    Thinking tokens count toward it: too small a cap ends with finish_reason: length and an empty answer.

    1 up to the model's output limit

  • streamboolean · Optional · Default: false

    Server-sent events, as in OpenAI's API.

    • true
    • false
  • temperaturenumber · Optional · Default: 1

    MiniMax documents it as having no effect on M3 (fixed at 1).

    (0, 1]

  • toolsobject[] · Optional

    Function calling, in OpenAI's format.

    OpenAI function tools

Additional parameters

  • max_tokensinteger · Optional

    The older name for the same cap; MiniMax marks it deprecated.

    as above

  • reasoning_splitboolean · Optional · Default: the vendor's

    true returns the reasoning in reasoning_content; false leaves it inside the answer between think tags.

    • true
    • false
  • stream_optionsobject · Optional

    Adds a final chunk with token usage.

    {"include_usage": true}

  • thinkingobject · Optional · Default: on

    These models always reason before answering; reasoning cannot be turned off.

    {"type": "adaptive"}

  • top_pnumber · Optional · Default: 0.95

    MiniMax documents it as having no effect on M3 (fixed at 0.95).

    (0, 1]

Pricing

Billable unit and optionsRate (USD)
Per 1M input tokens$0.36
Per 1M output tokens$1.44
Per 1M cached input tokens$0.072
Per 1M cache-write tokens$0.45

Catalogue rates on 21 Nov 2026. Prices exclude VAT.

View in pricing catalogue