Guide
OpenClaw + Xiaomi MiMo: BYOK Setup Guide
Xiaomi MiMo is a trillion-parameter open-platform LLM tuned for agent workflows. This guide shows how to bring your own MiMo key (BYOK) into OpenClaw Launch so your Telegram / Discord / WeChat / Web bot replies through MiMo V2 Pro.
About Xiaomi MiMo
MiMo is Xiaomi's open LLM platform. Current line: xiaomi/mimo-v2-pro (flagship, agentic), xiaomi/mimo-v2.5-pro (balanced), xiaomi/mimo-v2.5 (speed), xiaomi/mimo-v2 (budget). The API is OpenAI-compatible — standard /v1/chat/completions shape with tool calls.
Why MiMo on OpenClaw?
- Strong agentic baseline at lower per-token cost than GPT-5 or Claude 4.6
- Good Chinese-language coverage for WeChat / Feishu / DingTalk / Xiaohongshu bots
- Long-context tool calling that holds up over multi-turn conversations
Step 1: Get a MiMo API Key
- Visit api.xiaomi.com
- Register or sign in with a Xiaomi account
- Open the API Keys page, create a new key
- Pick a token plan (free tier has tight rate limits; paid is recommended for production)
Alternative: skip the direct MiMo signup and use OpenRouter — MiMo is listed there as xiaomi/mimo-v2-pro.
Step 2: Add the Key to OpenClaw Launch
- Open the /api-keys page in your OpenClaw Launch dashboard
- Paste your OpenRouter key in the OpenRouter slot (OpenClaw routes MiMo via OpenRouter under
xiaomi/mimo-v2-pro) - Pick
xiaomi/mimo-v2-proas your primary model - Click Save — OpenClaw syncs the config to your container automatically
Step 3: Test From a Channel
Open the web gateway from Dashboard, or send a message to your bot on Telegram / Discord / WeChat. The reply now comes from MiMo V2 Pro. If you have skills installed, MiMo will pick them up and tool-call as needed.
Model Selection Cheatsheet
| Use case | Pick |
|---|---|
| Agentic bot with skills + tool calls | xiaomi/mimo-v2-pro |
| General chat, balanced cost | xiaomi/mimo-v2.5-pro |
| Fast replies, short conversations | xiaomi/mimo-v2.5 |
| Budget testing | xiaomi/mimo-v2 |
Self-Hosted OpenClaw + MiMo
If you self-host OpenClaw, the equivalent config:
# ~/.openclaw/openclaw.json
{
"agents": { "defaults": { "model": { "primary": "openrouter/xiaomi/mimo-v2-pro" } } },
"models": { "providers": { "openrouter": { "apiKey": "sk-or-..." } } }
}BYOK vs Shared Routing
On the free trial and Lite tier, OpenClaw Launch routes through a shared OpenRouter sub-key by default. Once you paste a BYOK key (Xiaomi or OpenRouter), all of that user's traffic flips to your key — this is intentional and irreversible per session. See OpenClaw BYOK for the full BYOK model.
Limits
- MiMo's direct endpoint is hosted in China — latency from US/EU is higher than OpenRouter
- Free-tier rate limits are tight; expect 429s on bursty traffic
- Tool-call JSON validation is strict — malformed args get rejected outright
What's Next?
- Hermes Agent + Xiaomi MiMo — same wiring on the Hermes side
- OpenClaw BYOK — all BYOK providers
- OpenClaw + Qwen — the other major Chinese open-platform option
- Install OpenClaw Skills — add agentic skills MiMo can use