Manage Console
The Manage Console is for all accounts. Regular accounts view usage and manage their profile and key; accounts with manager permissions can also create and manage sub-accounts. Every action calls the XSI API directly.
Signing in and signing up
- Sign in with an XSI API key (51 characters, starting with
sk-Xvs), verified withGET /dashboard/status. If you have lost your key, search your signup mailbox forsk. - The key is stored locally in the browser, so reopening the page signs you in automatically. You are signed out automatically whenever a request returns
401. - The sign-in page offers email signup (
POST /x-sign) and referral codes; a?ref=parameter in the URL fills in the referral code automatically. - Switch languages with
EN/δΈ. The English UI lives under/en/. The bottom of the sign-in page shows theXSI by XABC Labsattribution. - The broadcast bar in the navigation and the promotional card on the right are XSI reserved placements. Free use requires keeping them as they are; see section 5 of the LICENSE.
Pages at a glance
| Page | Visible to |
|---|---|
| Usage Statistics | All accounts |
| My Account | All accounts |
| Top Up Account | Deployments with XPAY_API configured |
| Config Guide | All accounts |
| AI API | All accounts |
| Sub-account Insights, Sub-account List, View Sub-accounts, Create Sub-account, Manage Credits, Update Sub-account, Delete Sub-account, Activity Logs | Managers |
Without manager permissions, the sub-account pages are hidden and a notice is shown instead. Fields such as Gear, Level, Role, Factor, and credit type are shown only to the tenant owner.
Usage Statistics
- Three modes: today (live), a specific date, and a date range (up to 3 years). Data comes from
GET /dashboard/bill. - Today's Quota Status (visible to Role 2 and Role 3 accounts): progress bars for RPD, TPD, and the daily credit limit, plus usage progress and policy tags for each credit card. Data comes from
GET /dashboard/live. - Stat cards: total cost, total requests, web searches, image processing, total tokens, input and output tokens, and cache reads and writes.
- Model cost distribution and request distribution charts, and a model usage details table (sortable by cost, requests, searches, images, or name).
- Date range mode adds a daily trend chart and a daily breakdown.
Queries spanning more than 30 days incur a one-time management call fee (default Β₯0.012).
My Account
- Profile: nickname, email, and billing emails (up to 3). When referrals are enabled, "My Referral Code" and a referral link are shown; when payments are enabled, you can enter invoice details (general or special VAT invoice). Saving submits only the fields you changed (
PUT /x-users?id=<self>). - API Key Security: Shows a preview of the current key, which you can regenerate with one click (
POST /x-self). The old key stops working immediately, and the action cannot be repeated within 10 minutes. Root accounts must rotate their key through the API with theROTATE-ROOTconfirmation phrase. - Batch balance lookup: Enter multiple keys (separated by newlines or commas) to look up each one's email, credit cards, used and remaining credit, today's and this month's usage, request count, and rate limits. Lookup history is stored locally.
Top Up Account
Available when the deployment has a payment gateway configured:
- Enter an amount (minimum Β₯50) or pick a preset amount, then pay by scanning the WeChat QR code. Β₯1 buys Β₯1 of credit, valid for 1 year.
- Plan list: shows the current plan, Factor, price, credit granted, and duration. Switching to a plan on a different Level clears the current balance; you are warned before purchase.
- The status of the current order is polled automatically. The recharge history shows orders and group-buy status, and lets you request invoices for paid orders and download them.
- Sub-accounts whose plan follows their parent account do not see plans.
Config Guide
Setup instructions for Codex CLI / App, Claude Code, and OpenCode, with a one-shot setup script for Linux / macOS and snippets for Windows CMD and PowerShell. The key in the examples is replaced automatically with the key you are signed in with.
AI API
How the system works, SDK examples, and cURL examples. The base URL is filled in with the address of the current deployment.
Sub-account management
The following pages require manager permissions and correspond to the Account Management API.
Sub-account List
- Shows all descendants, paginated (
GET /x-dna). The search box accepts a numeric ID, an email, or a DNA prefix (starting with.); any other text is fuzzy-matched. Click the DNA on a card to filter by that branch. - Each card shows whether the account is a direct child or a descendant, its enabled status, email and nickname, whether it can create further sub-accounts (and why not), and its balance and credit cards. Owners also see Role, Gear, Level, Factor, and creation time.
- Quick credit adjustment (
+/-): Enter an amount and validity in days (up to 365). Owners can choose the credit type. - Batch credit adjustment: Grant or claw back credit for the current filter results (or all descendants if no filter is applied). Preview first, then execute; the preview lists the outcome for each account (
POST /x-users/batch-credit). - Edit drawer: Basic info, limits (monthly credit limit, daily credit limit, sub-account count), six-dimension rate limits, IP / model / resource allowlists, model mapping, model limits, billing emails, and QR code. Owners can also change Gear, Level, Role, Factor, allowed Levels, and the model-to-Level mapping. Model and resource allowlists can be applied to a chosen scope (current account only, current account and all descendants, or descendants only); recursive changes are previewed before they are applied.
- Delete: Deletes the account after confirmation.
Sub-account Insights
Aggregates usage across all descendants for a date range (up to 3 years) (GET /x-bill): stat cards, model cost and request distribution, cost trend and daily trend, a sub-account consumption overview (including cost and request share), model distribution, and a daily breakdown. Queries on this page do not incur a management call fee.
View Sub-accounts
Look up a descendant by ID, account name, email, or DNA. Results are shown as JSON, with cURL, Python, and JavaScript examples.
Create Sub-account
| Field | Description |
|---|---|
| Required and globally unique; the API key is sent to this address | |
| Nickname | Optional; defaults to the email prefix |
| Initial Credit | Required. Amounts below the system minimum (USER_MIN_BALANCE) are raised to the minimum automatically |
| Credit Type | Owners only: extra usage card (pay-as-you-go) or subscription card |
On success, the console shows the sub-account's ID, identifier, and API key; the key is also emailed to the sub-account. All other attributes are inherited from the current account and can be adjusted in Update Sub-account or the edit drawer.
Manage Credits
Enter the sub-account's ID, account name, or email, an amount (positive to add credit, negative to claw it back), and an optional validity in days (up to 365). Owners can choose the credit type; if no validity is given, it defaults to 31 days. For other managers, an empty validity keeps the expiry of the source credit.
Update Sub-account
Locate the account by ID, account name, or email, then change its email, nickname, rate, status, monthly credit limit, daily credit limit, sub-account count, six-dimension rate limits, model limits, IP / model / resource allowlists, model mapping, billing emails, and QR code. Owners can also change Gear, Level, Role, Factor, allowed Levels, and the model-to-Level mapping. Fields left blank are not changed; however, any update by a regular manager aligns the target's Level, Role, and mappings with the manager's own, see Account Management API.
Delete Sub-account
Delete by ID, account name, or email. This cannot be undone, and the sub-account's key stops working immediately. Remaining credit is refunded according to the rules, and a one-time management call fee is charged.
Activity Logs
Shows the current account's recent management actions: time, action, target, details (JSON), and IP.
Other features
- Notification banner: Shows system announcements, personal notifications, and Level notifications, with an option to hide them for the rest of the day.
- Membership badge: When a payment gateway is configured, My Account and Top Up Account show your membership tier, which you can share or download as a share card.
- License badge: Shows the deployment's commercial license status (
LICENSE_ID). - Support QR code: Shown when the account or deployment has a support QR code configured.
Deployment configuration
| Variable | Effect on this console |
|---|---|
XAI_API | API address |
XAI_ADMIN | Link to the Admin Console, visible to owners |
XPAY_API | Enables Top Up Account, invoice details, and membership badges |
SUPPORT_QR_URL | Support QR code |
XAI_HIDE_MODEL_PRICING | Hides the "Models & pricing" link on the sign-in page |
XAI_REFERRAL_REWARD_RATE | Referrals and the displayed reward rate |
LICENSE_ID, BRAND_NAME | License badge, brand name |