User Management
Manage user accounts, roles, groups, quotas, login bindings, security credentials, and subscriptions.
- Only Admin and Root can access this page. In the sidebar, go to “Admin” → “Users”.
- View and filter users, manage account details, quotas, roles, administrator permissions, login bindings, subscriptions, passkeys, and 2FA, and delete users.
- Manage global rules such as registration and sign-in methods, group pricing, and subscription plans on their respective pages.
Tip
- Admin can only manage regular users. Root can manage both regular users and Admin accounts. See Role Hierarchy.
- Only Root can set Administrator Permissions.
- For global rules, see Authentication Configuration, Billing and Payment Configuration, and Subscription Management.
User Management Overview
- User Management – User List

The user list includes all accounts on this site, including closed accounts.
- Add a User
- Edit User Information
- Adjust User Quota
- Administrator Permissions
- Roles and Status
- Manage User Bindings
- Manage User Subscriptions
- Reset Passkey
- Reset 2FA
- Delete a User
Tip
See the FAQ if an operation is denied, no verification method is available, or the user is prompted to sign in again.
Field descriptions
| Field | Definition | Requirements and Limits | Notes |
|---|---|---|---|
| ID | The user's unique numeric identifier. | Generated by the system. | Sortable. |
| Username | The username used to sign in. | Set when adding a user. It cannot be changed. | If a note is set, a note label appears next to the username. Only administrators can see it and hover to read the full note. If the display name differs from the username, it appears below it. Sortable. |
| Status | Enabled, disabled, or closed. | For enabling and disabling accounts, see Roles and Status. Users close their own accounts. | Hover to see “Requests: …”. See User Status for details. |
| Available Balance | Remaining quota and used quota. | Change it through Adjust User Quota. | The column header includes the current display unit, such as “Available Balance ($)”. The unit follows the platform's billing settings. The top line shows the remaining quota in red if negative, and the bottom line shows the used quota. If both are 0, the column displays “No Balance”. Click to view “Available Balance” and “Total Used”. Sortable. |
| User Group | The group the user currently belongs to. | Change it in the edit drawer. | The group affects rules such as model availability, channel matching, and billing ratios. Sortable. |
| Role | User, Admin, or Root. | Use “Promote” or “Demote”. See Roles and Status. | — |
| Referral Information | Number of referred users, quota earned from referrals, and referrer ID. | Recorded by the system. | Displays “—” if all three values are empty. |
| Time | Account creation time and last sign-in time. | Recorded by the system. | The top line shows the creation time. The bottom line shows the last sign-in time, or “-” if the user has never signed in. This column sorts by creation time. |
Common Operations
This section covers adding and editing users, adjusting quotas, setting administrator permissions, enabling and disabling users, promoting and demoting users, managing bindings and subscriptions, resetting passkeys and 2FA, and deleting users.
Add a User
- User Management – New User

Steps
- Click “Add User” in the upper-right corner.
- Enter a username and password. A password is required when creating a user.
- Enter a display name if needed. If you leave it blank, the system uses the username.
- Select “Regular User” (the default) or “Admin”, then click “Save Changes”. To create an Admin account, complete Security Verification first.
Tip
- Only Root can add Admin accounts.
- When adding or editing an Admin account, Root can set its permissions in the “Administrator Permissions” section at the bottom of the drawer. See Administrator Permissions.
Configuration fields
The “New User” drawer contains two sections, “Basic Information” and “Administrator Permissions”. The “Administrator Permissions” section appears only when Root selects the “Admin” role. The fields below appear in drawer order.
| Field | Definition | Requirements and Limits | Default |
|---|---|---|---|
| Username | The username used to sign in. | Required, unique, and up to 20 characters long. It cannot be changed after the user is created. | Blank |
| Role | The account role. | Choose “Regular User” or “Admin”. The helper text reads “Set the user role (cannot be Root)”. Admin can only create regular users. Root can create both regular users and Admin accounts. | Regular User |
| Display Name | The name shown in the list and the user interface. | Up to 20 characters. If left blank, the system uses the username. The sign-in username stays the same. | Blank |
| Password | The initial password. | Required. Must be 8–128 characters long. Password strength and suggestions appear below the field. You can save the password regardless of its strength rating. | Blank |
Caution
Keep initial passwords out of screenshots, support tickets, and shared documents.
Edit User Information
- User Management – Update User

