MiniMax M2.1
By MiniMax. 228.7 billion parameters, a context window of 204,800 tokens and the licence other.
Facts
- Released
- 2025-12-20 the day the repository was first published on Hugging Face Hugging Face, read
- Licence
- other the licence the model card declares Hugging Face, read
- Open weights
- Yes the weights are published in this Hugging Face repository Hugging Face, read
- Parameters
- 228.7 billion counted from the safetensors weight files Hugging Face, read
- Active parameters
- 11.0 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
- Knowledge cutoff
- Unknown
- Context window
- 196,608 tokens the maximum position embeddings in the model configuration model configuration, read
- 204,800 tokens the context length OpenRouter lists OpenRouter, read
- Longest output
- 131,072 tokens the largest output OpenRouter's first provider allows OpenRouter, read
- Tool calling
- Yes OpenRouter lists tools among the supported parameters OpenRouter, read
- Structured output
- Yes OpenRouter lists response_format, a JSON mode, among the supported parameters OpenRouter, read
- Reasoning controls
- Yes OpenRouter lists reasoning controls OpenRouter, read
- Inputs and outputs
- text in, text out Hugging Face, read
- Good for
- Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read
Prices
| Provider | Input | Output | Context | As of | Source |
|---|---|---|---|---|---|
| Meganova direct | 0.280 USD | 1.20 USD | 196,608 | older than 30 days; check the provider | models.dev, read |
| Hugging Face direct | 0.300 USD | 1.20 USD | 204,800 | older than 30 days; check the provider | models.dev, read |
| Minimax through OpenRouter | 0.300 USD | 1.20 USD | 204,800 | OpenRouter endpoints, read | |
| Novita through OpenRouter | 0.300 USD | 1.20 USD | 204,800 | OpenRouter endpoints, read | |
| Minimax through OpenRouter | 0.300 USD | 2.40 USD | 204,800 | OpenRouter endpoints, read |
Run it on your own hardware
Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.
| Quantization | Weights | Memory at 8,192 tokens | Memory at 32,768 tokens |
|---|---|---|---|
| IQ1_S | 43.3 GiB | 47.9 GiB | 53.7 GiB |
| IQ1_M | 48.1 GiB | 52.9 GiB | 58.7 GiB |
| IQ2_XXS | 56.0 GiB | 61.2 GiB | 67.0 GiB |
| IQ2_XS | 62.4 GiB | 67.9 GiB | 73.7 GiB |
| IQ2_S | 63.4 GiB | 69.0 GiB | 74.8 GiB |
| IQ2_M | 69.7 GiB | 75.6 GiB | 81.4 GiB |
| Q2_K_S | 72.2 GiB | 78.3 GiB | 84.1 GiB |
| Q2_K | 77.6 GiB | 83.9 GiB | 89.7 GiB |
| IQ3_XXS | 81.9 GiB | 88.4 GiB | 94.3 GiB |
| IQ3_XS | 86.9 GiB | 93.7 GiB | 99.5 GiB |
| Q3_K_S | 91.9 GiB | 98.9 GiB | 105 GiB |
| IQ3_S | 91.9 GiB | 99.0 GiB | 105 GiB |
| IQ3_M | 93.1 GiB | 100 GiB | 106 GiB |
| Q3_K_M | 102 GiB | 109 GiB | 115 GiB |
| Q3_K_L | 110 GiB | 118 GiB | 124 GiB |
| IQ4_XS | 114 GiB | 122 GiB | 127 GiB |
| Q4_0 | 121 GiB | 129 GiB | 135 GiB |
| Q4_K_S | 121 GiB | 130 GiB | 135 GiB |
| Q4_K_M | 129 GiB | 138 GiB | 144 GiB |
| Q4_1 | 133 GiB | 142 GiB | 148 GiB |
| Q5_K_S | 147 GiB | 156 GiB | 162 GiB |
| Q5_K_M | 151 GiB | 161 GiB | 167 GiB |
| Q6_K | 175 GiB | 186 GiB | 192 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/mradermacher/MiniMax-M2.1-i1-GGUF:Q4_0 - LM Studio
lms get mradermacher/MiniMax-M2.1-i1-GGUF lms server start - llama.cpp server
llama-server -hf mradermacher/MiniMax-M2.1-i1-GGUF:Q4_0 --jinja - vLLM
vllm serve MiniMaxAI/MiniMax-M2.1 - SGLang
sglang serve --model-path MiniMaxAI/MiniMax-M2.1 --port 30000
Use it from your harness
Set up for Hugging Face with the model MiniMaxAI/MiniMax-M2.1. Each endpoint page has the same setup for its own address.
OpenCode
Put this in opencode.json in your project folder:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"huggingface": {
"npm": "@ai-sdk/openai-compatible",
"name": "Hugging Face",
"options": {
"baseURL": "https://router.huggingface.co/v1",
"apiKey": "{env:HF_TOKEN}"
},
"models": {
"MiniMaxAI/MiniMax-M2.1": {
"name": "MiniMax M2.1",
"limit": {
"context": 204800,
"output": 131072
}
}
}
}
}
}- OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.
From OpenCode documentation, read .
Pi
Put this in ~/.pi/agent/models.json:
{
"providers": {
"huggingface": {
"baseUrl": "https://router.huggingface.co/v1",
"api": "openai-completions",
"apiKey": "$HF_TOKEN",
"models": [
{
"id": "MiniMaxAI/MiniMax-M2.1"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Codex speaks only the Responses API, and Hugging Face documents no Responses address. A gateway that offers one can sit in between.
- Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.
From Codex documentation, read .
Claude Code
Claude Code sends Anthropic Messages requests, and Hugging Face documents no such address. A gateway that translates to that API can sit in between.
- Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.
From Claude Code documentation, read .
Other ways to reach it
- Meganova, model
MiniMaxAI/MiniMax-M2.1 - OpenRouter, model
minimax/minimax-m2.1 - Ollama, model
hf.co/mradermacher/MiniMax-M2.1-i1-GGUF:Q4_0
Published results
These are results other people published. Baltor did not run them and does not rank models by them.
- Results the maker published on the model card published by MiniMaxAI Hugging Face, read
Sources of this page
- huggingface.co/api/models/MiniMaxAI/MiniMax-M2.1, read
- huggingface.co/MiniMaxAI/MiniMax-M2.1/raw/main/config.json, read
- huggingface.co/api/models/mradermacher/MiniMax-M2.1-i1-GGUF/tree/main, read
- openrouter.ai/api/v1/models/minimax/minimax-m2.1/endpoints, read
- openrouter.ai/api/v1/models, read
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.