# MiniMax

MiniMax serves 6 text models on LLM API, all from MiniMax.

Model ID prefix: `minimax/` · 6 models · [MiniMax privacy policy](https://platform.minimax.io/protocol/privacy-policy)
Updated: 2026-11-13
Canonical: https://llmapi.ai/providers/minimax/

## Models and prices

Prices when MiniMax serves the request.

### Text (6)

Prices per 1M tokens.

| Model | Model ID | Input | Output | Cache read | Context |
| --- | --- | --- | --- | --- | --- |
| [MiniMax-M3.1-Flash](https://llmapi.ai/models/minimax-m3-1-flash/) | `minimax/MiniMax-M3.1-Flash` | $0.15 | $0.6 | $0.015 | 1M |
| [MiniMax M3](https://llmapi.ai/models/minimax-m3/) | `minimax/minimax-m3` | $0.6 | $2.4 | $0.06 | 1M |
| [MiniMax M2.1 Lightning](https://llmapi.ai/models/minimax-m2-1-lightning/) | `minimax/minimax-m2.1-lightning` | $0.12 | $0.48 | — | 197K |
| [MiniMax M2.1](https://llmapi.ai/models/minimax-minimax-m2-1/) | `minimax/minimax-m2.1` | $0.27 | $1.1 | — | 205K |
| [MiniMax M2](https://llmapi.ai/models/minimax-minimax-m2/) | `minimax/minimax-m2` | $0.2 | $1 | $0.03 | 197K |
| [MiniMax Text 01](https://llmapi.ai/models/minimax-text-01/) | `minimax/minimax-text-01` | $0.2 | $1.1 | — | 1M |

**Volume pricing.** At higher monthly volume, models on MiniMax may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Send requests to MiniMax

Put `minimax/` before a model ID and the request goes to MiniMax. If MiniMax’s uptime over the last 5 minutes is below 90%, it goes to another provider of the model, unless it sends `X-No-Fallback: true`. [Routing docs](https://docs.llmapi.ai/features/routing)

Example: MiniMax-M3.1-Flash, Chat Completions (`POST /v1/chat/completions`). Set LLMAPI_KEY to your LLM API key.

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="minimax/MiniMax-M3.1-Flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Prices synced 2026-11-13.

Next step: [Get API key](https://app.llmapi.ai/signup)
