Back to Models

MiniMax M2.7

minimaxminimax/m2.7

MiniMax M2.7 is a frontier reasoning model with interleaved thinking chains and multi-tool orchestration. 204K context with strong performance on agentic workflows, coding, and complex multi-step reasoning tasks.

MiniMax M2.7 is the latest frontier model in the M2-series, released in April 2026 and representing MiniMax's first model to deeply participate in its own evolution. It is a Mixture-of-Experts (MoE) architecture using interleaved thinking chains and multi-tool orchestration, trained with novel self-evolution techniques where the model recursively improves its own agent harness and RL training pipeline. M2.7 delivers 56.22% on SWE-Pro (matching GPT-5.3-Codex), 57.0% on Terminal Bench 2, and the highest ELO among open-source models on GDPval-AA (1495). With 204K context and standard text-in/text-out modality, it excels at real-world software engineering, professional office automation, and complex agentic workflows.

For a TheRouter operator, M2.7 is the best-in-class open-weight model for agentic SWE and production debugging at a fraction of the cost of closed frontier models. It approaches Claude Opus 4.6-level coding performance on VIBE-Pro (55.6%) while costing $0.40/M tokens input and $1.60/M tokens output β€” roughly 50x cheaper on input than Opus 4.6. The model maintains 97% skill adherence across 40+ complex skills (each exceeding 2,000 tokens), making it ideal for multi-agent harnesses and continuous autonomous iteration loops. Its self-evolution capability means it can autonomously improve its own scaffold: MiniMax documented a 30% internal eval improvement from 100-loop self-optimization.

Best for
  • β€’ Production software engineering β€” SWE-Pro 56.22% matching GPT-5.3-Codex, covering log analysis, bug troubleshooting, code security review, refactoring, ML debugging, and Android development across multiple languages
  • β€’ Multi-language SWE β€” SWE Multilingual 76.5, Multi-SWE-Bench 52.7 β€” strong across Java, Go, Python, TypeScript, Rust, C++, Kotlin and more
  • β€’ Full-project code generation (VIBE-Pro) β€” 55.6% on repo-level code generation, approaching Opus 4.6, covering Web, Android, iOS, simulation, and backend scaffolding
  • β€’ Complex system understanding β€” Terminal Bench 2 (57.0%) and NL2Repo (39.8%) for deep comprehension of complex engineering systems and production environments
  • β€’ Office productivity automation β€” GDPval-AA ELO 1495 (highest among open-source models), excelling at complex Excel/PPT/Word editing, multi-round revisions, and high-fidelity document manipulation
Reach for something else if
  • β€’ Native multimodal input β€” M2.7 is text-in / text-out only (no vision, audio, or image generation). For multimodal tasks route to Doubao Seed 1.6 Vision or GPT-Image
  • β€’ Competition-grade math reasoning β€” frontier models like DeepSeek V3.2 or GPT-5.2 thinking score significantly higher on math benchmarks like AIME
  • β€’ Latency-sensitive real-time streaming β€” for ultra-low latency, use M2.7 Highspeed variant (minimax/m2.7-highspeed) at 2x cost for ~100 tokens/sec output
Context Length
205K
Max Output
66K
Input Priceper 1M tokens
$0.324/ 1M tokens
Output Priceper 1M tokens
$1.30/ 1M tokens

Modalities

text→text

Pricing Breakdown

TypeRate
Input$0.324 / 1M tokens
Output$1.30 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatstop

Specifications

Release date2026-04-06 (announced)www.minimax.io β†—verified
ArchitectureMoE (Mixture of Experts) with interleaved thinking chains and multi-tool orchestration; Transformer backbonegithub.com β†—verified
LicenseModified-MIT (commercial use permitted, self-hosting allowed)huggingface.co β†—verified
Training cutoffNot publicly disclosedunknown
Self-evolution capabilityFirst M2-series model to participate in its own evolution β€” recursive improvement of agent harness, RL pipeline, and scaffolding via self-feedback loopswww.minimax.io β†—verified
Skill adherence97% across 40+ complex skills (each >2,000 tokens)www.minimax.io β†—verified
PredecessorMiniMax M2.5 (February 2026) β€” available on TheRouter as minimax/m2.5www.minimax.io β†—verified

Benchmarks

