# MiniMax M3.1 Flash

`minimax-m3.1-flash` reasoning dial

MiniMax M3.1 Flash by MiniMax is available through model.lol's OpenAI-, Anthropic- and Gemini-compatible API under the model id minimax-m3.1-flash. It costs $0.11 per million input tokens and $0.43 per million output tokens ($0.011 per million cached input tokens), charged per token from a prepaid balance. That is 27% below MiniMax's official API price. Context window: 1,048,576 tokens. Supports the reasoning dial: append -low, -medium, -high, -thinking, -nothinking to the id.

- **Input:** $0.11 per 1M tokens
- **Output:** $0.43 per 1M tokens
- **Cached input:** $0.011 per 1M tokens
- **Vs official price:** −27%input price
- **Context window:** 1M 1,048,576 tokens

|  |  |
| --- | --- |
| Vendor | MiniMax |
| Prompt-cache writes | $0.138 (5 min) / $0.22 (1 hour) per 1M tokens: 1.25× and 2× the input price |
| Reasoning dial | `minimax-m3.1-flash-low` `minimax-m3.1-flash-medium` `minimax-m3.1-flash-high` `minimax-m3.1-flash-thinking` `minimax-m3.1-flash-nothinking` |
| Also accepted as | `minimax/minimax-m3.1-flash` |
| Added to the catalog | 2026-11-12 |
| Catalog entry updated | 2026-11-28 |

Prices are what a prepaid model.lol balance is charged per token; every answer reports the exact amount in `usage.cost`. A refused or moderated request also carries a violation fee (see [billing](https://model.lol/docs.md#billing)). Signed-in accounts in a pricing group see their group rate on [/pricing](https://model.lol/pricing.md).

## Call it

```
$ curl https://api.model.lol/v1/chat/completions \
  -H "Authorization: Bearer ml-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m3.1-flash",
    "messages": [{"role": "user", "content": "hi"}]
  }'
```

OpenAI SDKs: `base_url = https://api.model.lol/v1`. Anthropic SDKs and `POST /v1/messages` take the same id, and so does Claude Code:

```
export ANTHROPIC_BASE_URL=https://api.model.lol
export ANTHROPIC_AUTH_TOKEN=ml-your-key
claude --model minimax-m3.1-flash
```

Gemini SDKs, the Responses API, streaming and tool calls: see the [docs](https://model.lol/docs.md).

## Other MiniMax models

[minimax-m4](https://model.lol/models/minimax-m4.md)
