Skip to main content

Company usage

What does my team spend the most on? Follow one team from its total spend down to the individual sessions. Turn on Demo data to try this with sample traffic.

1. Choose whose usage to explore​

Open Overview. The dashboard starts with the past 30 days and shows recorded spend, sessions, tokens, and cached input share. Use the date picker to change the period. Gateway admins and admin viewers can open All users and choose a team or person. Other users see their own usage.

For your own numbers, turn off Demo data and connect Lens to your gateway. To record coding sessions, follow the setup for Codex, Claude Code, or OpenCode.

2. Find the work behind the spend​

Open Work and select Work type and Spend. The first row is the largest category for your selection. Switch to Tokens or Sessions to see whether the same category also accounts for most usage. Select Model to compare models.

Work for the Customer success team, ranked by spend. Technical documentation is the largest category at 38.1%.
Technical documentation accounts for the most spend in this sample. Classification & tagging has more sessions.

Work types require a decision model. A workspace admin can choose Configure models, select a lightweight model, and select Save model. Use Work > Edit categories to choose the work types Lens looks for.

3. Open the sessions​

Select a work type to open its matching Traces. Lens keeps the same team and date range. Open one session and inspect its messages, model calls, tool calls, and recorded cost. For a particular expensive session, Overview > Highest-spend sessions opens it directly. Read a trace

Opportunities lists estimated savings for the selected scope and period. Expand a suggestion and choose View supporting traces to see which sessions contributed to the estimate.

To follow a recurring behavior across sessions, open Signals and select View traces beside a signal. An admin can turn a decision signal into a guardrail.

LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails, built for production.
Learn more →