BenchmarkDistributionScoreSource
SWE-Pro
Matches GPT-5.3-Codex
56.22%accuracywww.minimax.io β†—
SWE Multilingual
Multi-language bug fix benchmark
76.5www.minimax.io β†—
Multi-SWE-Bench
Cross-task SWE benchmark
52.7www.minimax.io β†—
VIBE-Pro
Repo-level full-project code gen β€” near Opus 4.6
55.6%accuracywww.minimax.io β†—
Terminal Bench 2
Complex engineering system comprehension
57.0%accuracywww.minimax.io β†—
NL2Repo
Natural language to repository-level code
39.8%accuracywww.minimax.io β†—
GDPval-AA
Highest ELO among open-source models
1495ELOwww.minimax.io β†—
MLE Bench Lite
Self-evolution: avg across 3 trials; 2nd only to Opus 4.6 (75.7%)
66.6%medal ratewww.minimax.io β†—

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "minimax/m2.7",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

Chat completion

Basic text generation via chat completions endpoint. Supports temperature, max_tokens, top_p, stop, and response_format (JSON mode).

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"minimax/m2.7","messages":[{"role":"user","content":"Write a Rust function to parse CSV"}],"temperature":0.7,"max_tokens":4096}'

More from minimax

Similar models

Cross-provider sibling models

News & changes

2026-04-06

MiniMax M2.7: Early Echoes of Self-Evolution

MiniMax announced M2.7, the first model in the M2-series to actively participate in its own evolution. The model uses recursive self-feedback loops to improve its agent harness, RL training pipeline, and scaffolding autonomously. Key scores include SWE-Pro 56.22%, Terminal Bench 2 57.0%, and GDPval-AA 1495 ELO.

re-authored by TheRouterminimax.io/news β†—

Related news

Frequently asked

Is MiniMax M2.7 a multimodal model?

No. M2.7 is text-in/text-out only. It does not support image, video, or audio input. For multimodal tasks, use Doubao Seed 1.6 Vision or GPT-Image on TheRouter.

Is M2.7 fully open-weight? Can I self-host it?

Yes. M2.7 is released under a Modified-MIT license that permits commercial use and self-hosting. The model card on Hugging Face provides weights and supported inference backends (SGLang, vLLM, Transformers, MLX-LM, KTransformers).

How does M2.7 compare with the previous M2.5?

M2.7 builds on M2.5 with self-evolution capability β€” it can recursively improve its own harness. On SWE-related benchmarks M2.7 scores higher (SWE-Pro 56.22% vs M2.5 ~50% estimated), and its self-evolution loops (MLE Bench Lite 66.6% medal rate) is a new capability not present in M2.5. Pricing remains identical ($0.40/M input, $1.60/M output).

What is the 'self-evolution' feature in M2.7?

Self-evolution refers to M2.7's ability to recursively improve its own agent harness and scaffolding without human intervention. In documented tests, M2.7 ran 100+ autonomous iteration loops of 'analyze failures -> plan changes -> modify code -> run evaluations -> compare results -> keep/revert', achieving a 30% performance improvement on internal eval sets. This is a research-grade capability currently; the production API serves a stable, non-iterating version of the model.

What is the M2.7 Highspeed variant and when should I use it?

M2.7 Highspeed is a variant optimized for output throughput, targeting ~100 tokens/sec output at double the cost ($0.80/M input, $3.20/M output). Use it for latency-sensitive applications like real-time chat, voice assistants, or interactive coding agents. Route via minimax/m2.7-highspeed on TheRouter.

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release datewww.minimax.io β†—2026-05-27verified
Architecturegithub.com β†—2026-05-27verified
Licensehuggingface.co β†—2026-05-27verified
Training cutoffβ€”β€”unknown
Self-evolution capabilitywww.minimax.io β†—2026-05-27verified
Skill adherencewww.minimax.io β†—2026-05-27verified
Predecessorwww.minimax.io β†—2026-05-27verified
SWE-Prowww.minimax.io β†—2026-05-27verified
SWE Multilingualwww.minimax.io β†—2026-05-27verified
Multi-SWE-Benchwww.minimax.io β†—2026-05-27verified
VIBE-Prowww.minimax.io β†—2026-05-27verified
Terminal Bench 2www.minimax.io β†—2026-05-27verified
NL2Repowww.minimax.io β†—2026-05-27verified
GDPval-AAwww.minimax.io β†—2026-05-27verified
MLE Bench Litewww.minimax.io β†—2026-05-27verified
MiniMax M2.7: Early Echoes of Self-Evolutionminimax.io/news β†—2026-05-27verified
Is M2.7 fully open-weight? Can I self-host it?huggingface.co β†—2026-05-27to verify
How does M2.7 compare with the previous M2.5?www.minimax.io β†—2026-05-27to verify
What is the 'self-evolution' feature in M2.7?www.minimax.io β†—2026-05-27to verify
What is the M2.7 Highspeed variant and when should I use it?github.com β†—2026-05-27to verify
Help & contact