Unlock exclusive introductory pricing for the newly launched Gemini 3.5 Flash.
M

minimax-m2

Eingabe:$0.24/M
Ausgabe:$0.96/M
Veröffentlicht:Oct 1, 2025

minimax-m2 ist ein kompaktes und effizientes Large Language Model, optimiert für End-to-End-Programmierung und Agenten-Workflows, mit 10 Milliarden aktiven Parametern (230 Milliarden Gesamtparametern). Es erreicht nahe am State-of-the-Art liegende Leistungen in allgemeiner Inferenz, Tool-Nutzung und mehrschrittiger Aufgabenausführung, bei gleichzeitig geringer Latenz und hoher Bereitstellungseffizienz. Das Modell überzeugt in Code-Generierung, Bearbeitung über mehrere Dateien, Compile-Run-Fix-Schleifen und Fehlerbehebung während der Testverifikation, erzielt hervorragende Ergebnisse in Benchmarks wie SWE-Bench Verified, Multi-SWE-Bench und Terminal-Bench und zeigt Wettbewerbsfähigkeit bei der Aufgabenplanung mit langen Zyklen, der Informationsbeschaffung und der Behebung von Ausführungsfehlern in Agentenbewertungen wie BrowseComp und GAIA. Laut der Bewertung von Artificial Analysis rangiert MiniMax-M2 in der Spitzengruppe der Open-Source-Modelle in Bereichen umfassender Intelligenz wie Mathematik, wissenschaftlicher Inferenz und Befolgen von Anweisungen. Die geringe Anzahl aktiver Parameter ermöglicht schnelle Inferenz, hohe Parallelität und bessere Unit Economics, was es ideal für großangelegte Agentenbereitstellungen, Entwickler-Hilfstools und inferenzgetriebene Anwendungen macht, die Reaktionsgeschwindigkeit und Kosteneffizienz erfordern.

Neu
Kommerzielle Nutzung

Playground für minimax-m2

Erkunden Sie minimax-m2's Playground — eine interaktive Umgebung zum Testen von Modellen und Ausführen von Abfragen in Echtzeit. Probieren Sie Prompts aus, passen Sie Parameter an und iterieren Sie sofort, um die Entwicklung zu beschleunigen und Anwendungsfälle zu validieren.

Technical Specifications of minimax-m2

SpecificationDetails
Model IDminimax-m2
ProviderMiniMax
Model typeLarge language model
Core positioningCompact, efficient model for programming and agent workflows
Active parameters10 billion
Total parameters230 billion
Primary strengthsCode generation, multi-file editing, compile-run-fix loops, defect repair, tool use, multi-step task execution
Performance profileNear state-of-the-art in general inference, tool use, and agent-style execution with low latency
Benchmark highlightsSWE-Bench Verified, Multi-SWE-Bench, Terminal-Bench, BrowseComp, GAIA
Deployment advantagesFast inference, high concurrency, strong unit economics, scalable deployment efficiency
Best-fit use casesLarge-scale agents, developer assistants, inference-driven applications, cost-sensitive production systems

What is minimax-m2?

minimax-m2 is a compact and efficient large language model designed for end-to-end programming tasks and agent-oriented workflows. It uses 10 billion active parameters out of 230 billion total parameters, giving it a strong balance between capability, latency, and deployment efficiency.

The model is built to perform well across code-heavy and execution-based scenarios, especially where systems need to reason through multiple steps, use tools effectively, and recover from errors during longer task chains. It is particularly well suited for environments that require code generation, repository-level changes, iterative debugging, and test-driven repair.

minimax-m2 also stands out for combining strong general intelligence with practical operational efficiency. It has shown competitive results in benchmarks covering software engineering, terminal execution, browsing-based problem solving, and agent planning, while its relatively small active parameter footprint makes it attractive for high-throughput and cost-efficient deployment.

Main features of minimax-m2

  • Compact active architecture: With 10 billion active parameters and 230 billion total parameters, minimax-m2 is optimized to deliver strong capability while keeping inference fast and efficient.
  • Programming-focused performance: The model excels in code generation, multi-file editing, compile-run-fix loops, and defect repair, making it highly effective for software engineering workflows.
  • Agent workflow optimization: minimax-m2 is designed for tool use, multi-step execution, and long-horizon task handling, which makes it suitable for autonomous and semi-autonomous agent systems.
  • Strong benchmark competitiveness: It performs well on evaluations such as SWE-Bench Verified, Multi-SWE-Bench, Terminal-Bench, BrowseComp, and GAIA, indicating broad utility across coding and agent tasks.
  • General reasoning capability: Beyond coding, the model is rated in the top tier of open-source systems in areas such as mathematics, scientific inference, and instruction following.
  • Low-latency deployment: Its efficient active parameter count supports faster response times, better concurrency, and improved production economics.
  • Scalable for production use: minimax-m2 is a strong fit for large-scale agent deployment, developer support tools, and applications that need both responsiveness and cost control.

How to access and integrate minimax-m2

Step 1: Sign Up for API Key

To get started, sign up on the CometAPI platform and generate your API key from the dashboard. Once you have your API credentials, you can use them to authenticate requests to the minimax-m2 model.

Step 2: Send Requests to minimax-m2 API

After obtaining your API key, send requests to CometAPI’s compatible chat completions endpoint and specify minimax-m2 as the model name.

curl https://api.cometapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "model": "minimax-m2",
    "messages": [
      {
        "role": "user",
        "content": "Write a Python function that checks whether a string is a palindrome."
      }
    ]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_COMETAPI_API_KEY",
    base_url="https://api.cometapi.com/v1"
)

response = client.chat.completions.create(
    model="minimax-m2",
    messages=[
        {"role": "user", "content": "Write a Python function that checks whether a string is a palindrome."}
    ]
)

print(response.choices[0].message.content)

Step 3: Retrieve and Verify Results

Once the API returns a response, extract the generated content from the response object and validate it for your application. For production workflows, you may also want to add logging, schema validation, retries, guardrails, and automated evaluation to verify that minimax-m2 is producing consistent and reliable outputs.

Preise für minimax-m2

Entdecken Sie wettbewerbsfähige Preise für minimax-m2, die für verschiedene Budgets und Nutzungsanforderungen konzipiert sind. Unsere flexiblen Tarife stellen sicher, dass Sie nur für das bezahlen, was Sie nutzen, und erleichtern die Skalierung entsprechend Ihren wachsenden Anforderungen. Erfahren Sie, wie minimax-m2 Ihre Projekte verbessern kann, während die Kosten überschaubar bleiben.

Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Eingabe:$0.24/M
Ausgabe:$0.96/M
Eingabe:$0.3/M
Ausgabe:$1.2/M
-20%

Beispielcode und API für minimax-m2

Greifen Sie auf umfassende Beispielcodes und API-Ressourcen für minimax-m2 zu, um Ihren Integrationsprozess zu optimieren. Unsere detaillierte Dokumentation bietet schrittweise Anleitungen und hilft Ihnen dabei, das volle Potenzial von minimax-m2 in Ihren Projekten zu nutzen.