| summary | Xiaomi MiMo provider notes: cookie auth, balance endpoint, and setup. | |||
|---|---|---|---|---|
| read_when |
|
The Xiaomi MiMo provider tracks your current balance from the Xiaomi MiMo console.
- Balance display: Shows the current MiMo balance as provider identity text.
- Cookie-based auth: Uses browser cookies or a pasted
Cookie:header. - Near-real-time updates: Balance usually reflects within a few minutes.
- Open Settings → Providers
- Enable Xiaomi MiMo
- Leave Cookie source on Auto (recommended)
CodexBar imports cookies from these browsers in order: Safari, Chrome / Chrome Beta / Chrome Canary, Firefox, and Microsoft Edge. Switch to Manual and paste a Cookie: header if your active MiMo session lives in Arc, Brave, or another browser profile CodexBar does not auto-detect.
Safari cookie import may require granting CodexBar Full Disk Access in System Settings → Privacy & Security.
- Open
https://platform.xiaomimimo.com/#/console/balance - Copy a
Cookie:header from your browser’s Network tab - Paste it into Xiaomi MiMo → Cookie source → Manual
- Fetches
GET https://platform.xiaomimimo.com/api/v1/balance - Requires the
api-platform_serviceTokenanduserIdcookies - Accepts optional MiMo cookies like
api-platform_phandapi-platform_slhwhen present - Supports
MIMO_API_URLto override the base API URL for testing
- MiMo currently exposes balance only
- Token cost, status polling, debug log output, and widgets are not supported yet
- Auto import covers Safari, Chrome variants, Firefox, and Edge only; other browsers use Manual mode
Log in at https://platform.xiaomimimo.com/#/console/balance in Safari, Chrome, Firefox, or Edge, then refresh CodexBar. If your session lives in another browser, switch the MiMo provider to Cookie source → Manual and paste the Cookie: header instead.
The pasted header or imported browser session is missing required cookies. Re-copy the request from the balance page after logging in again.
Your MiMo login is stale. Sign out and back in on the MiMo site, then refresh CodexBar.