In this article
Compare personal-key and JWT admission for the same internal user, then verify creation defaults and clearing; accepted management input must become enforced identity state.
The November 15 LiteLLM v1.111.0-dev.4 prerelease persists and enforces multiple budget windows on internal users. The user-level allowance applies to personal virtual keys and JWT calls, with independent shared counters. This is different from a customer organization template: it closes a user-identity enforcement gap where the management API accepted windows without storing them. Team-key behavior retains its documented separate budget path.
Persistence is the first necessary assertion
Create a synthetic internal user through the management API with distinct hourly and monthly windows, then read that user through another worker. The earlier defect accepted budget_limits but returned no stored windows. Do not begin by inferring correctness from one successful model request, which is expected below the cap either way. Capture window identities and reset_at alongside the user ID to demonstrate what later authentication should enforce.
Personal credentials share the user allowance
Issue two harmless personal keys for the same synthetic user and a controlled JWT identifying that user. Spend through one credential, settle known usage and request through the others on different workers. The refusal should follow the user allowance rather than reset with credential rotation. Keep a second user as a control. This checks identity aggregation, not an assertion that every team key is governed by the same user-budget branch.
Default creation paths must reach the same row
Exercise default_internal_user_params through explicit creation, JWT first-call upsert and the member-add path used by the application. The release extends default windows across these entry points. Inspect the resulting user record before exhausting a harmless allowance. A fix covering only the explicit admin endpoint leaves users created during authentication with a different policy. Avoid a precreated fixture when checking the first-call case, since it bypasses precisely the creation boundary under review.
Clearing the user rule must not leave a shadow copy
Clear the user windows through the supported update API and read them back before retrying with an existing personal key and JWT. Check independent key limits separately so a legitimate key refusal is not misdiagnosed as stale user state. The feature is API-based without an Admin UI editor in this PR. A useful adoption record follows persistence, authenticated identity, creation defaults and clearing across workers, explaining precisely which scope still constrains each request.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.