Skip to main content
Xiaomi MiMo is the API platform for MiMo models. The bundled xiaomi plugin (enabledByDefault: true, no install step) registers two text providers plus a speech (TTS) provider:
  • xiaomi - pay-as-you-go keys (sk-...)
  • xiaomi-token-plan - Token Plan keys (tp-...) with regional endpoint presets

Getting started

1

Get the right key

Create a pay-as-you-go key in the Xiaomi MiMo console, or open your Token Plan subscription page and copy the regional OpenAI-compatible base URL plus the matching tp-... key.
2

Run onboarding

Pay-as-you-go:
Token Plan:
Or pass the keys directly:
3

Verify the model is available

Onboarding validates the key shape and warns when a tp-... key is entered into the pay-as-you-go path, or an sk-... key is entered into the Token Plan path.

Pay-as-you-go catalog

Token Plan catalog

Choose the Token Plan auth choice that matches the regional base URL shown in Xiaomi’s subscription UI: xiaomi-token-plan needs a regional base URL to resolve. The supported path is a bundled Token Plan onboarding choice or an explicit models.providers.xiaomi-token-plan config block with baseUrl set; the provider is not offered without one of those.

Reasoning models

mimo-v2-pro, mimo-v2-omni, mimo-v2.5, and mimo-v2.5-pro support OpenClaw’s /think directive with levels off, minimal, low, medium, high, xhigh, and max (default high). mimo-v2-flash has no reasoning support.

Text-to-speech

The bundled xiaomi plugin also registers Xiaomi MiMo as a speech provider for messages.tts. It calls Xiaomi’s chat-completions TTS contract with the text as an assistant message and optional style guidance as a user message.
Built-in voices: mimo_default, default_zh, default_en, Mia, Chloe, Milo, Dean. Preset-voice models (mimo-v2.5-tts, mimo-v2-tts) use audio.voice, so OpenClaw sends speakerVoice for those models. The voicedesign model mimo-v2.5-tts-voicedesign generates the voice from a natural-language style prompt instead of a preset voice id. Set style to the desired voice description; OpenClaw sends it as the user message, sends the spoken text as the assistant message, and omits audio.voice for this model.
For channels that request a voice-note synthesis target (Discord, Feishu, Matrix, Telegram, and WhatsApp), OpenClaw transcodes Xiaomi output to 48kHz mono Opus with ffmpeg before delivery.

Config example

Pricing and compat flags come from the bundled plugin manifest, so the config example omits cost and compat to avoid diverging from runtime behavior. Token Plan:
Pricing comes from the bundled manifest (Token Plan models include tiered cache-read pricing), so the config example omits cost.
The xiaomi provider is auto-enabled when XIAOMI_API_KEY is set in your environment or an auth profile exists. xiaomi-token-plan needs a regional base URL, so the supported path is the bundled Token Plan onboarding choice or an explicit models.providers.xiaomi-token-plan config block.
  • mimo-v2-flash - lightweight and fast, ideal for general-purpose text tasks. No reasoning support.
  • mimo-v2-pro - supports reasoning with a 1M token context window for long-document workloads.
  • mimo-v2-omni - reasoning-enabled multimodal model that accepts both text and image inputs.
  • mimo-v2.5-pro - Token Plan default with Xiaomi’s current V2.5 reasoning stack.
  • mimo-v2.5 - Token Plan multimodal V2.5 route.
Pay-as-you-go models use the xiaomi/ prefix. Token Plan models use the xiaomi-token-plan/ prefix.
  • If models do not appear, confirm the relevant key env var or auth profile is present and valid.
  • For Token Plan, confirm the chosen onboarding region matches the subscription page base URL and that the key starts with tp-.
  • When the Gateway runs as a daemon, ensure the key is available to that process (for example in ~/.openclaw/.env or via env.shellEnv).
Keys set only in your interactive shell are not visible to daemon-managed gateway processes. Use ~/.openclaw/.env or env.shellEnv config for persistent availability.

Model selection

Choosing providers, model refs, and failover behavior.

Thinking levels

/think directive syntax and level mapping.

Configuration reference

Full OpenClaw configuration reference.

Xiaomi MiMo console

Xiaomi MiMo dashboard and API key management.