High-throughput coding assistance, summarization, and interactive agent loops
MiniMax M3.1 Flash
New Launched on IteraCompute
minimax/minimax-m3.1-flash- Tool calling
支持工具调用 · 支持
- Reasoning
支持推理 · 支持
- Vision
支持视觉 · 支持
- Streaming
支持流式输出 · 支持
- JSON mode
不支持JSON 模式 · 不支持
USD / 1M tokens
- Input
- $0.15
- Cache read
- $0.015
- Cache write
- —
- Output
- $0.60
- Context
- 1M
- Max output
- 512K
- Precision
- 官方精度
- Price checked
Model availability and prices
Overview
MiniMax M3.1 Flash delivers low-latency, high-throughput multimodal reasoning at an economical token rate. It supports a 1,000,000-token context window, up to 524,288 output tokens (including reasoning and final answer), automatic prompt caching with no cache-write fee, function calling, image understanding, and five adaptive reasoning effort levels from low to max.
- Version
- MiniMax-M3.1-Flash
- Input / output
- text, image / text
- Endpoint
- /v1/chat/completions, /v1/responses, /v1/messages
API protocols and integration
- Base URL · OpenAI SDK
https://api.iteracompute.com/v1- 鉴权
Authorization: Bearer ITERACOMPUTE_API_KEY
按接口选择请求字段、读取结果和流式结束标记;下表是协议格式,实际能力与验证范围以本模型说明为准。
| 客户接口 | 本模型状态 | 输入 / 输出预算 | 返回结果 | SSE 结束标记 |
|---|---|---|---|---|
OpenAI Chat CompletionsPOST /v1/chat/completions | 已列入模型资料 | messagesmax_tokens | choices[0].message.content | [DONE] |
OpenAI ResponsesPOST /v1/responses | 已列入模型资料 | inputmax_output_tokens | output[] (SDK: output_text) | response.completed |
Anthropic MessagesPOST /v1/messages | 已列入模型资料 | messages; system (top-level)max_tokens (required) | content[] | message_stop |
Messages SDK 的 Base URL 使用 https://api.iteracompute.com;max_tokens 为必填。其他协议字段请勿直接套用。
LLMs.txt · 复制给 AI 编程助手
包含此模型的 ID、接口格式和参数约束。复制前请核对本页验证范围与当前价格。
# IteraCompute · minimax/minimax-m3.1-flash
Model ID: minimax/minimax-m3.1-flash
Base URL (OpenAI SDK): https://api.iteracompute.com/v1
Authentication: Authorization: Bearer ITERACOMPUTE_API_KEY
Content-Type: application/json
仅使用下列客户接口;不同协议的请求和响应结构不可混用。接口声明不等于每项能力均已实测。
## Chat Completions
POST https://api.iteracompute.com/v1/chat/completions
Input: messages
Output budget: max_tokens
Read result: choices[0].message.content
SSE completion: [DONE]
Docs: https://iteracompute.com/docs.html#api-reference
## Responses
POST https://api.iteracompute.com/v1/responses
Input: input
Output budget: max_output_tokens
Read result: output[] (SDK: output_text)
SSE completion: response.completed
Docs: https://iteracompute.com/docs.html#responses-api
## Messages
POST https://api.iteracompute.com/v1/messages
Input: messages; system (top-level)
Output budget: max_tokens (required)
Read result: content[]
SSE completion: message_stop
Docs: https://iteracompute.com/docs.html#anthropic-messages
## Parameters
配置范围和参数可接收性不等于模型语义能力验收;未公布的默认值不要自行补全。
Parameter revision: be3325018a5a712dc3baf5027cea4a0166905cbcef89ee617ce89dbd4c23e74f
Context tokens: 1000000
Maximum output tokens: 524288
Capability tools: configured enabled (see verification scope)
Capability vision: configured enabled (see verification scope)
Capability json_mode: disabled
Capability reasoning: configured enabled (see verification scope)
Capability streaming: configured enabled (see verification scope)
- n: integer; accepted; min=1; max=1; default=未公布. 生成结果数量;许多线路仅接收 1。
- tools: array; accepted; min=unknown; max=unknown; default=未公布. 工具定义;由应用执行工具调用并回传结果。
- top_p: number; accepted, ignored upstream; min=0 (exclusive); max=1; default=not applicable. 核采样的累积概率阈值。
- stream: boolean; accepted; min=unknown; max=unknown; default=未公布. 启用 SSE 流式输出;结束标记因协议而异。
- max_tokens: integer; accepted; min=1; max=524288; default=未公布. 输出 Token 预算;适用时包含推理 Token。用于 Chat Completions / Messages。
- temperature: number; accepted, ignored upstream; min=0; max=2; default=not applicable. 控制采样随机性;接收但被忽略的值不会控制生成结果。
- tool_choice: any; accepted; min=unknown; max=unknown; default=未公布. 控制是否调用以及调用哪个工具;值的结构因协议而异。
- cache_control: object; unsupported; min=unknown; max=unknown; default=not applicable. 消息、内容块、系统块或工具定义上的缓存策略。
- response_format: object; unsupported; min=unknown; max=unknown; default=not applicable. 文本:Chat 输出格式。图片:只接收 b64_json,与文本 JSON 模式不同。
- presence_penalty: number; unsupported; min=unknown; max=unknown; default=not applicable. 对已出现的 Token 施加惩罚。
- frequency_penalty: number; unsupported; min=unknown; max=unknown; default=not applicable. 按出现频率对重复 Token 施加惩罚。
- max_output_tokens: integer; accepted; min=1; max=524288; default=未公布. Responses 输出预算;Chat 是否接收此字段须单独核对。
- max_completion_tokens: integer; accepted; min=1; max=524288; default=未公布. Chat 输出预算的另一字段,仅在此模型接收时使用。
- reasoning_effort: enum; accepted; values=["low","medium","high","xhigh","max"]; default=max. Chat 推理强度;使用此模型列出的枚举值,不混用其他协议的结构。
## Chat Completions example · JSON body
```json
{
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"max_tokens": 256,
"reasoning_effort": "low"
}
```
## Responses example · JSON body
```json
{
"model": "minimax/minimax-m3.1-flash",
"input": "Reply OK",
"max_output_tokens": 256,
"reasoning": {
"effort": "low"
}
}
```
## Messages example · JSON body
```json
{
"model": "minimax/minimax-m3.1-flash",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"output_config": {
"effort": "low"
}
}
```
## References
Model catalog: https://iteracompute.com/models/
Current prices and billing: https://iteracompute.com/pricing/
Documentation index: https://iteracompute.com/llms.txt
Unknown prices are not zero. Account and subscription limits also apply.
Never include a real API key in an LLM prompt or client-side code.
API parameters
- Context window: 1,000,000 tokens; maximum output budget: 524,288 tokens (recommended 131,072), shared across reasoning and final answer tokens.
- Retail pricing (USD per 1M tokens): Input $0.15, Cache Read $0.015, Output $0.60. Prompt caching uses automatic prefix matching with no separate cache-write fee.
- Supports /v1/chat/completions (max_tokens / max_completion_tokens), /v1/responses (max_output_tokens), and /v1/messages (max_tokens) with streaming and tool calling.
- Adaptive reasoning supports effort levels low, medium, high, xhigh, and max (default: max); disabling reasoning is rejected before dispatch.
以下为当前线路接受的参数与取值范围,账户额度和上下文限制同时适用。参数可接收不代表相关模型能力已经完成验证。
- 工具调用
- 支持
- 推理
- 支持
- 视觉
- 支持
- 流式输出
- 支持
- JSON 模式
- 不支持
参数与取值
点击参数名即可复制;表格可横向滚动查看全部列。用途栏标明协议差异,不能将同名字段视为跨接口通用。
| 参数 | 类型 | 接收状态 | 取值范围 | 用途 / 协议 |
|---|---|---|---|---|
| 整数 | 可接收 | [1, 1] | 生成结果数量;许多线路仅接收 1。 | |
| 数组 | 可接收 | — | 工具定义;由应用执行工具调用并回传结果。 | |
| 数值 | 上游忽略 | (0, 1] | 核采样的累积概率阈值。 | |
| 布尔值 | 可接收 | — | 启用 SSE 流式输出;结束标记因协议而异。 | |
| 整数 | 可接收 | [1, 524288] | 输出 Token 预算;适用时包含推理 Token。用于 Chat Completions / Messages。 | |
| 数值 | 上游忽略 | [0, 2] | 控制采样随机性;接收但被忽略的值不会控制生成结果。 | |
| 按参数约定 | 可接收 | — | 控制是否调用以及调用哪个工具;值的结构因协议而异。 | |
| 对象 | 不支持 | — | 消息、内容块、系统块或工具定义上的缓存策略。 | |
| 对象 | 不支持 | — | 文本:Chat 输出格式。图片:只接收 b64_json,与文本 JSON 模式不同。 | |
| 数值 | 不支持 | — | 对已出现的 Token 施加惩罚。 | |
| 数值 | 不支持 | — | 按出现频率对重复 Token 施加惩罚。 | |
| 整数 | 可接收 | [1, 524288] | Responses 输出预算;Chat 是否接收此字段须单独核对。 | |
| 整数 | 可接收 | [1, 524288] | Chat 输出预算的另一字段,仅在此模型接收时使用。 | |
| 枚举值 | 可接收 | ["low","medium","high","xhigh","max"] | Chat 推理强度;使用此模型列出的枚举值,不混用其他协议的结构。 |
当前配置调用示例
POST /v1/chat/completions
{
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"max_tokens": 256,
"reasoning_effort": "low"
}参数版本:be3325018a5a
API
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.iteracompute.com/v1",
api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.chat.completions.create(
model="minimax/minimax-m3.1-flash",
messages=[
{
"role": "user",
"content": "Reply OK"
}
],
max_tokens=256,
reasoning_effort="low",
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.iteracompute.com/v1",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.chat.completions.create({
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"max_tokens": 256,
"reasoning_effort": "low"
});
console.log(response.choices[0].message.content);curl https://api.iteracompute.com/v1/chat/completions \
-H "Authorization: Bearer ITERACOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-m3.1-flash",
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"max_tokens": 256,
"reasoning_effort": "low"
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.iteracompute.com/v1",
api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.responses.create(
model="minimax/minimax-m3.1-flash",
input="Reply OK",
max_output_tokens=256,
reasoning={
"effort": "low"
},
)
print(response.output_text)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.iteracompute.com/v1",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.responses.create({
"model": "minimax/minimax-m3.1-flash",
"input": "Reply OK",
"max_output_tokens": 256,
"reasoning": {
"effort": "low"
}
});
console.log(response.output_text);curl https://api.iteracompute.com/v1/responses \
-H "Authorization: Bearer ITERACOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-m3.1-flash",
"input": "Reply OK",
"max_output_tokens": 256,
"reasoning": {
"effort": "low"
}
}'import os
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.iteracompute.com",
api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.messages.create(
model="minimax/minimax-m3.1-flash",
max_tokens=256,
messages=[
{
"role": "user",
"content": "Reply OK"
}
],
output_config={
"effort": "low"
},
)
print("".join(block.text for block in response.content if block.type == "text"))import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.iteracompute.com",
apiKey: process.env.ITERACOMPUTE_API_KEY,
});
const response = await client.messages.create({
"model": "minimax/minimax-m3.1-flash",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"output_config": {
"effort": "low"
}
});
console.log(response.content.filter(block => block.type === "text").map(block => block.text).join(""));curl https://api.iteracompute.com/v1/messages \
-H "x-api-key: ITERACOMPUTE_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/minimax-m3.1-flash",
"max_tokens": 256,
"messages": [
{
"role": "user",
"content": "Reply OK"
}
],
"output_config": {
"effort": "low"
}
}'Pricing
USD per million tokens. — means unknown. Account and subscription limits still apply.
- Version / Model ID
minimax/minimax-m3.1-flashMiniMax-M3.1-Flash- Context
- 1M
- Precision
- 官方精度
- Price checked
- Verification scope and sources
View verification scope and sources
2026-12-04 · Live short-request verification on the isolated production-image gateway covered all three text APIs (ordinary and streaming with terminal events and usage), tool calling, mandatory adaptive reasoning, red/blue image recognition, json_mode pre-dispatch rejection, authorization, billing tariff math, and all 14 public parameter boundaries. Full-context quality and sustained load were not tested.
完整 Token 价格
单位:美元 / 百万 Token。— 表示未知价格。上下文区间包含缓存读取和写入 Token,区间为左开右闭 (起点, 终点]。
| 计费项目 | 本站销售价 | 官方参考价 |
|---|---|---|
| 输入 | $0.15 | $0.15 |
| 缓存读取 | $0.015 | $0.015 |
| 输出 | $0.6 | $0.6 |
e70e0af13aa3Vendor-documented context window · 1,000,000 tokens · Maximum output · 524,288 tokens ·
Cost calculator
USD · EstimateAdvanced token usage
Input includes cache reads and writes; these portions must not overlap. Output already includes reasoning; enter reasoning as a subset, never add it twice. Count agent steps and retries as requests.
Estimated monthly cost
—USDMiniMax M3.1 Flash
Cache hits and capacity are not guaranteed.
Cost breakdown
- Uncached input
- —
- Cache read
- —
- Cache writes (5m + 1h)
- —
- Output (including reasoning)
- —
Usage limits
- Adaptive reasoning is mandatory and cannot be disabled; reasoning_effort='none' or thinking.type='disabled' is rejected.
- Chat Completions response_format (json_mode) is disabled on this route because the upstream API ignores it.
- Upstream fixes sampling at temperature=1 and top_p=0.95 (accepted within valid ranges but ignored); presence_penalty, frequency_penalty, and explicit cache_control are disabled, and n is limited to 1.
- Full 1,000,000-token context quality, video input, and sustained high-concurrency latency are outside the current short-request verification scope.
Use cases
Cost-sensitive long-context analysis up to 1,000,000 input tokens
Vision and tool-calling workflows across Chat Completions, Responses, and Messages APIs
Configurable adaptive reasoning from low to max effort
Integration tools and guides
FAQ
How do I call MiniMax M3.1 Flash?
Use Model ID minimax/minimax-m3.1-flash and the native fields in this page's API examples. Declared endpoints: /v1/chat/completions, /v1/responses, /v1/messages.
How is usage priced?
Use the current prices and billing units. Missing prices remain unknown, not free. The calculator uses native Gateway quotes; an estimate is not a bill.
Which parameters and limits apply?
Check the current parameter table and usage limits. Budget fields differ by protocol. Configured limits do not establish full-window quality or guarantee a maximum-length output.
New arrivals
Explore the models selected for New Arrivals, with API pricing, supported capabilities and integration guides.
MiniMax H3 Lite
New
minimax/MiniMax-H3-Lite
MiniMax H3 Lite is the cost-optimized 480P and 768P multimodal video generation model (4–15 s) with synchronized audio.
Launched on IteraCompute
- 480P · per output second
- $0.025
USD unit prices · rounded up to 3 decimal places for display
MiniMax H3 Highspeed
New
minimax/MiniMax-H3-Highspeed
MiniMax H3 Highspeed delivers accelerated asynchronous 480P and 768P multimodal video generation (4–15 s) with synchronized audio.
Launched on IteraCompute
- 480P · per output second
- $0.04
USD unit prices · rounded up to 3 decimal places for display
MiniMax H3 Image Highspeed
New
minimax/MiniMax-H3-Image-Highspeed
MiniMax H3 Image Highspeed is the accelerated H3 image generation and editing tier for low-latency 1K–4K visual workflows.
Launched on IteraCompute
- Text input
- $2.30
- Image output
- $7.60
USD per million tokens