Skip to Content
TensorPass

MiMo

Connect a Xiaomi MiMo account to AI Wallet through the authorization of MiMo Code, which returns the account's API key encrypted for the wallet.

The MiMo account answers with an API key of the visitor's Xiaomi MiMo account. The wallet lists it as MiMo under "With your plan", with the id mimo.

What the visitor needs

A MiMo account with a balance or a Token Plan. MiMo issues no API key to an account without either, and the sign in then ends with "this account has no balance or Token Plan for an API key".

Sign in

  1. In the wallet, the visitor picks MiMo under "With your plan".
  2. The wallet creates a key pair for this sign in. Chrome's sign in window opens https://platform.xiaomimimo.com/authorize with the public key, the wallet's callback address, MiMo Code's name (kn=mimocode) and a key name made of aiconnect- and a random suffix.
  3. The visitor signs in to the MiMo platform and authorizes.
  4. MiMo sends the window back to the wallet's callback address with the API key encrypted to the public key. Chrome closes the window and hands the address to the wallet.
  5. The wallet decrypts the key with the private key it kept for this sign in, and the account is connected with that key and the base URL MiMo gives with it.

Closing the window ends the sign in with "The sign in window was closed". The key has no expiry in the wallet and stays in the vault until the visitor removes the account.

Models

The wallet has no model list for MiMo. The account answers with mimo-v2.6-pro, and the side panel shows no model buttons for its sites.

Usage and limits

The wallet reads no usage header specific to MiMo. It reads x-ratelimit-remaining-tokens and x-ratelimit-limit-tokens on any answer that carries them, as it does for every account. Without them, the card keeps saying "Usage shows after the first answer", and Auto ranks the account among the accounts with no reading.

Calls

Answers come from the base URL MiMo returns with the key, followed by /chat/completions, in the OpenAI chat completions protocol. When MiMo gives no base URL, the wallet uses https://api.xiaomimimo.com/v1, MiMo's pay as you go API. When MiMo gives the address of the China Token Plan, https://token-plan-cn.xiaomimimo.com, the calls go there. All four request options reach MiMo.

Known issues

  • The sign in borrows the authorization of MiMo Code.
  • The calls to both MiMo hosts carry MiMo Code's header, X-Mimo-Source: mimocode-cli.

On this page