# MiniMax M2

MiniMax's M2 is an open-weight mixture-of-experts model with 230B total and 10B active parameters, for coding and agents. It uses interleaved thinking, reasoning between steps, for multi-file edits and long tool-use chains.

- **Model id:** `opencheap/minimax-m2`
- **Price per 1M tokens:** $0.0045 input / $0.018 output
- **Cached input:** $0.00068 per 1M tokens
- **Context:** 196K tokens, 8K max output

## Providers

3 providers. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| Qubax · quantization unknown | $0.0045 | $0.00068 | $0.018 | 196K | 8K |
| Surplus · quantization unknown | $0.024 | $0.0036 | $0.096 | 196K | 8K |
| NanoGPT · quantization unknown | $0.17 | $0.085 | $1.53 | 196K | 131K |

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `reasoning`, `include_reasoning` (tools not confirmed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/minimax-m2#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/minimax-m2`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/minimax-m2", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/minimax-m2",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/minimax-m2",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About MiniMax M2

MiniMax M2 costs from $0.0045 per 1M input tokens and $0.018 per 1M output tokens on OpenCheap, with cached input at $0.00068 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.000063, and 1,000 such requests about $0.063. Prices as of 2026-12-04 12:01 UTC.

3 providers serve MiniMax M2 on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 196K tokens (196,608), room for roughly 150,000 words of English in one request.

MiniMax M2 is one of [11 MiniMax models](https://opencheap.si/models/lab/minimax) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the MiniMax M2 API cost per 1M tokens?

MiniMax M2 costs from $0.0045 per 1M input tokens and $0.018 per 1M output tokens on OpenCheap, with cached input at $0.00068 per 1M tokens. Prices as of 2026-12-04 12:01 UTC.

### What does one MiniMax M2 request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.000063, and 1,000 such requests about $0.063. Every answer reports its own cost in usage.cost.

### Which providers serve MiniMax M2?

3 providers serve MiniMax M2 on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of MiniMax M2?

Its context window is 196K tokens (196,608), room for roughly 150,000 words of English in one request.

### How do I call the MiniMax M2 API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/minimax-m2. One OpenCheap key works for every model; the rest of your code stays the same.

## More from MiniMax

- [MiniMax M3](https://opencheap.si/models/minimax-m3) (`minimax-m3`): $0.24 / $1.01 per 1M · 1M context
- [m2.5-highspeed-20260218](https://opencheap.si/models/m2.5-highspeed-20260218) (`m2.5-highspeed-20260218`): $0.63 / $2.53 per 1M · 204K context
- [MiniMax 01](https://opencheap.si/models/minimax-01) (`minimax-01`): $0.14 / $1.12 per 1M · 1M context
- [MiniMax Latest](https://opencheap.si/models/minimax-latest) (`minimax-latest`): $0.30 / $1.20 per 1M · 512K context
- [MiniMax M2.1](https://opencheap.si/models/minimax-m2.1) (`minimax-m2.1`): $0.083 / $0.27 per 1M · 204K context
- [MiniMax M3 Preview](https://opencheap.si/models/minimax-m3-preview) (`minimax-m3-preview`): $0.36 / $1.44 per 1M · 524K context
- [MiniMax M3 Thinking](https://opencheap.si/models/minimax-m3:thinking) (`minimax-m3:thinking`): $0.30 / $1.20 per 1M · 512K context
- [MiniMax M3.1 Flash](https://opencheap.si/models/minimax-m3.1-flash) (`minimax-m3.1-flash`): $0.0075 / $0.03 per 1M · 1M context

[All 11 MiniMax models](https://opencheap.si/models/lab/minimax)

## Similar models

- [Gemma 4 26B A4B It](https://opencheap.si/models/gemma-4-26b-a4b): Google · 262K context · $0.01 / $0.03 per 1M · [Compare with MiniMax M2](https://opencheap.si/compare/minimax-m2-vs-gemma-4-26b-a4b)
- [GLM 5.3 Flash](https://opencheap.si/models/glm-5.3-flash): Zhipu · 1M context · $0.0064 / $0.022 per 1M · [Compare with MiniMax M2](https://opencheap.si/compare/minimax-m2-vs-glm-5.3-flash)
- [Qwen/Qwen3-32B](https://opencheap.si/models/qwen3-32b): Qwen · 131K context · $0.0096 / $0.032 per 1M · [Compare with MiniMax M2](https://opencheap.si/compare/minimax-m2-vs-qwen3-32b)
- [Ministral 3 8B](https://opencheap.si/models/ministral-3-8b): Mistral · 128K context · $0.018 / $0.018 per 1M · [Compare with MiniMax M2](https://opencheap.si/compare/minimax-m2-vs-ministral-3-8b)
- [zai-org/GLM-4.7-Flash](https://opencheap.si/models/glm-4.7-flash): Zhipu · 202K context · $0.0048 / $0.032 per 1M · [Compare with MiniMax M2](https://opencheap.si/compare/minimax-m2-vs-glm-4.7-flash)
- [NVIDIA Nemotron 3 Nano 30B](https://opencheap.si/models/nemotron-3-nano-30b-a3b): NVIDIA · 262K context · $0.0072 / $0.029 per 1M · [Compare with MiniMax M2](https://opencheap.si/compare/minimax-m2-vs-nemotron-3-nano-30b-a3b)

[Compare MiniMax M2 with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/minimax-m2 · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
