Baltor Get started

Models

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

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
Meganova direct0.280 USD1.20 USD196,608 older than 30 days; check the providermodels.dev, read
Hugging Face direct0.300 USD1.20 USD204,800 older than 30 days; check the providermodels.dev, read
Minimax through OpenRouter0.300 USD1.20 USD204,800OpenRouter endpoints, read
Novita through OpenRouter0.300 USD1.20 USD204,800OpenRouter endpoints, read
Minimax through OpenRouter0.300 USD2.40 USD204,800OpenRouter 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.

QuantizationWeightsMemory at 8,192 tokensMemory at 32,768 tokens
IQ1_S43.3 GiB47.9 GiB53.7 GiB
IQ1_M48.1 GiB52.9 GiB58.7 GiB
IQ2_XXS56.0 GiB61.2 GiB67.0 GiB
IQ2_XS62.4 GiB67.9 GiB73.7 GiB
IQ2_S63.4 GiB69.0 GiB74.8 GiB
IQ2_M69.7 GiB75.6 GiB81.4 GiB
Q2_K_S72.2 GiB78.3 GiB84.1 GiB
Q2_K77.6 GiB83.9 GiB89.7 GiB
IQ3_XXS81.9 GiB88.4 GiB94.3 GiB
IQ3_XS86.9 GiB93.7 GiB99.5 GiB
Q3_K_S91.9 GiB98.9 GiB105 GiB
IQ3_S91.9 GiB99.0 GiB105 GiB
IQ3_M93.1 GiB100 GiB106 GiB
Q3_K_M102 GiB109 GiB115 GiB
Q3_K_L110 GiB118 GiB124 GiB
IQ4_XS114 GiB122 GiB127 GiB
Q4_0121 GiB129 GiB135 GiB
Q4_K_S121 GiB130 GiB135 GiB
Q4_K_M129 GiB138 GiB144 GiB
Q4_1133 GiB142 GiB148 GiB
Q5_K_S147 GiB156 GiB162 GiB
Q5_K_M151 GiB161 GiB167 GiB
Q6_K175 GiB186 GiB192 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.