Steps
- Click the pencil icon in the user's row.
- Update the editable fields.
- Click “Save Changes”. If you changed the password or administrator permissions, complete Security Verification first.
Tip
- To change the remaining quota, use “Adjust Quota”. See Adjust User Quota.
- To change a role, select “Promote” or “Demote” from the ⋯ menu. See Roles and Status.
Configuration fields
The “Update User” drawer contains four sections from top to bottom: “Basic Information”, “Group and Quota”, “Administrator Permissions”, and “Binding Information”. The “Administrator Permissions” section appears only when Root edits an Admin account. The fields below appear in drawer order.
| Field | Section | Definition | Requirements and Limits | Default |
|---|---|---|---|---|
| Username | Basic Information | The username used to sign in. | Read-only. | Current value |
| Display Name | Basic Information | The name shown in the list and the user-facing interface. | Up to 20 characters. | Current value |
| Password | Basic Information | The new password. | Leave blank to keep the current password. A new password must be 8–128 characters long. Password strength and suggestions appear below the field as you type. Changing the password revokes the user's existing browser sessions and requires them to sign in again. | Blank |
| Group | Group and Quota | The group the user currently belongs to. | Select from the available groups. Changing the group revokes the user's existing sessions. | Current value |
| Remaining Quota | Group and Quota | The user's wallet balance. | Read-only. Use “Adjust Quota” to increase, decrease, or override it. See Adjust User Quota. | Current value |
| Note | Group and Quota | An internal note for administrators. | Visible only to administrators. Up to 255 characters. Keep secrets, tokens, and unnecessary sensitive personal information out of this field. | Current value |
| Binding Information | Binding Information | Linked sign-in methods. | Displays the GitHub ID, Discord ID, OIDC ID, WeChat ID, email address, and Telegram ID as read-only fields. To see all bindings, including LinuxDO and custom OAuth, or to unlink a method, select “Manage Bindings” from the menu. See Manage User Bindings. | — |
Adjust User Quota
Steps
- Click the pencil icon in the user's row to open the edit drawer.
- Click “Adjust Quota” next to “Remaining Quota”.
- Under “Mode”, select “Add”, “Subtract”, or “Override”.
- Enter the amount and click “Confirm”.
Tip
- The top of the dialog previews the adjustment, for example “Current Quota: … + … = …”.
- “Add” and “Subtract” require an amount greater than 0. “Override” accepts 0 and negative values.
- Quota adjustments are submitted separately from “Save Changes” and require no security verification.
- After a successful adjustment, the user's usage log contains a “Top-up” entry.
Administrator Permissions
Administrator permissions are defined by the Admin permission matrix. When Root creates or edits an account with the “Admin” role, the “Administrator Permissions” section appears at the bottom of the drawer. Root can use it to override the account's default Admin permissions. Each resource has its own row. Click a permission button to grant or revoke the permission. The ⓘ icon next to the resource name shows a description of each permission. Changing permissions requires Security Verification. For when saved changes take effect, see Saving and Applying Changes.
Permission descriptions
| Resource | Permission | Admin Default | Description |
|---|---|---|---|
| Audit Logs | View Other Accounts' Audit Logs | No | “View audit records for the user and admin roles, always excluding root-level records.” |
| Channel Management | Read Channels | Yes | “View channel lists and details with keys omitted.” |
| Channel Management | Operate Channels | Yes | “Test channels, refresh balances, and enable or disable channels individually, in batches, or by tag.” |
| Channel Management | Edit Channel Routing | Yes | “Edit non-sensitive settings such as models, groups, and routing rules.” |
| Channel Management | Edit Sensitive Channel Settings | No | “Create channels or edit keys, base URLs, and override rules.” |
| Channel Management | View Channel Keys | No | “Reserved for viewing full channel keys after security verification.” |
| Task Plugins | Bind Task Plugins | No | “List registered task plugins and bind them when creating or editing task plugin channels.” |
Roles and Status
- User Management – Actions Menu

