All models
MiniMax

MiniMax M2.7 API: pricing, base URL and quick setup

MiniMax M2.7 is available on A2Agent as minimax-m2.7 at $0.300 per 1M input tokens, with a 200K context window, through one OpenAI-compatible endpoint. The newest MiniMax coding model, when 200K of context is enough.

Specifications and pricing

Model idminimax-m2.7
PlatformMiniMax
Context window200K
Tagged forchat, coding
Discount
Input / 1M tokens$0.300
Output / 1M tokens$1.20

Prices synced with platform billing (USD per 1M tokens).

Quick setup

curl https://a2agent.me/v1/chat/completions \
  -H "content-type: application/json" \
  -H "authorization: Bearer sk-your-a2agent-key" \
  -d '{
    "model": "minimax-m2.7",
    "messages": [{"role": "user", "content": "Reply with OK"}]
  }'

Using it from a coding client

Fine as the edit model in a coding client where each request carries a few files rather than the whole tree. If your sessions routinely run past 200K, M2.5 is the same price with five times the room.

How it compares within its family

M2.7 is the later of the two coding-tagged MiniMax models, and the surprise is that it is the shorter one. 200K, where M2.5 runs to 1M. Price is identical across the family, $0.30 per million input tokens and $1.20 output for M2.7, M2.5 and M3 alike, so the newer release costs nothing extra and gives up context. That inverts the usual reasoning about picking the latest model. Choose M2.7 when the task sits comfortably inside 200K and you want the most recent release. Choose M2.5 when the prompt is large and you would rather have the window than the version number. M3 is the third option at 1M, tuned for agent work rather than coding.

Other models on this platform

Questions

What is the context window?

200K tokens. M2.5 and M3, the other two MiniMax models here, both run 1M.

Does the newer release cost more?

No. All three MiniMax models list at $0.30 per million input and $1.20 output.

Why would I pick M2.7 over M2.5?

Only for the newer release. On the recorded data M2.5 wins on window and matches on price and tag.

Is it tagged for coding?

Yes, along with M2.5. M3 carries the agent tag instead.

Trial credit on sign-up, billed per token, no minimum spend.