# MiniMax M3.1-Flash

> MiniMax: MiniMax M3.1-Flash 是一款前沿的多模态语言模型，具有 100 万 token 的上下文窗口，专为智能体推理、工具调用、编程和长文本任务而设计。它支持文本、图像和视频输入，并提供可调的思考深度（通过努力程度控制），以平衡推理质量、延迟和 token 使用量。

- Model ID: `minimax/minimax-m3.1-flash`
- Manufacturer: MiniMax
- Context length: 1M tokens
- Max output: 512K tokens
- Input: text, image, video
- Output: text
- Capabilities: tools, reasoning, streaming, vision, caching
- Released: 2026-10-19
- Page: https://amux.ai/zh/models/minimax/minimax-m3.1-flash

## Providers and prices

Prices in USD, base tier. Route to a specific provider with `model: "<model id>:<provider slug>"`; without a suffix Amux AI picks among healthy providers (weighted random by default; a price-first strategy can be set per API key) and fails over to the next one on errors. Long-context and time-of-day tiers, where they apply, are listed on the page.

- **MiniMax** (`minimax`) (promotion): input_text $0.0975/1M tokens · output_text $0.39/1M tokens · cache_read $0.0098/1M tokens

## Example request

`POST https://gateway.amux.ai/v1/chat/completions`

```bash
curl https://gateway.amux.ai/v1/chat/completions \
  -H "Authorization: Bearer $AMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "anthropic-beta: <value>" \
  -d '{
    "model": "minimax/minimax-m3.1-flash",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }'
```

## Popular apps (30d, through 2026-12-05)

Top client apps routing traffic to this model on Amux AI (share of model traffic):

- #1 [Claude Code](https://amux.ai/zh/apps/claude-code.md) — 2.4%: Anthropic 官方编程智能体，支持终端 CLI、IDE 与桌面端协同完成端到端软件工程。