Steps
- Click ⋯ in the user's row and select “Enable”, “Disable”, “Promote”, or “Demote”.
- Complete Security Verification.
Available actions
| Action | Applies To | Behavior and Limits |
|---|---|---|
| Enable | Disabled users | Changes the status to enabled. The operator must still have permission to manage the target role. |
| Disable | Enabled users | Changes the status to disabled. Root accounts cannot be disabled. Use this action to temporarily block sign-ins and API calls while retaining the account record. |
| Promote | Regular users | Only Root can promote a regular user to Admin. |
| Demote | Admin | Changes an Admin to a regular user. Root accounts cannot be demoted. Demotion clears the account's fine-grained permission overrides and revokes its existing sessions. |
Tip
When a role or status change affects authentication, the system updates the authentication state, clears the relevant caches, and revokes the user's sessions.
Manage User Bindings
- User Management – Account Binding Management

The “Manage Bindings” dialog can display email, GitHub, Discord, OIDC, WeChat, Telegram, LinuxDO, and configured custom OAuth providers. Disabled providers may still appear if the user linked them before they were disabled.
Steps
- Click ⋯ in the user's row to open the actions menu, then select “Manage Bindings”.
- The dialog shows linked methods by default. Click “Show All” to also see unlinked and disabled providers. The button label then changes to “Linked Only”.
- To unlink a provider, click the unlink icon in the upper-right corner of the linked provider's card, confirm in the “Confirm Unlinking” dialog, and complete Security Verification.
Caution
- The dialog only supports unlinking existing bindings. It cannot set up a new email address, OAuth connection, passkey, or other sign-in method on the user's behalf.
- Before unlinking a provider, confirm that the user still has a password or another available recovery method. The user loses the ability to sign in with that identity once it is unlinked.
Manage User Subscriptions
- User Management – User Subscription Management

Steps
- Click ⋯ in the user's row and select “Manage Subscriptions” to open the “User Subscription Management” drawer.
- View the user's subscription records in the list or perform one of the actions below.
Subscription list fields
| Field | Description |
|---|---|
| ID | The subscription record's unique identifier. |
| Plan | The plan name and subscription source. Subscriptions added by an administrator typically have admin as the source. |
| Status | Active, invalidated, or expired. |
| Validity Period | Start and end times, calculated using the plan's validity period at the time the subscription was created. |
| Total Quota | Displays used quota over total quota. A total quota of 0 displays as “Unlimited”. The unit follows the instance's billing settings. |
| Actions | The row menu offers “Reset Quota”, “Invalidate”, and “Delete”. To add a subscription, use “Add Subscription” at the top. |
Add a subscription
- In the plan selector at the top, select a plan available to administrators.
- Click “Add Subscription”.
Tip
- Adding a subscription assigns it to the user without creating a payment order. The API requires the instance to have completed its payment compliance confirmation and revalidates the plan ID and the per-user purchase limit.
- The purchase limit counts all existing subscription records for the user on that plan, including active, expired, and invalidated subscriptions. Only deleting an existing record frees up a slot.
Reset subscription quota
- Open the actions menu in an active subscription row for the target plan and select “Reset Quota”.
- Leave “Advance Next Reset Time” on or turn it off as needed. It is on by default.
- Click “Reset Quota” in the confirmation dialog.
Tip
- The reset affects all active, unexpired subscriptions the user has on that plan.
- The reset sets used quota to zero for each matching subscription.
- With the switch on, the system recalculates the next reset time using the plan's current reset rules. With the switch off, it sets used quota to zero and keeps the existing reset time.
- The success message shows how many active subscriptions were reset.
Invalidation and deletion compared
“Reset Quota” and “Invalidate” are available only for active subscriptions. “Delete” is available for subscriptions in any status. Before deleting an active subscription, check whether “Invalidate” better fits your needs.
| Effect | Invalidate Subscription | Delete Subscription |
|---|---|---|
| Record handling | Retains the record, changes its status to “Invalidated”, and sets the end time to the current time. | Permanently removes the entire subscription record. |
| Subscription record | Retains the subscription history, plan information, total quota, used quota, source, and group snapshot. | Removes the record and all stored entitlements, quota, status, timestamps, and the group snapshot. |
| New requests | The system no longer recognizes the subscription as active or uses its quota for new requests. | The system no longer recognizes the subscription as active. |
| User group | May revert the user's group. | May revert the user's group in the same way and then delete the snapshot. |
| Wallet balance | Leaves the wallet balance unchanged. | Leaves the wallet balance unchanged. |
| Payment amount | Leaves the payment order unchanged and issues no refund. | Leaves the payment order unchanged and issues no refund. |
| Unused quota | Unused quota is forfeited and used quota is retained. | Unused quota disappears with the subscription record. No quota is transferred to the wallet or another account. |
| Usage and task logs | Retains the logs. | Retains the logs. Subscription IDs in the logs may become historical references. |
| Purchase limit | The retained record still counts toward the plan's purchase limit. | The deleted record no longer counts toward the limit. |
| Recovery | To resume the subscription, create a new one. Invalidation cannot be undone. | The interface offers no recovery option, and the record usually cannot be recovered. |
| In-flight requests and tasks | Because the record still exists, later settlement or refunds can usually use the subscription ID. | Later lookups by subscription ID may fail, which can prevent settlement or refunds from completing. |
Caution
- Use “Invalidate” to stop a subscription while retaining its full history.
- Use “Delete” only after confirming that the record is incorrect, contains test data, or does not need to be retained.
- If a refund is required, follow the separate refund process. Invalidation and deletion do not issue refunds.
- Before deleting a subscription, confirm that there are no in-flight requests, asynchronous tasks, or pending refunds.
Reset Passkey
- User Management – Reset Passkey

