mimo-v2.5 Chat Completions
Invoke MIMO chat completions capability
Authorizations
Pass Authorization: Bearer <token> in the request header.
Body
MIMO chat completions request body.
Model ID to use
mimo-v2.5 "mimo-v2.5"
A list of messages comprising the conversation so far.
1A single message in the conversation. Depending on the role, it is divided into five message types: developer, system, user, assistant, and tool.
- Developer message · object
- System message · object
- User message · object
- Assistant message · object
- Tool message · object
A value between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, reducing the model's likelihood of repeating the same content.
-2 <= x <= 2Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they have appeared in the text so far, increasing the model's likelihood to talk about new topics.
-2 <= x <= 2The upper limit of tokens that can be generated in the chat completion, including visible output tokens and reasoning tokens. Default is 32768 for mimo-v2.5. Range: [1, 131072]
Default response format. Used for generating text responses.
- Text
- JSON object
Up to 4 sequences where the API will stop generating further tokens when any of them is encountered. The returned text will not contain the stop sequences.
If set to true, the model's response data will be streamed to the client via SSE (server-sent events) during generation.
Controls whether the model enables chain-of-thought (thinking) mode. Note: In multi-round tool calls under thinking mode, the model returns the reasoning_content field along with tool_calls. To continue the conversation, it is recommended to retain all historical reasoning_content in the messages array of each subsequent request for optimal performance. In thinking mode, mimo-v2.5-pro and mimo-v2.5 do not support custom temperature and top_p parameters. Even if passed, the model will force the recommended default values of 1.0 and 0.95 respectively.
Sampling temperature to use, between 0 and 1.5. Higher values (e.g., 0.8) make the output more random, while lower values (e.g., 0.2) make it more focused and deterministic. We generally recommend altering this or top_p but not both. In thinking mode, mimo-v2.5-pro and mimo-v2.5 do not support custom temperature. Even if passed, the model will force the recommended default value of 1.0.
0 <= x <= 1.5Controls how the model selects tools. Note: When tool_choice is set to a non-auto value, the backend will remove this field by default, and the model's response behavior will still be equivalent to auto mode (this logic may be subject to adjustment). Allowed values: auto
auto Probability threshold for nucleus sampling, controlling the diversity of text generation. Higher top_p values produce more diverse text; lower values produce more deterministic text. Since both temperature and top_p control text diversity, it is recommended to adjust only one of them. In thinking mode, mimo-v2.5-pro and mimo-v2.5 do not support custom top_p. Even if passed, the model will force the recommended default value of 0.95.
0.01 <= x <= 1A list of tools the model may call. Currently, both function tools and web_search tools are supported. Note: In multi-round tool calls under thinking mode, the model returns the reasoning_content field along with tool_calls. To continue the conversation, it is recommended to retain all historical reasoning_content in the messages array of each subsequent request for optimal performance.
Function tool definition.
- Function tool
- Web search tool
Response
Success. Returns JSON in non-streaming mode; returns an SSE event stream in streaming mode.
Chat response object (non-streaming output).
A unique identifier for the response.
The type of the object, which is chat.completion.
The Unix timestamp (in seconds) when the chat completion was created.
The name of the model that generated the completion.
A list of completions generated by the model.
Usage information for this chat completion request.