# 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.