Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

minimax-docs.ts

511 lines46.9 KB

1// Excerpts of platform.minimax.io docs pages, fetched 2026-10-06.
2​
3/** api-reference/text-anthropic-api.md: Supported Models through Messages Field Support. */
4export const MINIMAX_SDK_PAGE = [
5 '## Supported Models',
6 '',
7 'When using the Anthropic SDK, the `MiniMax-M3.1-Flash-Preview` `MiniMax-M3` `MiniMax-M2.7` `MiniMax-M2.7-highspeed` `MiniMax-M2.5` `MiniMax-M2.5-highspeed` `MiniMax-M2.1` `MiniMax-M2.1-highspeed` `MiniMax-M2` model is supported:',
8 '',
9 '| Model Name | Context Window | Description |',
10 '| :- | :- | :- |',
11 '| <span style={{whiteSpace:"nowrap"}}>MiniMax-M3.1-Flash-Preview</span> | 1,000,000 | **Frontier multimodal coding model with 1M context window and tunable thinking depth** |',
12 '| MiniMax-M3 | 1,000,000 | **Frontier multimodal coding model with 1M context window** |',
13 '| MiniMax-M2.7 | 204,800 | **Beginning the journey of recursive self-improvement** (output speed approximately 60 tps) |',
14 '| MiniMax-M2.7-highspeed | 204,800 | **M2.7 Highspeed: Same performance, faster and more agile (output speed approximately 100 tps)** |',
15 '| MiniMax-M2.5 | 204,800 | **Peak Performance. Ultimate Value. Master the Complex (output speed approximately 60 tps)** |',
16 '| MiniMax-M2.5-highspeed | 204,800 | **M2.5 highspeed: Same performance, faster and more agile (output speed approximately 100 tps)** |',
17 '| MiniMax-M2.1 | 204,800 | **Powerful Multi-Language Programming Capabilities with Comprehensively Enhanced Programming Experience (output speed approximately 60 tps)** |',
18 '| MiniMax-M2.1-highspeed | 204,800 | **Faster and More Agile (output speed approximately 100 tps)** |',
19 '| MiniMax-M2 | 204,800 | **Agentic capabilities, Advanced reasoning** |',
20 '',
21 '<Note>',
22 ' For details on how tps (Tokens Per Second) is calculated, please refer to [FAQ > About APIs](/docs/faq/about-apis#q-how-is-tps-tokens-per-second-calculated-for-llms).',
23 '</Note>',
24 '',
25 '<Note>',
26 ' The Anthropic API compatibility interface currently only supports the',
27 ' `MiniMax-M3.1-Flash-Preview` `MiniMax-M3` `MiniMax-M2.7` `MiniMax-M2.7-highspeed` `MiniMax-M2.5` `MiniMax-M2.5-highspeed` `MiniMax-M2.1` `MiniMax-M2.1-highspeed` `MiniMax-M2` model. For other models, please use the standard MiniMax API',
28 ' interface.',
29 '</Note>',
30 '',
31 '## Compatibility',
32 '',
33 '### Supported Parameters',
34 '',
35 'When using the Anthropic SDK, we support the following input parameters:',
36 '',
37 '| Parameter | Support Status | Description |',
38 '| :- | :- | :- |',
39 '| `model` | Fully supported | supports `MiniMax-M3.1-Flash-Preview` `MiniMax-M3` `MiniMax-M2.7` `MiniMax-M2.7-highspeed` `MiniMax-M2.5` `MiniMax-M2.5-highspeed` `MiniMax-M2.1` `MiniMax-M2.1-highspeed` `MiniMax-M2` model |',
40 '| `messages` | Partial support | `MiniMax-M3.1-Flash-Preview` and `MiniMax-M3` support text, image, video, tool use, tool result, and thinking blocks. The M2.7, M2.5, M2.1, and M2 series support text and tool-call content blocks only; they do not support image or video input |',
41 '| `max_tokens` | Fully supported | Maximum number of tokens to generate. Thinking tokens count toward it too, so a value that is too small yields `stop_reason: "max_tokens"` with no text output |',
42 '| `stream` | Fully supported | Streaming response |',
43 '| `system` | Fully supported | System prompt |',
44 '| `temperature` | Fully supported | Range \\[0, 2], controls output randomness, recommended value: 1 |',
45 '| `tool_choice` | Fully supported | Tool selection strategy |',
46 '| `tools` | Fully supported | Tool definitions |',
47 '| `top_p` | Fully supported | Nucleus sampling parameter, range \\[0, 1]. Default 0.95 for `MiniMax-M3.1-Flash-Preview` and `MiniMax-M3`, and 0.9 for M2.x models |',
48 '| `metadata` | Fully Supported | Metadata |',
49 '| `thinking` | Fully Supported | `MiniMax-M3.1-Flash-Preview` always thinks and returns `400` if `disabled` is sent. Thinking is off by default for `MiniMax-M3` and can be enabled with `adaptive`. Thinking cannot be disabled for M2.x models. |',
50 '| `output_config.effort` | Fully Supported | Tunes thinking depth for `MiniMax-M3.1-Flash-Preview`. Accepts `low`, `medium`, `high`, `xhigh`, and `max`; defaults to `max` when omitted. |',
51 '| `service_tier` | Fully Supported | Request admission tier. Supported values are `standard` and `priority`; if omitted, requests use `standard`. The `priority` [price](https://platform.minimax.io/docs/pricing/overview) is 1.5 times the `standard` price and ensures priority admission so the request is processed ahead of other requests, leading to faster responses and fewer failures. |',
52 '| `top_k` | Ignored | This parameter will be ignored |',
53 '| `stop_sequences` | Ignored | This parameter will be ignored |',
54 '| `mcp_servers` | Ignored | This parameter will be ignored |',
55 '| `context_management` | Ignored | This parameter will be ignored |',
56 '| `container` | Ignored | This parameter will be ignored |',
57 '',
58 '### Thinking Control',
59 '',
60 'The `thinking` parameter controls whether the model can emit `thinking` content blocks. Behavior differs per model:',
61 '',
62 '| Model | `thinking` omitted | `{"type": "adaptive"}` | `{"type": "disabled"}` |',
63 '| :- | :- | :- | :- |',
64 '| `MiniMax-M3.1-Flash-Preview` | Thinking on | Thinking on | **Returns `400`** — thinking cannot be disabled |',
65 '| `MiniMax-M3` | Thinking off | Thinking on | Thinking stays off |',
66 '| M2.x | Thinking on | Thinking on | Accepted but ignored; thinking remains on |',
67 '',
68 '<Note>',
69 ' The error returned for `thinking: {"type": "disabled"}`:',
70 '',
71 ' ```text theme={null}',
72 ' model "MiniMax-M3.1-Flash-Preview" requires adaptive thinking; thinking.type="disabled" (including reasoning.effort=none) is not allowed (2013)',
73 ' ```',
74 '</Note>',
75 '',
76 'When a response includes `thinking` blocks, preserve them unchanged in later turns, especially in tool-use conversations.',
77 '',
78 '### Thinking Depth Control (MiniMax-M3.1-Flash-Preview only)',
79 '',
80 '`MiniMax-M3.1-Flash-Preview` supports tuning thinking depth through `output_config.effort`, from `low` through `medium`, `high`, `xhigh`, to `max`. Higher levels make the model think more thoroughly, producing more thinking tokens at higher latency. When omitted, `output_config.effort` defaults to `max`.',
81 '',
82 '`none` is not supported and returns `400`.',
83 '',
84 '```bash curl theme={null}',
85 'curl https://api.minimax.io/anthropic/v1/messages \\',
86 ' -H "Authorization: Bearer <MINIMAX_API_KEY>" \\',
87 ' -H "Content-Type: application/json" \\',
88 " -d '{",
89 ' "model": "MiniMax-M3.1-Flash-Preview",',
90 ' "max_tokens": 2048,',
91 ' "output_config": { "effort": "max" },',
92 ' "messages": [{ "role": "user", "content": "Hi, how are you?" }]',
93 " }'",
94 '```',
95 '',
96 '### Messages Field Support',
97 '',
98 '| Field Type | Support Status | Description |',
99 '| :- | :- | :- |',
100 '| `type="text"` | Fully supported | Text messages |',
101 '| `type="image"` | M3.1-Flash-Preview / M3 only | Image input via URL or base64. Supports JPEG, PNG, GIF, WEBP |',
102 '| `type="video"` | M3.1-Flash-Preview / M3 only | Video input via URL, base64, or `mm_file://{file_id}`. Supports MP4, AVI, MOV, MKV |',
103 '| `type="tool_use"` | Fully supported | Tool calls |',
104 '| `type="tool_result"` | Fully supported | Tool call results |',
105 '| `type="thinking"` | Fully supported | Reasoning content. Return the block unchanged in multi-turn thinking conversations |',
106].join('\n')
107​
108/**
109 * guides/pricing-paygo.md: the LLM section and the start of Audio. The
110 * price cells are written as the HTML page's compiled MDX has them since
111 * 2026-10-21 (#399): the unit in the header, a bare `$0.30` in the cell.
112 */
113export const MINIMAX_PRICING_PAGE = [
114 '# Pay as You Go',
115 '',
116 '## LLM',
117 '',
118 '[Recharge Now](https://platform.minimax.io/user-center/payment/balance)',
119 '',
120 '<Tabs>',
121 ' <Tab title="Standard">',
122 ' | **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens |',
123 ' | :- | :- | :- | :- |',
124 ' | **MiniMax-M3**<br />≤ 512k input tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$0.60~~ $0.30 | ~~$2.40~~ $1.20 | ~~$0.12~~ $0.06 |',
125 ' | **MiniMax-M3**<br />> 512k input tokens\\* <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$1.20~~ $0.60 | ~~$4.80~~ $2.40 | ~~$0.24~~ $0.12 |',
126 ' </Tab>',
127 '',
128 ' <Tab title="Priority*">',
129 ' | **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens |',
130 ' | :- | :- | :- | :- |',
131 ' | **MiniMax-M3**<br />≤ 512k input tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$0.90~~ $0.45 | ~~$3.60~~ $1.80 | ~~$0.18~~ $0.09 |',
132 ' | **MiniMax-M3**<br />> 512k input tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$1.80~~ $0.90 | ~~$7.20~~ $3.60 | ~~$0.36~~ $0.18 |',
133 '',
134 ' \\* Priority provides priority admission for faster response times and improved request reliability. Set `service_tier` to `priority` to enable it. Pricing is 1.5x standard.',
135 ' </Tab>',
136 '</Tabs>',
137 '',
138 '| **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens | **Prompt caching Write**<br />$ / M tokens |',
139 '| :- | :- | :- | :- | :- |',
140 '| **MiniMax-M2.7** | $0.3 | $1.2 | $0.06 | $0.375 |',
141 '| **MiniMax-M2.7-highspeed** | $0.6 | $2.4 | $0.06 | $0.375 |',
142 '',
143 '<Accordion title="Legacy Models">',
144 ' | **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens | **Prompt caching Write**<br />$ / M tokens |',
145 ' | :- | :- | :- | :- | :- |',
146 ' | **MiniMax-M2.5** | $0.3 | $1.2 | $0.03 | $0.375 |',
147 ' | **MiniMax-M2.5-highspeed** | $0.6 | $2.4 | $0.03 | $0.375 |',
148 ' | **MiniMax-M2.1** | $0.3 | $1.2 | $0.03 | $0.375 |',
149 ' | **MiniMax-M2.1-highspeed** | $0.6 | $2.4 | $0.03 | $0.375 |',
150 ' | **MiniMax-M2** | $0.3 | $1.2 | $0.03 | $0.375 |',
151 '</Accordion>',
152 '',
153 '<Info>',
154 ' Note:',
155 '',
156 ' 1. The billing item is token count; the token-to-character ratio varies slightly depending on the usage scenario, subject to actual consumption',
157 ' 2. Token to English word ratio (estimate): approximately 750 English words consume 1000 tokens',
158 '</Info>',
159 '',
160 '## Audio',
161 '',
162 '[Recharge Now](https://platform.minimax.io/user-center/payment/balance)',
163 '',
164 '**Automatic Speech Recognition (ASR)**',
165 '',
166 '| **API** | **Endpoint** | **Description** | **Price** |',
167 '| :- | :- | :- | :- |',
168 '| Speech Recognition | Speech-to-Text | Audio-to-text transcription with streaming, speaker diarization, and subtitle (srt/vtt) export. | \\$0.38 / hour |',
169].join('\n')
170​
171/** `max_completion_tokens.description` in openapi-chat-openai.json. */
172export const MINIMAX_MAX_COMPLETION_TOKENS =
173 'Specifies the upper limit for generated content length, in tokens. For MiniMax-M3.1-Flash-Preview and MiniMax-M3 the recommended value is 131072 (128K) and the maximum is 524288 (512K); for other models the recommended value is 65536 (64K) and the maximum is 204800 (200K). If generation stops due to `length`, try increasing this value.'
174​
175// Excerpts of platform.minimaxi.com docs pages, fetched 2026-10-07.
176​
177/** api-reference/text-anthropic-api.md: 支持的模型 through Messages 字段支持. */
178export const MINIMAX_CN_SDK_PAGE = [
179 '## 支持的模型',
180 '',
181 '使用 Anthropic SDK 时,支持 `MiniMax-M3.1-Flash-Preview` `MiniMax-M3` `MiniMax-M2.7` `MiniMax-M2.7-highspeed` `MiniMax-M2.5` `MiniMax-M2.5-highspeed` `MiniMax-M2.1` `MiniMax-M2.1-highspeed` `MiniMax-M2` 模型:',
182 '',
183 '| 模型名称 | 上下文窗口 | 模型介绍 |',
184 '| :- | :-: | :- |',
185 '| <span style={{whiteSpace:"nowrap"}}>MiniMax-M3.1-Flash-Preview</span> | 1,000,000 | **原生多模态、1M 上下文的 Frontier Coding 模型,思考深度可调** |',
186 '| MiniMax-M3 | 1,000,000 | **原生多模态、1M 上下文的 Frontier Coding 模型** |',
187 '| MiniMax-M2.7 | 204,800 | **开启模型的自我迭代**(输出速度约 60 TPS) |',
188 '| MiniMax-M2.7-highspeed | 204,800 | **M2.7 极速版:效果不变,更快,更敏捷**(输出速度约 100 TPS) |',
189 '| MiniMax-M2.5 | 204,800 | **顶尖性能与极致性价比,轻松驾驭复杂任务**(输出速度约 60 TPS) |',
190 '| MiniMax-M2.5-highspeed | 204,800 | **M2.5 极速版:效果不变,更快,更敏捷**(输出速度约 100 TPS) |',
191 '| MiniMax-M2.1 | 204,800 | **强大多语言编程能力,全面升级编程体验**(输出速度约 60 TPS) |',
192 '| MiniMax-M2.1-highspeed | 204,800 | **M2.1 极速版:效果不变,更快,更敏捷**(输出速度约 100 TPS) |',
193 '| MiniMax-M2 | 204,800 | **专为高效编码与 Agent 工作流而生** |',
194 '',
195 '<Note>',
196 ' TPS(Tokens Per Second)的计算方式详见[常见问题 > 接口相关](/docs/faq/about-apis#%E9%97%AE%EF%BC%9A%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B%E7%9A%84-tps%EF%BC%88tokens-per-second%EF%BC%89%E6%98%AF%E5%A6%82%E4%BD%95%E8%AE%A1%E7%AE%97%E7%9A%84)。',
197 '</Note>',
198 '',
199 '<Note>',
200 ' Anthropic API 兼容接口支持 `MiniMax-M3.1-Flash-Preview` `MiniMax-M3` `MiniMax-M2.7` `MiniMax-M2.7-highspeed` `MiniMax-M2.5` `MiniMax-M2.5-highspeed` `MiniMax-M2.1` `MiniMax-M2.1-highspeed` `MiniMax-M2`',
201 ' 模型。如需使用其他模型,请使用标准的 MiniMax API 接口。',
202 '</Note>',
203 '',
204 '## 兼容性说明',
205 '',
206 '### 支持的参数',
207 '',
208 '在使用 Anthropic SDK 接入时,我们支持以下输入参数:',
209 '',
210 '| 参数 | 支持状态 | 说明 |',
211 '| :- | :- | :- |',
212 '| `model` | 完全支持 | 支持 `MiniMax-M3.1-Flash-Preview` `MiniMax-M3` `MiniMax-M2.7` `MiniMax-M2.7-highspeed` `MiniMax-M2.5` `MiniMax-M2.5-highspeed` `MiniMax-M2.1` `MiniMax-M2.1-highspeed` `MiniMax-M2` 模型 |',
213 '| `messages` | 部分支持 | `MiniMax-M3.1-Flash-Preview` 和 `MiniMax-M3` 支持文本、图片、视频、工具调用、工具结果和 thinking 内容块。M2.7、M2.5、M2.1 和 M2 系列仅支持文本与工具调用相关内容块,不支持图片和视频输入 |',
214 '| `max_tokens` | 完全支持 | 最大生成 token 数。思考 token 也计入此上限,设置过小会导致 `stop_reason` 为 `max_tokens` 且无文本输出 |',
215 '| `stream` | 完全支持 | 流式响应 |',
216 '| `system` | 完全支持 | 系统提示词 |',
217 '| `temperature` | 完全支持 | 取值范围 \\[0, 2],控制输出随机性,建议取值 1 |',
218 '| `tool_choice` | 完全支持 | 工具选择策略 |',
219 '| `tools` | 完全支持 | 工具定义 |',
220 '| `top_p` | 完全支持 | 核采样参数,取值范围 \\[0, 1],`MiniMax-M3.1-Flash-Preview` 和 `MiniMax-M3` 默认值 0.95,M2.x 系列默认值 0.9 |',
221 '| `thinking` | 完全支持 | `MiniMax-M3.1-Flash-Preview` 强制开启 thinking,传入 `disabled` 会返回 `400`。`MiniMax-M3` 默认关闭 thinking,可通过 `adaptive` 开启。M2.x 模型的 thinking 无法关闭。 |',
222 '| `output_config.effort` | 完全支持 | 调节 `MiniMax-M3.1-Flash-Preview` 的思考深度,可取 `low`、`medium`、`high`、`xhigh`、`max`;省略时默认为 `max`。 |',
223 '| `metadata` | 完全支持 | 元信息 |',
224 '| `service_tier` | 完全支持 | 请求准入服务层级。支持的取值为 `standard` 和 `priority`;省略时默认使用 `standard`。`priority` 的[价格](/docs/pricing/overview#overview)为 `standard` 的 1.5 倍,并会确保请求获得优先准入,使其排在其他请求之前处理,从而带来更快响应并减少失败。 |',
225 '| `top_k` | 忽略 | 该参数会被忽略 |',
226 '| `stop_sequences` | 忽略 | 该参数会被忽略 |',
227 '| `mcp_servers` | 忽略 | 该参数会被忽略 |',
228 '| `context_management` | 忽略 | 该参数会被忽略 |',
229 '| `container` | 忽略 | 该参数会被忽略 |',
230 '',
231 '### Thinking 控制',
232 '',
233 '`thinking` 参数用于控制模型是否可以输出 `thinking` 内容块。不同模型的行为不同:',
234 '',
235 '| 模型 | 省略 `thinking` | `{"type": "adaptive"}` | `{"type": "disabled"}` |',
236 '| :- | :- | :- | :- |',
237 '| `MiniMax-M3.1-Flash-Preview` | 开启 thinking | 开启 thinking | **返回 `400`**,thinking 无法关闭 |',
238 '| `MiniMax-M3` | 关闭 thinking | 开启 thinking | 保持 thinking 关闭 |',
239 '| M2.x | 开启 thinking | 开启 thinking | 被接收但不生效,thinking 仍保持开启 |',
240 '',
241 '<Note>',
242 ' 传入 `thinking: {"type": "disabled"}` 时返回的错误信息:',
243 '',
244 ' ```text theme={null}',
245 ' model "MiniMax-M3.1-Flash-Preview" requires adaptive thinking; thinking.type="disabled" (including reasoning.effort=none) is not allowed (2013)',
246 ' ```',
247 '</Note>',
248 '',
249 '当响应包含 `thinking` 内容块时,后续轮次中应原样保留这些内容块,尤其是在工具调用对话中。',
250 '',
251 '### 思考深度控制(仅 MiniMax-M3.1-Flash-Preview)',
252 '',
253 '`MiniMax-M3.1-Flash-Preview` 支持通过 `output_config.effort` 调节思考深度,档位从低到高为 `low`、`medium`、`high`、`xhigh`、`max`。档位越高,模型思考越充分,输出的 thinking token 和响应耗时也越多。省略 `output_config.effort` 时默认为 `max`。',
254 '',
255 '`none` 不支持,会返回 `400`。',
256 '',
257 '```bash curl theme={null}',
258 'curl https://api.minimax.cn/anthropic/v1/messages \\',
259 ' -H "Authorization: Bearer <MINIMAX_API_KEY>" \\',
260 ' -H "Content-Type: application/json" \\',
261 " -d '{",
262 ' "model": "MiniMax-M3.1-Flash-Preview",',
263 ' "max_tokens": 2048,',
264 ' "output_config": { "effort": "max" },',
265 ' "messages": [{ "role": "user", "content": "Hi, how are you?" }]',
266 " }'",
267 '```',
268 '',
269 '### Messages 字段支持',
270 '',
271 '| 字段类型 | 支持状态 | 说明 |',
272 '| :- | :- | :- |',
273 '| `type="text"` | 完全支持 | 文本消息 |',
274 '| `type="image"` | 仅 M3.1-Flash-Preview / M3 | 通过 URL 或 base64 输入图片,支持 JPEG、PNG、GIF、WEBP |',
275 '| `type="video"` | 仅 M3.1-Flash-Preview / M3 | 通过 URL、base64 或 `mm_file://{file_id}` 输入视频,支持 MP4、AVI、MOV、MKV |',
276 '| `type="tool_use"` | 完全支持 | 工具调用 |',
277 '| `type="tool_result"` | 完全支持 | 工具调用结果 |',
278 '| `type="thinking"` | 完全支持 | 推理内容。多轮 thinking 对话中需要原样回带 |',
279].join('\n')
280​
281/** `max_completion_tokens.description` in the China openapi-chat-openai.json. */
282export const MINIMAX_CN_MAX_COMPLETION_TOKENS =
283 '指定生成内容长度的上限(Token 数)。MiniMax-M3.1-Flash-Preview 和 MiniMax-M3 推荐值为 131072(128K),上限为 524288(512K);其他模型推荐值为 65536(64K),上限为 204800(200K)。如果生成因 `length` 原因中断,请尝试调高此值。'
284​
285/** platform.minimaxi.com/docs/guides/pricing-paygo.md through `## 语音` (2026-10-07). Prices are yuan. */
286export const MINIMAX_CN_PRICING_PAGE = [
287 '# 按量计费',
288 '',
289 '> MiniMax按量计费定价',
290 '',
291 '按量计费使用开放平台普通 API Key,并按实际用量消耗账户余额。积分是通过订阅 Key 使用的独立预付余额,资源覆盖范围与 Token Plan 相同。积分定价和使用规则请参考 [Token Plan 定价](/docs/guides/pricing-token-plan)。',
292 '',
293 '## 语言模型',
294 '',
295 '[立即充值](https://platform.minimax.cn/user-center/payment/balance)',
296 '',
297 '<Tabs>',
298 ' <Tab title="标准">',
299 ' | **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens |',
300 ' | :- | :-: | :-: | :-: |',
301 ' | **MiniMax-M3**<br />≤ 512k 输入 tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~4.20~~ 2.10 | ~~16.80~~ 8.40 | ~~0.84~~ 0.42 |',
302 ' | **MiniMax-M3**<br />> 512k 输入 tokens\\* <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~8.40~~ 4.20 | ~~33.60~~ 16.80 | ~~1.68~~ 0.84 |',
303 ' </Tab>',
304 '',
305 ' <Tab title="优先*">',
306 ' | **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens |',
307 ' | :- | :-: | :-: | :-: |',
308 ' | **MiniMax-M3**<br />≤ 512k 输入 tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~6.30~~ 3.15 | ~~25.20~~ 12.60 | ~~1.26~~ 0.63 |',
309 ' | **MiniMax-M3**<br />> 512k 输入 tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~12.60~~ 6.30 | ~~50.40~~ 25.20 | ~~2.52~~ 1.26 |',
310 '',
311 ' \\* 优先服务可让请求获得优先准入,从而更快响应并降低失败率。调用时将 `service_tier` 设为 `priority` 即可启用。该层级按标准价格的 1.5 倍计费。',
312 ' </Tab>',
313 '</Tabs>',
314 '',
315 '| **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens | **缓存写入**<br /> 元/百万 tokens |',
316 '| :- | :-: | :-: | :-: | :-: |',
317 '| **MiniMax-M2.7** | 2.1 | 8.4 | 0.42 | 2.625 |',
318 '| **MiniMax-M2.7-highspeed** | 4.2 | 16.8 | 0.42 | 2.625 |',
319 '',
320 '<Accordion title="历史模型">',
321 ' | **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens | **缓存写入**<br /> 元/百万 tokens |',
322 ' | :- | :-: | :-: | :-: | :-: |',
323 ' | **MiniMax-M2.5** | 2.1 | 8.4 | 0.21 | 2.625 |',
324 ' | **MiniMax-M2.5-highspeed** | 4.2 | 16.8 | 0.21 | 2.625 |',
325 ' | **MiniMax-M2.1** | 2.1 | 8.4 | 0.21 | 2.625 |',
326 ' | **MiniMax-M2.1-highspeed** | 4.2 | 16.8 | 0.21 | 2.625 |',
327 ' | **MiniMax-M2** | 2.1 | 8.4 | 0.21 | 2.625 |',
328 '</Accordion>',
329 '',
330 '<Info>',
331 ' 请注意:',
332 '',
333 ' 1. 计费项是token数;tokens字符比值根据使用场景的不同略有浮动,以实际消耗为准,字符数包括标点等',
334 ' 2. Token与字符比(估算):1600 中文字符约消耗 1000 tokens',
335 '</Info>',
336 '',
337 '## 语音',
338].join('\n')
339​
340/**
341 * The pricing overview's MDX as platform.minimax.io/docs/pricing/overview.md
342 * served it on 2026-10-14, before that export flattened tabs (#379), with
343 * the price cells in the 2026-10-21 wording (unit in the header): the
344 * title, the opening `<div>`, then the LLM section through the first table
345 * of Audio.
346 * The navigation block between them is left out. Each `## ` section sits
347 * indented in a `<section>`.
348 */
349export const MINIMAX_PRICING_OVERVIEW_PAGE = [
350 '# Pricing Overview',
351 '',
352 '<div id="pricing-document" data-pricing-language="en" data-pricing-overview-title="Pricing Overview" data-pricing-overview-group="Product Pricing">',
353 ' <section id="models/text" className="pricing-section" data-pricing-title="LLM">',
354 ' ## LLM',
355 '',
356 ' [Recharge Now](https://platform.minimax.io/user-center/payment/balance)',
357 '',
358 ' <Tabs>',
359 ' <Tab title="Standard">',
360 ' | **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens |',
361 ' | :- | :- | :- | :- |',
362 ' | **MiniMax-M3**<br />≤ 512k input tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$0.60~~ $0.30 | ~~$2.40~~ $1.20 | ~~$0.12~~ $0.06 |',
363 ' | **MiniMax-M3**<br />> 512k input tokens\\* <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$1.20~~ $0.60 | ~~$4.80~~ $2.40 | ~~$0.24~~ $0.12 |',
364 ' </Tab>',
365 '',
366 ' <Tab title="Priority*">',
367 ' | **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens |',
368 ' | :- | :- | :- | :- |',
369 ' | **MiniMax-M3**<br />≤ 512k input tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$0.90~~ $0.45 | ~~$3.60~~ $1.80 | ~~$0.18~~ $0.09 |',
370 ' | **MiniMax-M3**<br />> 512k input tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">Permanent 50% off</span> | ~~$1.80~~ $0.90 | ~~$7.20~~ $3.60 | ~~$0.36~~ $0.18 |',
371 '',
372 ' \\* Priority provides priority admission for faster response times and improved request reliability. Set `service_tier` to `priority` to enable it. Pricing is 1.5x standard.',
373 ' </Tab>',
374 ' </Tabs>',
375 '',
376 ' | **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens | **Prompt caching Write**<br />$ / M tokens |',
377 ' | :- | :- | :- | :- | :- |',
378 ' | **MiniMax-M2.7** | $0.3 | $1.2 | $0.06 | $0.375 |',
379 ' | **MiniMax-M2.7-highspeed** | $0.6 | $2.4 | $0.06 | $0.375 |',
380 '',
381 ' <Accordion title="Legacy Models">',
382 ' | **Model** | **Input**<br />$ / M tokens | **Output**<br />$ / M tokens | **Prompt caching Read**<br />$ / M tokens | **Prompt caching Write**<br />$ / M tokens |',
383 ' | :- | :- | :- | :- | :- |',
384 ' | **MiniMax-M2.5** | $0.3 | $1.2 | $0.03 | $0.375 |',
385 ' | **MiniMax-M2.5-highspeed** | $0.6 | $2.4 | $0.03 | $0.375 |',
386 ' | **MiniMax-M2.1** | $0.3 | $1.2 | $0.03 | $0.375 |',
387 ' | **MiniMax-M2.1-highspeed** | $0.6 | $2.4 | $0.03 | $0.375 |',
388 ' | **MiniMax-M2** | $0.3 | $1.2 | $0.03 | $0.375 |',
389 ' </Accordion>',
390 '',
391 ' <Info>',
392 ' Note:',
393 '',
394 ' 1. The billing item is token count; the token-to-character ratio varies slightly depending on the usage scenario, subject to actual consumption',
395 ' 2. Token to English word ratio (estimate): approximately 750 English words consume 1000 tokens',
396 ' </Info>',
397 ' </section>',
398 '',
399 ' <section id="models/speech" className="pricing-section" data-pricing-title="Audio">',
400 ' ## Audio',
401 '',
402 ' [Recharge Now](https://platform.minimax.io/user-center/payment/balance)',
403 '',
404 ' **Automatic Speech Recognition (ASR)**',
405 '',
406 ' | **API** | **Endpoint** | **Description** | **Price** |',
407 ' | :- | :- | :- | :- |',
408 ' | Speech Recognition | Speech-to-Text | Audio-to-text transcription with streaming, speaker diarization, and subtitle (srt/vtt) export. | \\$0.38 / hour |',
409].join('\n')
410​
411/**
412 * The China pricing overview's MDX as platform.minimax.cn/docs/pricing/
413 * overview.md served it (2026-10-14), the redirect target of
414 * platform.minimaxi.com. Cut as `MINIMAX_PRICING_OVERVIEW_PAGE`, through
415 * the first table of `## 语音`. Prices are yuan.
416 */
417export const MINIMAX_CN_PRICING_OVERVIEW_PAGE = [
418 '# 定价概览',
419 '',
420 '<div id="pricing-document" data-pricing-language="zh" data-pricing-overview-title="定价概览" data-pricing-overview-group="产品定价">',
421 ' <section id="models/text" className="pricing-section" data-pricing-title="语言模型">',
422 ' ## 语言模型',
423 '',
424 ' [立即充值](https://platform.minimax.cn/user-center/payment/balance)',
425 '',
426 ' <Tabs>',
427 ' <Tab title="标准">',
428 ' | **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens |',
429 ' | :- | :-: | :-: | :-: |',
430 ' | **MiniMax-M3**<br />≤ 512k 输入 tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~4.20~~ 2.10 | ~~16.80~~ 8.40 | ~~0.84~~ 0.42 |',
431 ' | **MiniMax-M3**<br />> 512k 输入 tokens\\* <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~8.40~~ 4.20 | ~~33.60~~ 16.80 | ~~1.68~~ 0.84 |',
432 ' </Tab>',
433 '',
434 ' <Tab title="优先*">',
435 ' | **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens |',
436 ' | :- | :-: | :-: | :-: |',
437 ' | **MiniMax-M3**<br />≤ 512k 输入 tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~6.30~~ 3.15 | ~~25.20~~ 12.60 | ~~1.26~~ 0.63 |',
438 ' | **MiniMax-M3**<br />> 512k 输入 tokens <span className="inline-flex items-center rounded-full bg-red-50 px-2 py-0.5 text-xs font-semibold text-red-700 dark:bg-red-900/30 dark:text-red-300">永久五折</span> | ~~12.60~~ 6.30 | ~~50.40~~ 25.20 | ~~2.52~~ 1.26 |',
439 '',
440 ' \\* 优先服务可让请求获得优先准入,从而更快响应并降低失败率。调用时将 `service_tier` 设为 `priority` 即可启用。该层级按标准价格的 1.5 倍计费。',
441 ' </Tab>',
442 ' </Tabs>',
443 '',
444 ' | **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens | **缓存写入**<br /> 元/百万 tokens |',
445 ' | :- | :-: | :-: | :-: | :-: |',
446 ' | **MiniMax-M2.7** | 2.1 | 8.4 | 0.42 | 2.625 |',
447 ' | **MiniMax-M2.7-highspeed** | 4.2 | 16.8 | 0.42 | 2.625 |',
448 '',
449 ' <Accordion title="历史模型">',
450 ' | **模型** | **输入价格**<br /> 元/百万 tokens | **输出价格**<br /> 元/百万 tokens | **缓存读取**<br /> 元/百万 tokens | **缓存写入**<br /> 元/百万 tokens |',
451 ' | :- | :-: | :-: | :-: | :-: |',
452 ' | **MiniMax-M2.5** | 2.1 | 8.4 | 0.21 | 2.625 |',
453 ' | **MiniMax-M2.5-highspeed** | 4.2 | 16.8 | 0.21 | 2.625 |',
454 ' | **MiniMax-M2.1** | 2.1 | 8.4 | 0.21 | 2.625 |',
455 ' | **MiniMax-M2.1-highspeed** | 4.2 | 16.8 | 0.21 | 2.625 |',
456 ' | **MiniMax-M2** | 2.1 | 8.4 | 0.21 | 2.625 |',
457 ' </Accordion>',
458 '',
459 ' <Info>',
460 ' 请注意:',
461 '',
462 ' 1. 计费项是token数;tokens字符比值根据使用场景的不同略有浮动,以实际消耗为准,字符数包括标点等',
463 ' 2. Token与字符比(估算):1600 中文字符约消耗 1000 tokens',
464 ' </Info>',
465 ' </section>',
466 '',
467 ' <section id="models/speech" className="pricing-section" data-pricing-title="语音">',
468 ' ## 语音',
469 '',
470 ' [立即充值](https://platform.minimax.cn/user-center/payment/balance)',
471 '',
472 ' **语音识别(ASR)**',
473 '',
474 ' | **计费项** | **接口** | **接口说明** | **单价**<br />元/小时 |',
475 ' | :- | :- | :- | :-: |',
476 ' | 语音识别 | Speech-to-Text | 音频转文本,支持流式返回、说话人分离与字幕(srt/vtt)导出。 | 2.50 |',
477].join('\n')
478​
479/**
480 * The `## LLM` `<section>` of platform.minimax.io/docs/pricing/overview's
481 * compiled MDX (the HTML page's RSC payload), as served 2026-10-21: the
482 * M3.1-Flash table, then the Standard and Priority tabs for M3.
483 */
484export const MINIMAX_PRICING_LLM_MDX =
485 '_jsxs(`section`,{id:`models/text`,className:`pricing-section`,"data-pricing-title":`LLM`,children:[_jsx(Heading,{level:`2`,id:`llm`,children:`LLM`}),_jsx(_components.p,{children:_jsx(_components.a,{href:`https://platform.minimax.io/user-center/payment/balance`,children:`Recharge Now`})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Model`})}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Input`}),_jsx(`br`,{}),`$ / M tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Output`}),_jsx(`br`,{}),`$ / M tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Prompt caching Read`}),_jsx(`br`,{}),`$ / M tokens`]})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`MiniMax-M3.1-Flash`})}),_jsx(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:`$0.15`}),_jsx(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:`$0.60`}),_jsx(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:`$0.015`})]})})]}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`Standard`,id:`standard`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Model`})}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Input`}),_jsx(`br`,{}),`$ / M tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Output`}),_jsx(`br`,{}),`$ / M tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Prompt caching Read`}),_jsx(`br`,{}),`$ / M tokens`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`≤ 512k input tokens`,_jsx(`br`,{}),_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`Permanent 50% off`})]}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$0.60`}),` $0.30`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$2.40`}),` $1.20`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$0.12`}),` $0.06`]})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`> 512k input tokens*`,_jsx(`br`,{}),_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`Permanent 50% off`})]}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$1.20`}),` $0.60`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$4.80`}),` $2.40`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$0.24`}),` $0.12`]})})]})]})]})}),_jsxs(Tab,{title:`Priority*`,id:`priority`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Model`})}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Input`}),_jsx(`br`,{}),`$ / M tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Output`}),_jsx(`br`,{}),`$ / M tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`Prompt caching Read`}),_jsx(`br`,{}),`$ / M tokens`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`≤ 512k input tokens`,_jsx(`br`,{}),_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`Permanent 50% off`})]}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$0.90`}),` $0.45`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$3.60`}),` $1.80`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$0.18`}),` $0.09`]})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`> 512k input tokens`,_jsx(`br`,{}),_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`Permanent 50% off`})]}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$1.80`}),` $0.90`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$7.20`}),` $3.60`]})}),_jsx(_components.td,{style:{textAlign:`center`},children:_jsxs(`span`,{style:{whiteSpace:`nowrap`},children:[_jsx(_components.del,{children:`$0.36`}),` $0.18`]})})]})]})]}),_jsxs(_components.p,{children:[`* Priority provides priority admission for faster response times and improved request reliability. Set `,_jsx(_components.code,{children:`service_tier`}),` to `,_jsx(_components.code,{children:`priority`}),` to enable it. Pricing is 1.5x standard.`]})]})]}),_jsxs(Info,{children:[_jsx(_components.p,{children:`Note:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The billing item is token count; the token-to-character ratio varies slightly depending on the usage scenario, subject to actual consumption`}),`\n`,_jsx(_components.li,{children:`Token to English word ratio (estimate): approximately 750 English words consume 1000 tokens`}),`\n`]})]})]})'
486​
487/** The China page's `## 语言模型` section, cut the same way (2026-10-21). */
488export const MINIMAX_CN_PRICING_LLM_MDX =
489 '_jsxs(`section`,{id:`models/text`,className:`pricing-section`,"data-pricing-title":`语言模型`,children:[_jsx(Heading,{level:`2`,id:`语言模型`,children:`语言模型`}),_jsx(_components.p,{children:_jsx(_components.a,{href:`https://platform.minimax.cn/user-center/payment/balance`,children:`立即充值`})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`模型`})}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`输入价格`}),_jsx(`br`,{}),` 元/百万 tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`输出价格`}),_jsx(`br`,{}),` 元/百万 tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`缓存读取`}),_jsx(`br`,{}),` 元/百万 tokens`]})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`MiniMax-M3.1-Flash`})}),_jsx(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:`1.00`}),_jsx(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:`4.00`}),_jsx(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:`0.10`})]})})]}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`标准`,id:`%E6%A0%87%E5%87%86`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`模型`})}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`输入价格`}),_jsx(`br`,{}),` 元/百万 tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`输出价格`}),_jsx(`br`,{}),` 元/百万 tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`缓存读取`}),_jsx(`br`,{}),` 元/百万 tokens`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`≤ 512k 输入 tokens `,_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`永久五折`})]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`4.20`}),` 2.10`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`16.80`}),` 8.40`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`0.84`}),` 0.42`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`> 512k 输入 tokens* `,_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`永久五折`})]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`8.40`}),` 4.20`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`33.60`}),` 16.80`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`1.68`}),` 0.84`]})]})]})]})}),_jsxs(Tab,{title:`优先*`,id:`%E4%BC%98%E5%85%88`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`模型`})}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`输入价格`}),_jsx(`br`,{}),` 元/百万 tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`输出价格`}),_jsx(`br`,{}),` 元/百万 tokens`]}),_jsxs(_components.th,{style:{textAlign:`center`},children:[_jsx(_components.strong,{children:`缓存读取`}),_jsx(`br`,{}),` 元/百万 tokens`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`≤ 512k 输入 tokens `,_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`永久五折`})]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`6.30`}),` 3.15`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`25.20`}),` 12.60`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`1.26`}),` 0.63`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.strong,{children:`MiniMax-M3`}),_jsx(`br`,{}),`> 512k 输入 tokens `,_jsx(`span`,{className:`mint-inline-flex mint-items-center mint-rounded-full mint-bg-red-50 mint-px-2 mint-py-0.5 mint-text-xs mint-font-semibold mint-text-red-700 dark:mint-bg-red-900/30 dark:mint-text-red-300`,children:`永久五折`})]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`12.60`}),` 6.30`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`50.40`}),` 25.20`]}),_jsxs(_components.td,{"data-numeric":`true`,style:{textAlign:`center`},children:[_jsx(_components.del,{children:`2.52`}),` 1.26`]})]})]})]}),_jsxs(_components.p,{children:[`* 优先服务可让请求获得优先准入,从而更快响应并降低失败率。调用时将 `,_jsx(_components.code,{children:`service_tier`}),` 设为 `,_jsx(_components.code,{children:`priority`}),` 即可启用。该层级按标准价格的 1.5 倍计费。`]})]})]}),_jsxs(Info,{children:[_jsx(_components.p,{children:`请注意:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`计费项是token数;tokens字符比值根据使用场景的不同略有浮动,以实际消耗为准,字符数包括标点等`}),`\n`,_jsx(_components.li,{children:`Token与字符比(估算):1600 中文字符约消耗 1000 tokens`}),`\n`]})]})]})'
490​
491/** A compiled `## Audio` section with one price table, to end the LLM one. */
492export const MINIMAX_PRICING_AUDIO_MDX =
493 '_jsxs(`section`,{id:`models/speech`,className:`pricing-section`,children:[_jsx(Heading,{level:`2`,id:`audio`,children:`Audio`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.strong,{children:`Model`})}),_jsx(_components.th,{children:`Price`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`MiniMax-M9`})}),_jsx(_components.td,{children:`$9`})]})})]})]})'
494​
495/**
496 * A Mintlify page whose RSC payload carries a compiled MDX module, its
497 * body a `<div>` around `sections` (compiled JSX source, joined by commas).
498 */
499export function minimaxPricingHtml(...sections: Array<string>): string {
500 const source = [
501 '"use strict";const{jsx:_jsx,jsxs:_jsxs}=arguments[0];',
502 'function _createMdxContent(props){const _components={a:`a`,code:`code`,del:`del`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,...props.components},{Accordion,Heading,Info,Tab,Table,Tabs}=_components;',
503 `return _jsxs(\`div\`,{id:\`pricing-document\`,children:[${sections.join(',')}]})}`,
504 'return{default:_createMdxContent};',
505 ].join('')
506 return [
507 '<!DOCTYPE html><html><head><title>Pricing Overview</title></head><body>',
508 `<script>self.__next_f.push([1,${JSON.stringify(source)}])</script>`,
509 '</body></html>',
510 ].join('')