Monitor Huawei Cloud ModelArts MaaS usage from VS Code. A request counter appears on the right side of the status bar; click it for requests, token totals, success/failure counts, and per-service statistics.
Setup
- Sign in to the Huawei Cloud international console.
- Copy Project ID of your Huawei Cloud account of
Hong KongRegion. - In browser developer tools, copy the full
Cookierequest-header value from an authenticated ModelArts MaaS request. - Press
Ctrl+Shift+Pand run Huawei MaaS: Configure Credentials. - Enter the project ID and paste the cookie.
- Enter the Cookie.

The cookie is kept in VS Code Secret Storage, never settings or logs. Browser sessions expire, so reconfigure when prompted.
Commands: Open Cockpit, Configure Credentials, Refresh Statistics, and Clear Credentials. Settings control region, timezone, refresh interval, and console URL.
This uses Huawei console endpoints and a browser session. Treat the cookie as a password. Prefer a documented public API if Huawei provides an equivalent endpoint.
Developed with <3 by Fawad Iqbal f00928374 for you.