Seedream 5.0 Pro est en ligne | Essayez dans le Générateur d'images →
minimax
minimax/minimax-m2.1

minimax/minimax-m2.1

Date de publication: 2025-12-23

196,608 context · $0.30/M input tokens · $1.20/M output tokens

MiniMax-M2.1 is a lightweight, state-of-the-art large language model optimized for coding, agentic workflows, and modern application development. With only 10 billion activated parameters, it delivers a major jump in real-world...

Tarification

Paiement à l'usage

Aucun coût initial, payez uniquement ce que vous utilisez

Entrée$0.30 / M Tokens
Sortie$1.20 / M Tokens
Cache Read$0.03 / M Tokens

Essayer le modèle

minimax/minimax-m2.1
En ligne
minimax
Bonjour ! Je suis un assistant IA utile. Que puis-je faire pour vous ?
Prêt à utiliser ce modèle dans un coding agent local ?Setup agent

Utilisation de l'API

Utilisez les exemples de code suivants pour intégrer notre API :

import OpenAI from 'openai';

if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
  apiKey: process.env.WAVESPEED_API_KEY,
  baseURL: 'https://llm.wavespeed.ai/v1',
  timeout: 120_000,
  maxRetries: 2,
});

try {
  const response = await client.chat.completions.create({
    model: 'minimax/minimax-m2.1',
    messages: [{ role: 'user', content: 'Hello!' }],
  });
  console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
  console.error('LLM request failed:', error);
  process.exitCode = 1;
}

Introduction au modèle

Minimax minimax-m2.1

MiniMax-M2

MiniMax-M2.1 is a lightweight, state-of-the-art large language model optimized for coding, agentic workflows, and modern application development.


Why It Looks Great

  • MoE (Mixture of Experts) architecture for efficient processing
  • 196608 context window for long document handling
  • Competitive pricing at $0.3/$1.0 per million tokens

Key Features

  • Context Window: 196608 tokens
  • Max Output: N/A tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderMinimax
Model TypeLarge Language Model (LLM)
ArchitectureMoE (Mixture of Experts)
Context Window196608 tokens
Max Outputtokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.3
Output$1.0

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: minimax/minimax-m2.1


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="minimax/minimax-m2.1",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "minimax/minimax-m2.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: minimax/minimax-m2.1
  • Provider: Minimax

Infos

Fournisseurminimax
Typellm

Fonctionnalités prises en charge

Entrée
Texte
Sortie
Texte
Contexte196,608
Sortie max-
Vision-
Function Calling✓ Pris en charge

Guide d'accès API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID du modèleminimax/minimax-m2.1

Minimax M2.1 API

minimax/minimax-m2.1

MiniMax-M2.1 is a lightweight, state-of-the-art large language model optimized for coding, agentic workflows, and modern application development. With only 10 billion activated parameters, it delivers a major jump in real-world...

Entrée

$0.3 /M

Sortie

$1.2 /M

Contexte

197K

Utilisation d'outils

Pris en charge

Essayez Minimax M2.1 sur WaveSpeedAI

Accédez à Minimax M2.1 via notre API unifiée — compatible OpenAI, sans démarrages à froid, prix transparents.

Questions fréquentes sur Minimax M2.1

Combien coûte l'API Minimax M2.1 ?+

Tarification sur WaveSpeedAI : $0.30 par million de tokens d'entrée et $1.20 par million de tokens de sortie. Le prompt caching et le traitement par batch sont facturés séparément et réduisent le coût effectif sur les charges longues et répétitives.

Quelle est la fenêtre de contexte de Minimax M2.1 ?+

Minimax M2.1 prend en charge jusqu'à 197K tokens de contexte et jusqu'à — tokens de sortie par requête.

Minimax M2.1 est-il compatible avec OpenAI ?+

WaveSpeedAI expose Minimax M2.1 à https://llm.wavespeed.ai/v1 via l’interface Chat Completions compatible OpenAI. La plupart des clients du SDK OpenAI fonctionnent en changeant l’URL de base et la clé API ; les champs facultatifs dépendent du modèle.

Comment démarrer avec Minimax M2.1 ?+

Connectez-vous à WaveSpeedAI, créez une clé API dans Access Keys, puis envoyez une requête à https://llm.wavespeed.ai/v1/chat/completions avec l’id du modèle affiché ci-dessus. Consultez le catalogue actuel pour la disponibilité, les capacités et les tarifs.

APIs LLM associées

MiniMax M2.1 | MiniMax Coding LLM API | WaveSpeedAI