# MiniMax M2.7

> MiniMax M2.7 is a large language model for complex software engineering, agentic tool use, and office productivity workflows. Supports complex agent harnesses, dynamic tool search, Agent Teams, and high-fidelity coding and document-editing tasks. Available via NVIDIA NIM and Cloudflare AI Gateway.

**ID**: `minimax/m2.7`  
**Creator**: minimax  
**Category**: text  
**Context**: 205K tokens  
**Pricing**: $0.30 / $1.20 per 1M · billed by your provider (BYOK)  
**Released**: 2026-03-18  
**Web page**: https://anyrouter.dev/model/minimax/m2.7

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming, coding, function-calling

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/m2.7",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| aihubmix-byok | $0.30/M (list) | $1.20/M (list) |
| aihubmix-byok | $0.30/M (list) | $1.20/M (list) |
| ollama-byok | $0.30/M (list) | $1.20/M (list) |
| openrouter-byok | $0.30/M (list) | $1.20/M (list) |
| opencode-zen-byok | $0.30/M (list) | $1.20/M (list) |
| opencode-go-byok | $0.30/M (list) | $1.20/M (list) |
| commandcode-byok | $0.30/M (list) | $1.20/M (list) |
| gmicloud-byok | $0.30/M (list) | $1.20/M (list) |
| sambanova-byok | $0.30/M (list) | $1.20/M (list) |
| router-byok | $0.30/M (list) | $1.20/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Benchmarks

- **GPQA Diamond**: 0.9
- **HLE**: 0.3
- **τ²-Bench Telecom**: 0.8
- **SciCode**: 0.5

## Source

- Upstream docs: https://build.nvidia.com/minimaxai/minimax-m2.7
