minimax-m4

文本

MiniMax-M4 is MiniMax's flagship natively multimodal model, supporting text, image, and video input with a 1M-token context window. It is built for long-horizon coding, complex agents, tool use, professional knowledge, and multimodal understanding.

Input price

¥420% off

Market: ¥5

/ M

Output price

¥1620% off

Market: ¥20

/ M

Cache read

¥0.2420% off

Market: ¥0.3

/ M

Input

Text

Output

Text

Dynamic pricing

Prices vary by usage tier and request conditions

Tiered price table

  • base
    Input¥4
    Output¥16
    Cache read¥0.24
TierInputOutputCache read
base
¥4¥16¥0.24

API

Quick Start

Drop-in code to call this model with EasyAPI's OpenAI-compatible API.

Loading API docs…

Docs are requested the first time you open the API tab.

How is the minimax-m4 API billed?
minimax-m4 is pay-as-you-go from ¥4 / M. The exact rate is listed in the pricing table on this page and billed at EasyAPI's public price, with no subscription required.
How do I call minimax-m4 through the API?
EasyAPI exposes an OpenAI-compatible API: create an API key in the console, set base_url to https://token.easyapi.com and model to minimax/minimax-m4, then send requests to /v1/chat/completions. The Quick Start on this page includes cURL, Python and TypeScript examples; official OpenAI SDKs only need the base_url swapped.
Which request formats does minimax-m4 support?
OpenAI Chat Completions format including streaming (stream). Official OpenAI and Anthropic SDKs work by swapping base_url; see the Parameters table on this page for the full list.
How do I get started with minimax-m4?
Sign up for EasyAPI, create an API key in the console and top up your balance to call minimax-m4 pay-as-you-go, no subscription needed. You can also try it in the online Playground first, then copy the Quick Start example.