#31824 [Feature]: End-user self-service usage endpoint and dashboard
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
### The Feature
I would like LiteLLM to provide a self-service usage endpoint and dashboard for ordinary virtual key holders.
The goal is to let an end user query their own usage without requiring master key or admin permissions.
Suggested endpoints:
- `GET /me/usage` - `GET /me/usage/detail` - `GET /me/usage/all-keys`
The response could include:
- current month call count - token usage - spend - budget - remaining budget - monthly call limit - remaining monthly calls - model-level breakdown - key-level breakdown - usage window start/end
Desired behavior:
1. A virtual key holder can retrieve only their own usage. 2. Master key should not be required for self-service usage. 3. Optional aggregation by `user_id`, `end_user`, or metadata fields such as `employee_id`. 4. Admin UI can expose a non-admin self-service usage page. 5. Existing admin usage endpoints remain unchanged.
### Motivation, pitch
In enterprise LiteLLM deployments, many users need to know their own usage without contacting an admin.
Common questions include:
- How many calls have I used t…