Skip to content

Cost & tokens

Open in ChatGPT Open in Claude
Stacked bar chart showing daily AI costs broken down by action type $0.12 $0.09 $0.06 $0.03 $0 Jan 6 Jan 7 Jan 8 Jan 9 Jan 10 Jan 11 Jan 12 search_knowledge create_ticket get_user

Path: Analytics → Event Explorer

Track what your AI-Native agents spend and consume, down to the specific action being performed, so you can attribute, analyze, and budget. Cost and token metrics work by aggregating the numeric properties on an event rather than counting occurrences.

Pick any of these numeric properties and Sum them (total) or Average them (per event):

PropertyMeasures
Estimated cost / Action call estimated costMoney spent, overall or per action call.
Input tokensInput tokens for the event (delta), from the AI provider API.
Output tokensOutput tokens generated.
Cached tokensTokens served from cache.
Thoughts tokensReasoning / thinking tokens.
Total tokensInput + output + everything, per event.
Action instructions tokensTokens spent on the action’s instructions.
  1. In Events or Metrics, select the event Action Called (it fires every time the agent performs a distinct task).

  2. Under the event name, open the counting dropdown (Unique / Total Events) and choose Aggregate Property, then pick the property — Estimated cost for spend, or a token type like Input tokens — and select Sum (total) or Average (per event). The metric label reads, for example, Sum of Estimated cost.

  3. In Breakdown, select Action key to split the total into one segment per action. Break down by AI provider LLM model name or LLM provider instead to compare models.

  4. Set Chart Type to Stacked Bar and the time range to 7D or 30D.

  • Stacked bar chart — each bar is the total for that day; colored segments are the contribution of each action (or model). A large segment flags the main cost or token driver that day.
  • Data table — below the chart: Total (cumulative over the range), Average (typical per day), and the daily breakdown per action.