SupportedTool calling · Supported · Default configuration reference; not live verification
Reasoning
SupportedReasoning · Supported · Default configuration reference; not live verification
Vision
SupportedVision · Supported · Default configuration reference; not live verification
Streaming
SupportedStreaming · Supported · Default configuration reference; not live verification
JSON mode
SupportedJSON mode · Supported · Default configuration reference; not live verification
USD / 1M tokens
Input
$0.30
Cache Read
$0.05
Cache Write
—
Output
$1.19
Context
1M
Max Output
512K
Precision
Official precision
Price checked
Catalog updated: 2026-10-29.
Overview
Text and image input, streaming and structured outputs; up to 524,288 output tokens. Use the default reasoning mode and see the model-specific verification scope below.
API protocols and integration
Base URL · OpenAI SDK
https://api.iteracompute.com/v1
Authentication
Authorization: Bearer ITERACOMPUTE_API_KEY
Choose request fields, response parsing and stream completion by endpoint. This table describes wire formats; see this model's capabilities and verification scope.
Includes this model's ID, wire formats and parameter constraints. Check this page's verification scope and current prices before use.
LLMs.txt
# IteraCompute · minimax/minimax-m3
Model ID: minimax/minimax-m3
Base URL (OpenAI SDK): https://api.iteracompute.com/v1
Authentication: Authorization: Bearer ITERACOMPUTE_API_KEY
Content-Type: application/json
Use only the customer endpoints below. Request and response formats differ by protocol. An endpoint declaration does not certify every capability.
## 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
Configuration and parameter acceptance do not establish semantic capability. Do not invent undisclosed defaults.
Current parameter configuration is unconfirmed. Check the model page and current catalog before calling.
## 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.
Text models expose Chat Completions, Responses and Messages. Use each protocol’s native fields and this model’s verified capabilities and limits.
Use the parameters and verification evidence published for this exact model. A supplier documentation review does not certify every feature on the gateway.
API parameters
These parameters and ranges come from the model’s existing default configuration, not live verification of the current route. Published configuration takes precedence.
Tool calling
Supported
Reasoning
Supported
Vision
Supported
Streaming
Supported
JSON mode
Supported
Parameters and values
Click a parameter to copy its name; scroll the table horizontally to see all columns. Usage notes identify protocol differences; identical names do not guarantee cross-endpoint support.
Parameter
Type
Acceptance
Range
Usage / protocol
integer
Reference: supported
[1, 524288]
Output token budget; includes reasoning where applicable. Chat Completions / Messages.
integer
Reference: supported
[1, 524288]
Alternative Chat output budget; use only when accepted by this model.
integer
Reference: supported
[1, 524288]
Responses output budget. Chat acceptance must be checked separately.
number
Reference: supported
[0, 2]
Sampling randomness. An accepted but ignored value does not control generation.
number
Reference: supported
[0, 1]
Nucleus sampling probability threshold.
number
Reference: supported
[-2, 2]
Penalize tokens already present in the generated text.
number
Reference: supported
[-2, 2]
Penalize repeated tokens according to frequency.
integer
Reference: supported
[1, 1]
Number of completions; many routes accept only 1.
boolean
Reference: supported
—
Enable SSE streaming; completion markers depend on the protocol.
array
Reference: supported
—
Tool definitions; the application executes tool calls and returns results.
any
Reference: supported
—
Choose whether and which tool to call; allowed shapes vary by protocol.
object
Reference: supported
—
Text: Chat output format. Images: b64_json only; not text JSON mode.
any
Reference: supported
—
Reasoning control; object or boolean depends on the model and protocol.
The official MiniMax API ignores sampling controls; use defaults. max_tokens is a legacy alias for max_completion_tokens. Gateway route limits still apply.
Use the default reasoning mode. Omit additional thinking controls.
Define functions in tools and use tool_choice=auto. Execute tool_calls in your application, then return role=tool with the matching tool_call_id.
Use response_format={"type":"json_object"} and request JSON in the prompt. Validate the returned JSON and required fields in your application.
from openai import OpenAI
client = OpenAI(
api_key="ITERACOMPUTE_API_KEY",
base_url="https://api.iteracompute.com/v1",
)
stream = client.chat.completions.create(
model='minimax/minimax-m3',
messages=[{'role': 'user', 'content': 'Hello!'}],
max_tokens=512,
stream=True,
stream_options={'include_usage': True},
)
for chunk in stream:
print(chunk.model_dump_json(exclude_none=True))
SDK extra_body merges its entries into the HTTP body. When the raw request itself contains an extra_body object, preserve that object as nested extra_body in the SDK example.
Response fields and tool results
Final text; concatenate streamed fragments.
Optional reasoning text. Preserve it in assistant history when required; its absence does not prove thinking was disabled.
Parse arguments as JSON, execute the function, and return role=tool with the original call ID.
Check final usage and the stream terminal. length means truncation; HTTP 200 alone is not successful completion.
Read the error code and message. For rate limits, honor Retry-After and avoid parallel retries.
Parameter reference
Parameter usage
The official MiniMax API ignores sampling controls; use defaults. max_tokens is a legacy alias for max_completion_tokens. Gateway route limits still apply.
Chat uses max_tokens or max_completion_tokens; Responses uses max_output_tokens. Use positive integers within Gateway limits.
The official MiniMax API ignores sampling controls; use defaults. max_tokens is a legacy alias for max_completion_tokens. Gateway route limits still apply.
IteraCompute prices in USD per 1M tokens, checked 2026-11-23: $0.30 input, $0.05 cache read, $1.19 output. The same rates apply across the entire 1M context window; no long-context surcharge is configured.
MiniMax official Standard prices (input / cache read / output, USD per 1M tokens), verified 2026-10-29: ≤512K input tokens $0.30 / $0.06 / $1.20; >512K input tokens $0.60 / $0.12 / $2.40. These are the published 50%-off rates. Official comparison prices and this verification date do not update with IteraCompute prices.
Use the parameters and verification evidence published for this exact model. A supplier documentation review does not certify every feature on the gateway.
Price source: Public Models API · Price and precision evidence are reviewed separately.
Cache-read rates require actual cache hits. A missing rate (—) is unknown, not zero. See usage limits for account and Gateway context restrictions.
Cost calculator
USD · Estimate
0%100%
Advanced 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.