Users & Roles
LLM Proxy supports multiple users. Each account has its own API keys and logs, plus an optional model allowlist and spending cap.
Team (admin only) is where accounts are created and managed.
Roles
admin | viewer | |
|---|---|---|
| Usage & logs | All users | Own usage and logs only |
| Audit log | View + verify integrity | No access |
| Providers / Models management / MCP Servers / Team / server settings | Full | No access (403) |
| API keys | Own keys; may set MCP allowlist and per-key rate limits | Own keys; may set the MCP allowlist; no per-key rate limit |
| Account rate limit | Set any member's cap in Team | Read-only (enforced on every key) |
| Playgrounds | Yes | Yes |
Promote a member by changing their role in Team. A role change revokes all of that member's active sessions, so they must sign in again.
Inviting a member
Team → Invite Member creates a single-use, 7-day link for an email address. The link is shown once and can be copied; if email delivery is configured (SMTP or Resend), the proxy sends it automatically. Re-sending rotates the link and invalidates the previous one.
The invitee opens the link, chooses a username and password, and is signed in. The role, model allowlist, and account budget chosen by the inviter apply immediately. No temporary password is ever transmitted.
The invitation strip above the member table tracks all invitations: pending rows offer Resend and Revoke, while accepted, revoked, and expired rows move into Past invitations with their completion timestamp.
Without email delivery, the copyable link is the credential, so share it only with the invitee. With email delivery, the email address is verified before acceptance. OAuth invitations follow the same rule and only create an account when the provider reports a verified email matching the invitation. An OAuth invitation also asks the invitee to choose a username before creating the first console session.
Existing users add or change their login email from Account → Email. The proxy sends a 24-hour single-use verification link pinned to the account's current address. Without email delivery, an administrator can set the email in Team (marked as admin-attested).
Creating a member manually
Team → Add Member:
| Field | Notes |
|---|---|
| Username | Up to 64 characters; letters, digits, _, and - |
| Password | 8–72 characters with uppercase, lowercase, digit, and special character |
| Role | viewer (default) or admin |
| Allowed models | No selection allows all models; an explicit empty selection denies all |
New members (and any member whose password an admin resets) must change their password at first sign-in. Until they do, other screens stay blocked and the console directs them to Set a New Password.
Empty allowlist means no access
Clearing the model selection denies every model. Click Clear selection only if you intend to lock the member out of model access entirely.
Changing a password signs the user out of all active sessions and invalidates their playground session keys.
Forgetting your password
Forgot password? on the sign-in page emails a single-use 30-minute link to the account's verified email address. Setting a new password through it ends every existing session on the account.
This link is active only when email delivery (SMTP or Resend) and a public base URL are configured in Instance sign-in; otherwise it directs users to ask an administrator for a reset in Team (see Member lifecycle). Accounts with no password (passkey-only or OIDC-only), no email address, or an unverified (admin-attested) address cannot reset by email and recover via passkey, TOTP recovery code, or an administrator reset. The page responds identically for every address so it cannot be used to enumerate accounts.
Passkeys and two-factor authentication
Users manage their password, passkeys, and TOTP in Account → Sign-in & security. First-run setup lands here with a passkey prompt right after the admin account is created.
- Password is optional. A passwordless account (passkey or OIDC only) can set a password from this page after a fresh re-authentication.
- Passkeys are a primary login factor. The console supports discoverable credentials (no username needed), multiple named passkeys per user, synced passkeys, and inline renaming. User verification (biometric or PIN) is required. A passwordless account cannot remove its last passkey unless it also has a password or a linked OAuth provider; losing the last usable factor requires an administrator reset.
- Two-factor authentication (TOTP) is optional per user. Enrollment shows a QR code with the setup secret and
otpauth://URI as manual fallbacks. Once enabled, password and OIDC sign-ins prompt for a code. Passkey sign-ins stay single-step by default because the passkey already proves device possession and user verification. Ten one-time recovery codes are shown once with copy and download actions. - To require a TOTP code after passkey sign-ins as well, enable Ask for a code after a passkey sign-in in Instance sign-in (off by default).
- Administrators can require TOTP for all admins in Instance sign-in. Admins who have not enrolled yet are redirected to Account → Sign-in & security until they do, and cannot disable 2FA while the policy is active.
- Changing a password, passkey, 2FA state, or linked provider requires recent re-authentication (within 15 minutes).
- From Team, an administrator can reset a member's TOTP/recovery codes or revoke all of their passkeys. Revoking passkeys is blocked when the member has no password and no linked OIDC provider, to prevent lockout.
Passkeys and OIDC require an HTTPS Public base URL in Instance sign-in. Plain-HTTP or LAN-IP deployments can still use invitations and TOTP; the passkey button is hidden when the browser lacks WebAuthn support or the page is not served over HTTPS. Changing the public URL invalidates existing passkeys.
When configuring an OIDC provider in Instance sign-in, the page displays the exact callback URL to register at the identity provider (<public_base_url>/api/auth/oauth/<provider id>/callback). The provider ID is immutable once saved.
Model allowlists
Each member can be restricted to a set of model names:
- Applied to the Models screen (read-only catalog for viewers),
/v1/models, and every inference request. - A viewer's API keys can only narrow this list further: the intersection is enforced when the key is created or updated.
- No selection at the account level means unrestricted; an explicit empty selection denies all models.
Account budgets
In addition to per-key budgets (see API Keys), an admin can set an account budget for a member. It caps the combined spend of all of that member's keys in the same UTC calendar windows.
- Requests over the account budget fail with 429 and code
user_budget_exceeded. As with key budgets, read requests under/v1/*still work. - Only an admin can reset it: Team → member → Reset budget.
- Members can view their own budget status in Account → Profile.
Account rate limits
Because per-key rate limits are admin-only on the admin's own keys, member-wide throttling uses an account rate limit, set from Team → member → Manage rate limit.
- Applies a sliding 60-second window across all of the member's keys, including the playground session key. Leave empty for unlimited.
- Enforced independently of any per-key limit: either cap returns 429 with code
rate_limit_exceeded. - Per-key limits remain available on the admin's own keys in API Keys.
Member lifecycle
| Action | Effect |
|---|---|
| Edit username / password | Username change is immediate; password reset forces a change at next sign-in and revokes sessions |
| Change role | Revokes all active sessions |
| Deactivate | Signs the member out and stops their keys; keys and usage history are preserved |
| Reactivate | Restores sign-in and key usage |
| Delete | Revokes active sessions and permanently removes the member and their API keys; usage history remains |
Safety rules:
- You cannot delete, deactivate, or demote yourself.
- You cannot delete, demote, or deactivate the last active admin.
- Deactivating or deleting a member requires confirmation, with a stricter prompt when the member is an admin.
Sign-in protection
- Sign-in is rate-limited per IP (default 5 requests/minute).
- Account lockout is off by default. When enabled, failed logins are counted per username: after 5 failures the account is locked for 15 minutes regardless of source IP. It is off by default so anyone who knows a username cannot lock the account out; per-IP throttling and auth failure delays still apply.
- Sign-in responses do not reveal whether a username exists.
- Successful sign-in clears the failure counter and is recorded in the audit log.
Both thresholds are configurable in Server Settings.
Account workspace
Any signed-in user can manage their own account under Account:
- Profile: view username, email, role, account budget status, and current session; change username or login email; sign out of the current browser.
- Preferences: set theme and language (stored in this browser) and configure personal tracing backends.
- Sign-in & security: change password, register/rename/delete passkeys, enroll or disable 2FA and regenerate recovery codes, and link or unlink OIDC identities.