minimax-m3.1-flash

文本

MiniMax-M3.1-Flash 是 MiniMax 推出的原生多模态 Agent 模型,支持文本、图片和视频输入,输出文本,具备 100 万 token 上下文窗口。模型面向 Agent 推理、工具调用、编程和长上下文任务,支持交错思维链与可调思考深度。

Input price

¥0.0955% off

Market: ¥0.1

/ M

Output price

¥3.85% off

Market: ¥4

/ M

Cache read

¥0.955% off

Market: ¥1

/ M

Input

Text / Image / Video

Output

Text

Dynamic pricing

Prices vary by usage tier and request conditions

Tiered price table

  • base
    Input¥0.095
    Output¥3.8
    Cache read¥0.95
TierInputOutputCache read
base
¥0.095¥3.8¥0.95

API

Quick Start

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

1

Get your API key

Create an API key from your dashboard and set it as an environment variable:

Replace sk-xxxxxxxx with your API token from the console (Bearer token).

Create API token
shell
export EASYAPI_API_KEY=sk-xxxxxxxx
2

Make your first request

Use minimax/minimax-m3.1-flash with the EasyAPI API:

cURL
curl https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{
  "model": "minimax/minimax-m3.1-flash",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ]
}'
3

Enable streaming

Add "stream": true to your request body to receive responses as server-sent events:

curl
curl -N https://token.easyapi.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $EASYAPI_API_KEY" \
  -d '{"model":"minimax/minimax-m3.1-flash","messages":[{"role":"user","content":"Hello!"}],"stream":true}'

Endpoint

Sends a chat completion request. Supports streaming and non-streaming modes.

POSThttps://token.easyapi.com/v1/chat/completions
Authorization
Bearer $EASYAPI_API_KEY
Content-Type
application/json
Model
minimax/minimax-m3.1-flash

Send a chat completion request, with streaming or non-streaming responses. Docs

GEThttps://token.easyapi.com/v1/models
Authorization
Bearer $EASYAPI_API_KEY

List the models available to the current account. Docs

Parameters

NameTypeDefaultDescription
modelstring—Model ID, e.g. openai/gpt-4o or anthropic/claude-3-5-sonnet
messagesarray—List of conversation messages, each with role and content
streambooleanfalseWhen true, the response is streamed via SSE
temperaturefloat1Sampling temperature; higher values are more random
max_tokensinteger—Maximum number of tokens generated in a single reply
top_pfloat1Nucleus sampling; limits the cumulative probability of candidate tokens
frequency_penaltyfloat0Frequency penalty; reduces repeated wording
presence_penaltyfloat0Presence penalty; encourages new topics

Using third-party SDKs

Official OpenAI and other SDKs work by swapping the base URL. See integration guide

How is the minimax-m3.1-flash API billed?
minimax-m3.1-flash is pay-as-you-go from ¥0.095 / 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-m3.1-flash 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-m3.1-flash, 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-m3.1-flash 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-m3.1-flash?
Sign up for EasyAPI, create an API key in the console and top up your balance to call minimax-m3.1-flash pay-as-you-go, no subscription needed. You can also try it in the online Playground first, then copy the Quick Start example.