openclaw - 💡(How to fix) Fix [Feature]: Add Native Support for Xiaomi Token Plan Onboarding [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#74621Fetched 2026-04-30 06:22:07
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Add a dedicated onboarding and provider configuration for the Xiaomi Token Plan (https://platform.xiaomimimo.com/token-plan) to simplify the setup process for professional users using dedicated infrastructure.

Error Message

Currently, users of the Xiaomi Token Plan must use the custom-api-key onboarding flow. This is error-prone because it requires manually inputting long dedicated base URLs and model IDs that are not present in the standard Xiaomi catalog. The existing Xiaomi integration only covers the legacy/standard API (api.xiaomimimo.com), leading to confusion when Token Plan keys (starting with tp-) are used with the standard endpoint.

Root Cause

Currently, users of the Xiaomi Token Plan must use the custom-api-key onboarding flow. This is error-prone because it requires manually inputting long dedicated base URLs and model IDs that are not present in the standard Xiaomi catalog. The existing Xiaomi integration only covers the legacy/standard API (api.xiaomimimo.com), leading to confusion when Token Plan keys (starting with tp-) are used with the standard endpoint.

RAW_BUFFERClick to expand / collapse

Summary

Add a dedicated onboarding and provider configuration for the Xiaomi Token Plan (https://platform.xiaomimimo.com/token-plan) to simplify the setup process for professional users using dedicated infrastructure.

Problem to solve

Currently, users of the Xiaomi Token Plan must use the custom-api-key onboarding flow. This is error-prone because it requires manually inputting long dedicated base URLs and model IDs that are not present in the standard Xiaomi catalog. The existing Xiaomi integration only covers the legacy/standard API (api.xiaomimimo.com), leading to confusion when Token Plan keys (starting with tp-) are used with the standard endpoint.

Proposed solution

  1. New Onboarding Choice: Add Xiaomi Token Plan (Dedicated) to the openclaw onboard authentication menu.
  2. Automated Endpoints: Pre-configure the dedicated base URLs for the SGP region:
    • OpenAI Compatible: https://token-plan-sgp.xiaomimimo.com/v1
    • Anthropic Compatible: https://token-plan-sgp.xiaomimimo.com/anthropic
  3. Key Validation: Implement validation to check for the tp- prefix, which is unique to Token Plan keys.
  4. Updated Catalog: Include the V2.5 model suite in the default catalog for this provider:
    • Flagship: MiMo-V2.5-Pro
    • Others: MiMo-V2.5, MiMo-V2-Pro, MiMo-V2-Omni, MiMo-V2.5-TTS, MiMo-V2.5-TTS-VoiceClone, MiMo-V2.5-TTS-VoiceDesign, MiMo-V2-TTS

Alternatives considered

Users can currently use --auth-choice custom-api-key, but this requires manually finding and typing the SGP-specific URLs and exact model strings, which significantly increases the friction for new users and leads to configuration errors.

Impact

This will provide a seamless setup experience for the growing number of users migrating to Xiaomi's high-performance V2.5 dedicated infrastructure. It will also reduce support overhead related to "invalid key" errors caused by region or endpoint mismatches.

Evidence/examples

  • Platform URL: https://platform.xiaomimimo.com/token-plan

  • Flagship Model: MiMo-V2.5-Pro

  • MiMo-V2-Pro / MiMo-V2.5-Pro:Flagship reasoning model

  • MiMo-V2-Omni / MiMo-V2.5:All-in-one multimodal model

  • MiMo-V2-TTS / MiMo-V2.5-TTS/ MiMo-V2.5-TTS-VoiceClone / MiMo-V2.5-TTS-VoiceDesign:Text-to-Speech models (free for a limited time)

Additional information

The Token Plan is specifically designed for V2.5 models, which offer superior performance and newer features compared to the standard V2 models currently in the OpenClaw catalog. Native support will align OpenClaw with Xiaomi's latest professional offerings.

extent analysis

TL;DR

Add a dedicated onboarding flow for the Xiaomi Token Plan to simplify setup and reduce configuration errors.

Guidance

  • Implement a new onboarding choice, "Xiaomi Token Plan (Dedicated)", to the openclaw onboard authentication menu.
  • Pre-configure dedicated base URLs for the SGP region, such as https://token-plan-sgp.xiaomimimo.com/v1 for OpenAI Compatible and https://token-plan-sgp.xiaomimimo.com/anthropic for Anthropic Compatible.
  • Validate Token Plan keys by checking for the tp- prefix to ensure correct endpoint usage.
  • Update the default catalog to include the V2.5 model suite for this provider.

Example

No code snippet is provided as the issue focuses on configuration and feature implementation rather than code changes.

Notes

The proposed solution aims to simplify the setup process for professional users and reduce support overhead related to configuration errors. However, the implementation details may vary depending on the specific requirements and constraints of the OpenClaw platform.

Recommendation

Apply the proposed workaround by adding a dedicated onboarding flow for the Xiaomi Token Plan, as it will provide a seamless setup experience for users and reduce configuration errors.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Feature]: Add Native Support for Xiaomi Token Plan Onboarding [1 participants]