﻿# LiteLLM customer usage drilldowns need consistent organization, team and member attribution

Reconcile known request identities through organization, team and member views, then compare periods and rankings; a plausible chart total is not complete attribution evidence.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-agent-litellm-customer-usage-drilldown-denominators/
Language: en

The November 13 LiteLLM v1.111.0-dev.2 prerelease adds customer usage tracking and drilldowns across organizations, teams and members. The implementation carries validated attribution through accounting and reuses daily analytics. Applications should reconcile the hierarchy before using a chart to allocate cost, because a correct total can coexist with missing members, inconsistent rankings or a different reporting period in a detailed view.

## Create a hierarchy with an external ledger

Use two synthetic organizations with multiple teams and members, assigning distinct known usage to each request. Record the intended attribution outside the gateway. Compare leaf-level observations with team and organization totals. This exposes a missing member that a shared total could conceal, and distinguishes customer identity from the internal gateway team that authenticated the request. Those two organizational structures need not mean the same thing to an application.

## Drilldowns must preserve the selected period

Place known synthetic requests on both sides of a reporting boundary and open a detailed member view from the organization chart. Assert the same time interval and inclusion rules. A drilldown can appear internally correct while silently switching from a selected week to all time. Record timezone and query filters in the fixture so an apparent hierarchy mismatch can be separated from a period-selection mismatch.

## Rankings and charts need a shared denominator

Compare Top X rankings, chart breakdowns and the detailed request set for the same filters. Include a member below the displayed ranking cutoff. The omitted tail can be valid presentation, but it should not disappear from totals or be mistaken for zero usage. Inspect token and monetary measures separately, since a high-token member need not be the highest-spend member when models and rates differ.

## Attribution does not establish invoice equivalence

Match the synthetic ledger first, then reconcile a bounded real period separately if external billing matters. The release adds customer analytics, not a promise that every provider invoice uses identical grouping, discounts or reporting delay. A useful adoption record proves request ownership and consistent drilldowns, while keeping untracked or unresolved usage explicit rather than assigning it to a convenient member solely to make the chart balance.

## Sources

- [LiteLLM v1.111.0-dev.2 prerelease notes](https://github.com/BerriAI/litellm/releases/tag/v1.111.0-dev.2)
- [LiteLLM implementation and review #51495](https://github.com/BerriAI/litellm/pull/51495)

## Related reading

- [LiteLLM budgets: periods, shared limits and overrun tests](/journal/litellm-budget-reset/)
- [LiteLLM virtual keys: separate access for each application](/journal/litellm-virtual-key-scopes/)
