#Xiaomi Token Plan

1 messages · Page 1 of 1 (latest)

urban copper
brave ironBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

burnt kindleBOT
#

You’re not missing it — OpenClaw currently has a Xiaomi API key onboard option, but not a dedicated Xiaomi Token Plan option. The built-in Xiaomi docs/catalog still show XIAOMI_API_KEY, base URL https://api.xiaomimimo.com/v1, and only mimo-v2-flash, mimo-v2-pro, mimo-v2-omni. (docs.openclaw.ai)

Xiaomi’s Token Plan does cover V2.5 models and advertises OpenClaw compatibility, so the workaround is to add it as a custom OpenAI-compatible provider using the Token Plan base URL shown in your Xiaomi dashboard. (mimo.mi.com)

Try:

export XIAOMI_TOKEN_PLAN_KEY="tp-..."

openclaw onboard --auth-choice custom-api-key \
  --custom-provider-id xiaomi-token-plan \
  --custom-base-url "https://token-plan-sgp.xiaomimimo.com/v1" \
  --custom-model-id "mimo-v2.5-pro" \
  --custom-api-key "$XIAOMI_TOKEN_PLAN_KEY" \
  --custom-compatibility openai \
  --custom-text-input
#

openclaw models set xiaomi-token-plan/mimo-v2.5-pro

Replace token-plan-sgp with the exact Token Plan base URL from your Xiaomi page — region mismatch can make the key look invalid.

Also, please paste:

openclaw --version

If you want first-class Xiaomi Token Plan onboarding, that’s probably worth a GitHub issue: https://github.com/openclaw/openclaw/issues 🦐

urban copper
#

Thank you for your answer.