Caution
Before resetting, confirm that the user still has a usable sign-in method, such as a password, a linked third-party account they can access, or a linked email address that can receive password reset emails. Without one, the user will be unable to sign in or register a new passkey after the reset.
Steps
- Select “Reset Passkey” from the user's row menu.
- Confirm the reset in the dialog and complete Security Verification.
Tip
- The system deletes the user's existing passkey credentials and revokes all their sign-in sessions. The success message reads “Passkey reset successfully”.
- The user must register a new passkey before they can use passwordless sign-in again.
Reset 2FA
- User Management – Reset 2FA

Steps
- Select “Reset 2FA” from the user's row menu.
- Confirm the reset in the dialog and complete Security Verification.
Tip
- The system deletes the user's existing 2FA factors and backup codes, updates the authentication version, and revokes all their sign-in sessions. The success message reads “Two-factor authentication has been reset”.
- The user must set up 2FA again on the “Security & Access” page.
Delete a User
Caution
- Only operators whose role ranks strictly above the target user's role can perform this action. Root accounts cannot be deleted through this workflow.
- Before deleting a user, export or save any audit information your organization requires you to retain. This page has no recovery option.
- “Delete” permanently removes the user and cannot be undone. Use “Disable” to temporarily block sign-ins and API calls. Use “Delete” only after confirming which data will be removed, what retention requirements apply, and how any subsequent recovery would be handled.
- Users deleted here disappear from the list. Accounts users close themselves on the “Security & Access” page stay in the list with the “Closed” status and have no available actions.
Steps
- Open the ⋯ menu in the user's row and select “Delete”.
- Click “Delete” in the “Are you sure?” dialog. The dialog warns, “This action cannot be undone”.
- Complete Security Verification.
Tip
Hard deletion removes the primary user record and the authentication data explicitly associated with it in the system.
- API tokens and other user authentication tokens
- Browser sessions and authentication flow records
- Passkey credentials
- 2FA configuration and backup codes
- Records reserving linked identities for built-in third-party providers
- Custom OAuth bindings
Rules and Behavior
This section covers the role hierarchy and the actions that require security verification.
Role Hierarchy
| Role | Management Scope |
|---|---|
| User | Regular user with no access to the User Management page. |
| Admin | Can manage regular users. Cannot manage account details or security settings for other Admin accounts or Root accounts. |
| Root | Can manage regular users and Admin accounts. For Root accounts, can edit account details and manage bindings and subscriptions. The interface provides no option to disable, demote, or delete Root accounts, or to reset their passkeys or 2FA. |
Security Verification
Before the following actions are submitted, a verification dialog appears with a title such as “Verify to Delete User”. The current operator must verify their identity again before the action can proceed.
- Enable, disable, promote, or demote a user.
- Delete a user.
- Reset a passkey or 2FA.
- Unlink a sign-in method in “Manage Bindings”.
- Change a password or administrator permissions while editing a user.
- Create a user with the “Admin” role.
Verification uses the same methods as sensitive actions on personal accounts. Use 2FA or a passkey if 2FA is enabled or a passkey is registered. Otherwise, use the account password. Accounts without a password use a linked third-party sign-in method. See Authentication Configuration.
Tip
- Creating a regular user, editing only the display name, group, or note, adjusting quota, and managing subscriptions require no security verification.
- Disabling password sign-in or passkeys also makes that method unavailable for verification. If the operator has no other available method, they must first enable 2FA on the Security & Access page before they can complete these actions.
Controls and Actions
Page Controls and Filters
| Control | Location | Description |
|---|---|---|
| Add User | Upper-right corner of the page | Opens the “New User” drawer. See Add a User. |
| Search Box | Toolbar above the list | The placeholder reads “Filter by username, name, or email...”. Matches usernames, email addresses, and display names. A digits-only query also matches an exact user ID. The search query is stored in the page URL. |
| Status | Toolbar above the list | Select one of “Enabled”, “Disabled”, or “Closed”. The selection is stored in the page URL. |
| Role | Toolbar above the list | Select one of “User”, “Admin”, or “Root”. The selection is stored in the page URL. |
| User Group | Toolbar above the list | Select one of the groups configured in the system. The selection is stored in the page URL. |
| Reset | To the right of the filters | Appears when a search term or filter is active. Clears the search term and all three filters. |
| View | Right side of the toolbar above the list | Under “Toggle Columns”, show or hide the ID, Status, Available Balance, User Group, Role, and Time columns. The default view is restored when the page is refreshed. |
| Column Sorting | ID, Username, Available Balance, User Group, and Time column headers | Sort in ascending or descending order. The Time column sorts by creation time. The default sort order is restored when the page is refreshed. |
| Pagination | Bottom of the list | Displays “Total: …”. “Rows per Page” offers 10, 20, 30, 40, 50, and 100. The default is 20 on desktop and 10 on mobile. The page number is stored in the page URL. |
Tip
- The server applies search, filters, and sorting before paginating the results.
- You can use all three filters together.
Row Actions
| Action | Location | Description |
|---|---|---|
| Edit | Pencil icon at the end of the row | Opens the “Update User” drawer. See Edit User Information. |
| Enable, Disable | ⋯ menu at the end of the row | Disabled users show “Enable”. Other users show “Disable”. “Disable” is grayed out for Root accounts. See Roles and Status. |
| Promote, Demote | ⋯ menu at the end of the row | Regular users show “Promote”. Admin accounts show “Demote”. Root accounts have no “Demote” option. See Roles and Status. |
| Manage Bindings | ⋯ menu at the end of the row | Opens “Account Binding Management”. See Manage User Bindings. |
| Manage Subscriptions | ⋯ menu at the end of the row | Opens “User Subscription Management”. See Manage User Subscriptions. |
| Reset Passkey | ⋯ menu at the end of the row | Grayed out for Root accounts. See Reset Passkey. |
| Reset 2FA | ⋯ menu at the end of the row | Grayed out for Root accounts. See Reset 2FA. |
| Delete | ⋯ menu at the end of the row | Shown in red and grayed out for Root accounts. See Delete a User. |
Tip
Closed accounts have no available actions.
Status Reference
User Status
The “Status” column in the user list shows the following statuses.
| Status | Meaning | Notes |
|---|---|---|
| Enabled | The user can sign in and make API calls. | Shown in green. |
| Disabled | An administrator has disabled the account. | The status and the entire row are grayed out. The system rejects the user's API keys starting with the next request. See Roles and Status. |
| Closed | The user closed their own account on the “Security & Access” page. The record remains in the list. | The status and the entire row are grayed out, and no actions are shown. Accounts deleted by an administrator disappear from the list. |
Saving Changes and When They Take Effect
Actions on this page write directly to the database. Each node reads the new values starting with its next request. See the table for the exception for administrator permissions. In the tables, “revoke sessions” means invalidating all of the user’s active browser sessions and requiring the user to sign in again. The user’s API keys remain unaffected by session revocation.
Profile, Quota, and Subscriptions
| Action | How to save | When it takes effect |
|---|---|---|
| Add a user | Click “Save Changes” in the drawer. The message “User created successfully” appears. Complete security verification before creating an administrator. | The new user can sign in immediately and receives the “New User Quota.” If the new user quota is greater than 0, a “New user signup bonus …” entry is also logged. |
| Change the display name or notes | Click “Save Changes” in the edit drawer. The message “User updated successfully” appears. | Takes effect immediately without revoking sessions. |
| Change the Group | Click “Save Changes” in the edit drawer. The message “User updated successfully” appears. | Starting with the next request, routing and billing use the new Group, and sessions are revoked. |
| Adjust Quota | Confirm in the “Adjust Quota” dialog. Security verification is unnecessary. | The new balance applies starting with the next request. Quota already deducted in advance for in-flight requests is unaffected. Sessions stay active. A “Top-up” entry is added to the user’s usage log. |
| Add, reset, void, or delete a user subscription | Submit each action separately in the Manage Subscriptions panel. Security verification is unnecessary. | Takes effect immediately. Group changes triggered by subscriptions leave sessions active. See Subscription Management. |
Status, Permissions, and Sign-in Credentials
| Action | How to save | When it takes effect |
|---|---|---|
| Enable, disable, promote, or demote a user | ⋯ menu → Security verification | Takes effect immediately. Sessions are revoked if the status or role changes. Once the account is disabled, requests using the user’s API keys are rejected starting with the next request. Demoting the user also clears the account’s administrator permission overrides. |
| Change administrator permissions | Click “Save Changes” in the edit drawer and complete security verification. | Takes effect immediately on the node handling the request. Other nodes reload the permissions within about 3 seconds, or within one sync interval at most (60 seconds by default). Sessions stay active. Set the sync interval in seconds with the SYNC_FREQUENCY environment variable and restart after changing it. This page has no corresponding setting. |
| Change the password | Enter the new password in the edit drawer, click “Save Changes,” and complete security verification. | Takes effect immediately and revokes sessions. |
| Unlink an identity | In “Manage Linked Accounts,” click the unlink icon, select “Confirm Unlink,” and complete security verification. The message “Unlinked …” appears. | Takes effect immediately. The user can no longer sign in with that identity. Existing sessions stay active. |
| Reset Passkey or 2FA | ⋯ menu → Confirm → Security verification. The message “Passkey reset successfully” or “Two-factor authentication has been reset” appears. | Immediately deletes the corresponding credentials and revokes sessions. |
| Delete a user | ⋯ menu → “Are you sure?” → Security verification. The message “User deleted successfully” appears. | Deletes the user immediately and permanently. See Delete a User. |
Important Notes
- User deletion is permanent. To temporarily block sign-in and API access, use “Disable.” See Delete a User.
- Role hierarchy limits apply. Admin can manage only regular users. Only Root can promote users and create administrators. See Role Hierarchy.
- Security verification may be unavailable. Disabling password sign-in or the Passkey feature makes the corresponding method unavailable for verification. Administrators without another available method cannot perform actions that require verification. See Security Verification.
- Confirm the user can still sign in before unlinking an identity. Before unlinking an identity or resetting a Passkey, make sure the user still has a password or another available sign-in method. See Manage Linked Accounts and Reset Passkey.
- Voiding or deleting a subscription does not issue a refund. Both actions forfeit any unused quota. Handle refunds separately. See User Subscription Management.
Frequently Asked Questions
Related Documentation
- Review what each permission in the Channel permission matrix allows. Channel Management
- Create plans and configure quota cycles, purchase limits, and rules for Group upgrades and rollbacks. Subscription Management
- Configure registration, OAuth, Passkey, and global authentication policies. Authentication Settings
- Review payment compliance and global settings for wallets and top-ups. Billing and Payment Settings
How is this guide?
Last updated on