---
title: "MiniMax-M4"
id: "minimax-m4"
lab: "MiniMax"
canonical: https://www.requesty.ai/model/minimax/minimax-m4
generated: 2026-12-03T18:54:49.607Z
---

# MiniMax-M4 (minimax-m4)

> MiniMax M4 is the open weight multimodal flagship from MiniMax, with 66B active and 2.74T total parameters and a 1M token context window. Built for long horizon coding and agentic work, with text, image and video input, tool calling and always on reasoning.

## Facts

- **Lab:** MiniMax
- **Weights:** open
- **Context window:** 1M tokens
- **Max output:** 524K tokens
- **Listed:** December 2026
- **Capabilities:** vision, reasoning, tool calling, prompt caching
- **Providers on Requesty:** 1
- **Cheapest endpoint:** $0.80 per 1M input tokens, $3.10 per 1M output tokens on MiniMax
- **Success rate, last 7 days:** 100.00%

## Which id to call

- Any endpoint id from the table below: one specific deployment, no fallback.

## Base URLs

Same key on every gateway. OpenAI-compatible clients take the /v1 URL; the Anthropic SDK and Claude Code take the host.

- Global: https://router.requesty.ai/v1, or https://router.requesty.ai for the Anthropic SDK. Lands on the gateway nearest the caller.
- EU: https://router.eu.requesty.ai/v1, or https://router.eu.requesty.ai for the Anthropic SDK. Frankfurt, AWS eu-central-1.
- US: https://router.us.requesty.ai/v1, or https://router.us.requesty.ai for the Anthropic SDK. United States.
- AP: https://router.ap.requesty.ai/v1, or https://router.ap.requesty.ai for the Anthropic SDK. Asia Pacific.

## Endpoints

List prices are upstream provider rates per 1M tokens, net of any promotion. Requesty adds 5%, including on your own provider keys.

| Endpoint id | Provider | Region | Data | Context | Max output | Input | Output | Cache read | Cache write | Weights |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| `minimaxi/minimax-m4` | MiniMax | Not listed | zero retention | 1M | 524K | $0.80 | $3.10 | $0.05 | - | - |

## Measured on Requesty traffic, last 7 days

Effective price is spend divided by all tokens, input and output, cache hits included. Latency is streaming requests only. A dash is a figure nobody published, not a zero.

| Provider | Share of traffic | Effective $/1M | Cache hit rate | Median TTFT | p95 TTFT | Tokens/s | Success | 5xx | 4xx |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| MiniMax | 100.0% | - | - | - | - | - | 100.00% | 0.0% | 0.0% |

Full dataset: [https://www.requesty.ai/rankings/data.md](https://www.requesty.ai/rankings/data.md)

## Quickstart

```python
import os
from openai import OpenAI

client = OpenAI(base_url="https://router.requesty.ai/v1", api_key=os.environ["REQUESTY_API_KEY"])
response = client.chat.completions.create(
    model="minimaxi/minimax-m4",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
```

The Anthropic SDK works too: set base_url to "https://router.requesty.ai" and send the same model id.

## Questions

### Which providers serve MiniMax-M4?

Requesty lists 1 provider for MiniMax-M4: MiniMax. The pricing table links to each deployment; you can call any of these endpoints with a Requesty key.

### How much does MiniMax-M4 cost?

The lowest listed input rate is $0.80 per million input tokens on MiniMax. That endpoint charges $3.10 per million output tokens. Rates vary by provider, prompt size and region. Pay as you go includes a 5% Requesty fee, including when you bring your own provider keys.

### Why can effective price differ from list price?

The list quotes each token type separately. Effective price blends what traffic on Requesty paid for input, output and cache usage into a single dollar amount per million tokens. Workloads with different cache hit rates or more output can have a different effective price.

### Is MiniMax-M4 open weights?

Yes. MiniMax-M4 is an open-weights model from MiniMax. The endpoints can differ in price, speed and data retention.

### What is the context window of MiniMax-M4?

The catalog lists up to 1M context tokens and up to 524K output tokens. Limits vary by endpoint.

### How do I use MiniMax-M4 with the OpenAI SDK?

Set the SDK base URL to "https://router.requesty.ai/v1", pass your Requesty API key, and use "minimaxi/minimax-m4" or the ID of a specific endpoint. The quickstart includes Python, JavaScript and cURL examples.

Page: https://www.requesty.ai/model/minimax/minimax-m4
