In this article
Check first-request charging, concurrent creation and warned untracked exceptions; a successful model response alone cannot establish customer attribution.
The November 13 LiteLLM v1.111.0-dev.2 prerelease changes unknown customer organization aliases from an untracked path to automatic organization registration. The new organization receives the request’s charge. The implementation still permits untracked execution for oversized aliases or failed inserts, with warnings, so automatic registration is not a guarantee that every accepted request has a customer accounting row.
The first request is the important charge
Choose a fresh synthetic alias and submit one request with fixed known usage. Inspect the created organization identity and its spend before sending a second request. A test that only checks subsequent traffic can miss the original gap: creation succeeds, but the triggering charge lands nowhere. Compare the gateway spend record and customer aggregation with the same request identifier rather than relying on the new row’s existence.
Two workers should agree on one identity
Release two harmless first requests for the same unknown alias from separate workers. The implementation describes convergence on one organization row. Check that both charges use that identity and that no duplicate customer appears in navigation or reporting. Converged creation and complete accounting are different assertions: a database uniqueness rule can prevent duplicate rows while a losing request still fails to attach its spend to the winning row.
Untracked exceptions remain an explicit outcome
Use an alias beyond the documented 256-character boundary and a controlled insertion failure as separate fixtures. Capture warnings and verify the documented untracked behavior without treating successful inference as successful registration. Then restore storage and repeat with a valid fresh alias. This distinguishes a lasting configuration problem from a transient write failure and demonstrates that observing the exception path has not broken ordinary automatic onboarding.
Treat alias creation as a product policy
The PR calls this an intentional product change for callers using the shared key. Review which application component supplies the alias and whether spelling mistakes should create real customer entities. Do not infer organization membership permissions from row creation. A useful rollout record preserves the alias source, first charge, race result and warning policy, making automatic accounting explainable while retaining separate authentication and customer-identity controls.
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.