Dashboard

Spend targets

Spend targets let you set a monthly dollar target per group and track actual spend against it. Where the By group view tells you what happened, Spend targets help you decide what should happen — and alert you when something is drifting.

How it works

Every group that generates spend in the current calendar month appears on this page automatically. Set a dollar target on any group and the dashboard will:

  • Show actual month-to-date spend vs your target
  • Project where spend will land by month end at the current daily burn rate
  • Flag groups that are over target or projecting over before the month ends
  • Surface the worst offender as an insight on the Overview page

Setting a target

Click the target value in the Target / mo column — it will become an editable input. Type a dollar amount and press Enter or click away to save. The target is saved immediately.

Groups without a target appear in the Unplanned spend section at the bottom. Click + set target on any row to add one — the row moves up to the Targeted groups section automatically.

Status indicators

On trackActual MTD spend is under target and projected month-end spend is within 5% of target.
WatchActual spend is still under target but the projected month-end figure exceeds target by more than 5%. Worth investigating now before the month ends.
Over targetActual month-to-date spend has already exceeded the target.

Columns explained

GroupThe group tag passed in your SDK calls.
MTD spendActual spend so far this calendar month.
Target / moYour intended monthly spend for this group. Click to edit.
ProjectedEstimated month-end spend at the current daily burn rate.
DeltaDifference between projected and target — green if under, red if over.
StatusOn track, Watch, or Over target. See above.
Daily avgAverage spend per day so far this month. Used to calculate the projection.
Exceeds onThe projected date when spend will exceed the target, if applicable.

Removing a target

Click the × next to any target value to remove it. The row moves back to the Unplanned spend section. Historical spend data is not affected.

How groups appear

Groups are derived from the group tag you pass in your SDK calls. Any string works — a feature name, a team name, a workflow, or a client. The same tag you use in your code is what appears here.

await trackedCall({group: 'search',   // appears as a row on Spend targetsuserId: session.userId, apiKey: process.env.LLMCOSTTRACKER_API_KEY, client, params,})

Targets are monthly and reset with the calendar month. Projections assume current daily burn rate holds for the remainder of the month — they update in real time as new events come in.

Spend targets vs enforcement

Spend targets and enforcement are complementary but different:

  • Spend targets are for your team — planning and visibility into how your AI budget is being allocated across groups. No hard limits, no blocking.
  • Enforcement is for your users — hard spend limits per user or tier, enforced in the SDK. See Budget enforcement.

Next: Call log →