Unit costs from your own business metrics
The CostReveal team, , updated , 3 minute read
A total bill answers one question: how much. The question a business asks next is how much for each thing it sells. Cost per order, per contract reviewed, per active workspace: a unit cost says whether growth is getting cheaper or dearer to serve, and it is the number a price is set against.
CostReveal already showed cost per call and per active user from the usage data your application sends. Those are useful, and they are not your business's units. A legal AI company counts contracts reviewed. A support AI counts tickets resolved. An analytics product counts workspaces. So CostReveal now divides spend by any metric you send it.
Two parts: a metric and the spend it divides
A business metric is something your business does each day. It is either a count, such as orders, where a month adds its days up, or a level, such as active workspaces, where a month averages the days it was sent. Adding up a level would count the same workspace thirty times.
The spend a unit cost divides is the whole project's, or a view saved in Explore: AI spend alone, one service, one provider. Cost per contract and AI cost per contract are different questions, and both are worth asking.
Values come from a CSV file in the dashboard or from your own systems, as JSON, with a key that can send data and read nothing. A day sent again replaces the value it held, so a corrected file is simply sent again, and a batch with one wrong value is refused whole, naming the value, so a metric never holds half a file.
Customer by customer
An average hides the customer who costs four times as much to serve. A metric sent per customer, with the same customer keys your tags and usage data use, lets a unit cost divide each customer's own spend by that customer's own units: cost per contract for each customer, side by side.
Spend that no customer explains is stated below the table and is in no customer's figure. Spreading it across customers would make each figure look complete and make every one of them wrong.
A late bill should not flatter the number
Providers bill a day or more after the usage. Your systems can send today's orders today. Divide this month's spend so far by this month's orders so far, and the cost per order looks lower than it is every single day, until the bill catches up.
So while a month is running, CostReveal reads it through the last day both the spend and the metric reach, and compares it with the month before through the same day. The figure says which day that is.
A target, not a limit
A unit cost can have a target: the most one unit should cost. When a month passes it, the people you choose are told, once for that month, by email, in Slack where a channel is set, and through the webhooks set for it. The check reads the same days as the figure, in the target's currency, and never alerts on a month with no units to divide by. Like a budget, a target alerts and never blocks: what to change is a person's decision.
Keep reading
- Why CostReveal shows the spend it cannot explain: why unexplained spend is never spread.
- How to track Claude API costs per customer and feature: the usage data that names each call's customer.
- CostReveal vs CloudZero, a fair comparison: how the two compare.