MiniMax: MiniMax M2.7

minimax-m2.7

MiniMax M2.7 is the first model deeply involved in iterating on its own training. It excels in real-world software engineering (SWE-Pro 56.22%), end-to-end project delivery (VIBE-Pro 55.6%), and complex office workflows with strong tool-use compliance and agentic capabilities.

Modalities

Text → Text

Input / output price

$0.273 / $1.09 per 1M

Context

205K · max output 131K

Capabilities

ReasoningTool callingOpen weights

Pricing

Billed per token actually used and deducted from your credits.

ItemUSD per 1M tokens
Input$0.273
Output$1.09
Cached input$0.0546

Calculator

Drag the sliders to estimate what this model will cost.

Per request
$0.00169
Per day
$0.8463
Per month (30 days)
$25.39

MiniMax M2.7: input $0.273/M · output $1.092/M · cached input $0.0546/M

Request with these settings
curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "minimax-m2.7", "max_tokens": 800,
       "messages": [{"role": "user", "content": "…"}]}'

Code samples

OpenAI-compatible. Set the base URL to https://api.geniusrelaygpt.com/v1 and the model to minimax-m2.7.

curl https://api.geniusrelaygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m2.7",
    "stream": true,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Use it in a client: Cursor · Cline · SillyTavern · Codex

Parameters

Common OpenAI parameters can be passed as-is.

temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseed

FAQ

How is MiniMax M2.7 billed?
Input is $0.273 and output is $1.09 per million tokens; cached input is $0.0546. The charge for every request is listed in Usage Logs in the console.
How long is the context window?
205K tokens. In a long conversation every turn is billed for the full input, so keep the history under control.
Does it support streaming?
Yes. Add "stream": true to the request to receive server-sent events in the OpenAI format.