XIAOMI MiMo · Ace Data Cloud

MiMo 2.6 APIBring conversation, reasoning and tool collaboration
to your applications

Use Xiaomi MiMo through the familiar Chat Completions interface.
From everyday conversations with Flash to complex reasoning with Pro, choose the right model for each task.

OpenAI SDK compatibleToggleable reasoningStreaming responsesFunction and tool calling
Pro / Flash
Two models to suit your task
Chat Completions
Use a familiar conversation format
SSE
Display generated content progressively
Token
Pay for actual usage

CAPABILITIES

From single questions to multi-step collaboration

Combine conversation, reasoning, and function tools to involve the model in real application tasks.

Multi-turn text conversations

Continue conversations on the same topic, using conversation history to maintain context and build Q&A, writing, and content processing features.

messages

Enable reasoning by task

Enable reasoning for complex problems and turn it off for simple tasks. Reasoning content and the final answer are returned separately for easy display and processing.

thinking.type

Streaming output

Receive content incrementally via SSE and update the interface as it is generated. To record usage, request the final usage event.

stream: true

Function tool calls

Declare retrieval, query, or business functions as tools. The model requests calls, and your application executes them and returns the results.

tools · tool_calls

Reuse existing SDKs

Continue using the OpenAI Chat Completions client and configure the MiMo service address, API key, and model name to make requests.

client.chat.completions.create

Manage output and usage

Set a total output budget for reasoning and answers, and review input, output, and cache hit usage separately to assess the cost of each task type.

max_completion_tokens · usage

DEVELOPER EXPERIENCE

Familiar SDK,
new model choices

Start with a text request to integrate MiMo into your existing application. Add parameters as needed for reasoning, streaming output, or function tools.

Service URL
https://api.acedata.cloud/mimo
Model selection
mimo-v2.6-pro or mimo-v2.6-flash
Credential management
Enable the corresponding service and store the API key in a server-side environment variable.
View the full parameter and integration guide
Python · OpenAI SDK
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["ACEDATACLOUD_API_KEY"],
    base_url="https://api.acedata.cloud/mimo",
)
response = client.chat.completions.create(
    model="mimo-v2.6-pro",
    messages=[
        {"role": "user", "content": "解释彩虹形成的原因。"}
    ],
    max_completion_tokens=256,
    extra_body={"thinking": {"type": "disabled"}},
)
print(response.choices[0].message.content)
print(response.usage)

JSON response

The following illustrates the Chat Completions response structure; the response content is for illustration.

{
  "id": "EXAMPLE_COMPLETION_ID",
  "object": "chat.completion",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "彩虹由阳光在水滴中折射、反射和色散形成。"
      },
      "finish_reason": "stop"
    }
  ]
}

This example disables reasoning and demonstrates a basic text request. When enabling reasoning, allow a sufficient output budget for both reasoning and the final answer.

USE CASES

Bring MiMo into your workflow

Turn model capabilities into clear application features, starting with user input.

01 / CONVERSATION

Q&A and content assistant

Handle multi-turn Q&A based on product information, help documentation, or user-provided context, and help draft, rewrite, and organize text.

Example input“Based on this product description, compile five frequently asked questions for new users.”
02 / REASONING

Complex analysis and solution comparison

Enable reasoning for problems with multiple conditions and constraints, break down the problem, compare solutions, and organize the final answer.

Example input“Compare these two implementation approaches, explaining the assumptions, risks, and applicable conditions of each.”
03 / DEVELOPMENT

Programming and code understanding

Provide code snippets and problem descriptions as text input to help explain logic, analyze errors, or draft suggested changes for developers to verify.

Example input“Explain the boundary conditions of this function and provide test scenarios that need to be verified.”
04 / TOOL CALLING

Agents that connect to business systems

Use custom functions to connect to your application's existing retrieval or query capabilities. Return the results after executing a tool so the model can continue handling the user's task.

Tool collaboration processUser asks a question → Model requests a function → Application executes it → Results are returned and an answer is generated.

MODEL LINEUP

