Charge AI spend back to the department that ran it

The meter that counts tokens by person also groups them, so finance gets a number it can book against the budget that used it.

The meter that counts tokens by person also groups them. Finance gets spend for the period by group and by person, from the record of the calls themselves, and can book it against the budget that used it.

Why most firms cannot do this today

AI spend arrives as provider invoices by API key. Keys are shared, renamed and reused. Allocating that invoice across departments is an estimate, and the departments know it.

What you can do

  1. Group people the way finance does. Groups come from your directory, or from a tag an administrator sets.
  2. Read spend by group and by person for the week, month or year.
  3. Export it for the ledger. A CSV export through the API, which your finance team maps to its cost centers.
  4. Give every agent an owner. Each agent runs on its own key, issued to a person. Its spend lands with that person and their group.
  5. Start with showback. Publish the numbers to department heads for a period before you charge them. Disputes surface while they are still cheap.

What you see

Spend for the period by group, then by person, then by provider and model.

What it takes

  • Token metering in place. See Measure and monitor token use.
  • A mapping from directory groups to the cost centers finance uses. It lives in your finance system; Smartflow has no cost-center field.
  • A decision on shared tools: who owns the key, and which department pays.

Limits

  • It charges what passes through the gateway. Traffic that goes around it stays on the provider invoice.
  • A shared key with no owner cannot be charged to anyone. Retire shared keys first.
  • Costs use provider list prices. Where your contract differs, reconcile the total to the invoice and allocate by the gateway's shares.
  • A response served from cache costs nothing on the record. The saving is recorded as an estimate.
  • Calls on a personal Claude account are recorded and marked, and do not count against a spend cap unless an administrator refuses personal accounts.

Quick answers

What is the difference between showback and chargeback?

Showback reports each department's spend to it. Chargeback books that spend against the department's budget. The data is the same. Most finance teams run showback for a quarter first.

How do we charge agents that run unattended?

By their key. Each agent's key is issued to a person, and that person's group carries the spend. A scheduled job with no named owner should not run.

Can a group cap its own spend?

Not as one pooled budget. A ceiling set on a directory group applies to each member, and each person carries their own cap. At the cap, the next call is refused with a message that shows the amount spent and the limit. An administrator changes or resets caps, and per-person spend resets on the first of each month.

Related

All use cases · AI cost optimization · Control Claude Code on every laptop · Previous: Measure and monitor token use

Verified as of November 30, 2026, against APERION engineering's answers of November 13 (Smartflow v1.8.32).

Put this in the path of your own agents.

Policy enforced inline between your agents and every model and tool they reach, with a record bound to the human who owns it.

Request a Demo Read the docs