Skip to content

AI spend by activity

What does the AI spend by activity widget show?

Section titled “What does the AI spend by activity widget show?”

The widget ranks your AI spend by business activity: code review, support triage, content drafting and so on. It covers the last 30 days. The headline reads “N% classified”, the share of AI spend that matches an activity.

The widget is opt-in. Add it to a dashboard from the widget catalog.

You define them. Plutus sees provider billing aggregates (model, API key, project). It sees no prompts and no per-request records, so it can’t detect what a call was for.

An activity is a cost tag on the activity tag key, the same way team works. A rule says, for example, that API key ci-reviewer is “Code review”.

  1. Open the cost tags page and create a new tag key named activity. The rule form offers a starter list of 12 values, such as Code review, Test generation and Support triage.
  2. Add a rule for each API key (or LiteLLM virtual-key alias) that maps it to an activity.
  3. Add the AI spend by activity widget to a dashboard.

For LiteLLM, the collector (v1.2.0 or later) can also send an activity label per row, taken from a request tag such as activity:code-review. Plutus shows the label once a cost-tag rule maps it. See LiteLLM.

The starter list is a naming suggestion. Plutus never applies it for you, and any free-text value is accepted.

Spend that no rule matches appears as Unclassified. It’s always shown. “Other” is different: it’s a value you assign on purpose to a key that does something not on the list.

For example, if three API keys spend $600, $300 and $100 and you map the first two, the widget shows 90% classified and $100 Unclassified.

  • The last 30 days.
  • API-key level spend from OpenAI, Anthropic, OpenRouter and LiteLLM.
  • Cursor per-person rows are excluded.

Per-key rows from Anthropic are estimated, because Anthropic has no per-key cost endpoint. See Estimated vs. invoiced cost. The same per-API-key and per-user attribution is available on AI Overview by grouping on API key / user.

  • A key shared by several jobs stays Unclassified. Plutus doesn’t split a key’s spend between activities.
  • If your tag key settings redistribute Untagged spend, the widget hides the “N% classified” figure, because the share would no longer be meaningful.