Pro and Flash, chosen by task

Use the same conversation format to configure models for different scenarios. Evaluate response quality, response time, and usage with your actual tasks.

Complex tasks · In-depth analysis

MiMo 2.6 Pro

Designed for complex analysis, reasoning, and multi-step tool tasks, suitable for problems requiring more in-depth processing.

mimo-v2.6-pro
  • Multi-condition analysis and solution comparison
  • Complex problem decomposition and reasoning
  • Code understanding and multi-step tool collaboration
  • Text conversations, streaming responses, and function tools
Learn about Pro
Everyday tasks · Lightweight applications

MiMo 2.6 Flash

Designed for everyday conversations, content processing, and lightweight tasks, suitable for common text interactions in applications.

mimo-v2.6-flash
  • Everyday Q&A and multi-turn conversations
  • Text organization, summarization, and rewriting
  • Lightweight analysis and function tool tasks
  • Text conversations, streaming responses, and function tools
Learn about Flash

The two models are billed separately. When switching models, check both current pricing and your application's output budget.

GET STARTED

Integrate with your application in three steps

From obtaining credentials to processing results, follow a familiar development workflow.

  1. Copy the General Application API Key

    Go to the application list, open General Application, and click the copy button to the right of API KEY. Save the copied key in the server-side environment variable ACEDATACLOUD_API_KEY.

    Get an Ace Data Cloud API Key
  2. Configure the model and send a request

    Set the service endpoint and Pro / Flash model identifier, and submit text through messages. Choose whether to enable reasoning or streaming responses based on the task.

    View integration example
  3. Process results and record usage

    Read the response and final usage. When using tool calls, the application executes functions, returns results, and retains the complete conversation history.

    View API documentation

USAGE & PRICING

Clearly calculate each request based on actual usage

Input, cached input, and output are calculated separately, helping you make informed model choices and cost assessments.

INPUT

Standard input

Input tokens not found in the cache are charged at the selected model's input rate.

CACHED INPUT

Cached input

Cached input is charged at the cache rate and is not charged again at the standard input rate.

OUTPUT

Response and reasoning output

Reasoning content is included in output tokens and charged once as output usage together with the final response.

See the current pricing page for specific rates. The actual cost of Credit depends on the package purchased. Streaming requests are also billed based on final usage; enable stream_options.include_usage when you need to record usage.

View current pricing

FAQ

What you may want to know before integrating

Common questions about model selection, reasoning, tools, and billing. See the integration guide for full parameter details and error handling.

Can I integrate directly with an existing OpenAI SDK project?

You can reuse your Chat Completions client. Set base_url to https://api.acedata.cloud/mimo, configure a key with access to the MiMo service, and use the exact model identifier. Refer to the MiMo API documentation for the supported parameters.

How should I choose between Pro and Flash?

Pro is designed for complex analysis, reasoning, and multi-step tool tasks; Flash is designed for everyday conversations, text processing, and lightweight tasks. We recommend comparing quality, response time, and token usage on the same real-world tasks, then choosing the model that suits your application.

How do I enable reasoning? Are reasoning tokens billed twice?

Set thinking.type=enabled to enable reasoning, and disabled to disable it. Reasoning and answers are returned separately in reasoning_content and content. Reasoning tokens are already included in output usage and are not billed again.

Will the model execute my function tools directly?

No. The service currently supports tool declarations with type=function and tool_choice=auto. The model returns a call request, and your application executes the function and returns the result. When continuing the conversation, retain the reasoning content, complete tool calls, and corresponding call identifiers in the assistant message.

Are images, audio, web search, or other protocols supported?

The service currently offers text Chat Completions, reasoning, SSE streaming, and function tools. Image, audio, and video input, built-in web search, and Responses, Messages, Batch, and UltraSpeed are not currently available.

How should I handle rate limits or interrupted streams?

Use backoff and retry when you encounter a 429; a 503 may be returned when the service temporarily has no available capacity. If a streaming response has already started, check the received content, usage, and call records before deciding whether to retry, to avoid repeated submissions.