Choosing a unit for cloud cost per unit
Why cloud cost formulas divide spend by Cloud Cost Driver Volume, which count to use (subscriptions, orders, requests, customers), and why it can't change.
Answered from these docs only, by a model that cannot see your account. Check the pages it cites.
Checked against the product on November 9, 2026
Roiva's cloud cost formula doesn't compare this month's cloud bill with the bill before the initiative. A bill that grew because the business grew isn't waste, and a quiet month isn't a saving. It compares what it cost to serve one unit of demand before and now, and multiplies the fall by this month's units:
(cost per unit before − cost per unit now) × units this month
So beside the spend, the formula needs one count: the demand your cloud bill grows with, which finance calls its cost driver. Roiva calls it Cloud Cost Driver Volume, and asks for it on the Missing Inputs page.
Pick the count your business grows by
You don't need to know how the cloud is built. You need the number your business already watches that rises when the bill does.
| If your business… | Count | Where it usually is |
|---|---|---|
| sells subscriptions | Active subscriptions at the end of the month | Your billing system's list of subscriptions, filtered to active |
| sells online | Orders placed in the month | Your store's orders report |
| processes payments, bookings or claims | Transactions completed in the month | That system's monthly report |
| sells access to an API | API requests in the month | The API's usage dashboard; engineering will know where it is |
| none of these, or you're unsure | Active customers in the month | Your billing system or CRM |
When you're asked for the first figure, Roiva fills in a suggested unit and says why: a count a connected tool already reports (active subscriptions or payments from Stripe), else what companies in your account's industry usually count, else active customers. Change it if another count follows your bill more closely.
Counts to avoid
- Requests your cloud provider meters, like API gateway requests, serverless invocations or CDN requests. The work being measured often cuts them: caching and batching serve the same customers with fewer requests. Cost per request then holds steady while the bill falls, and the saving disappears.
- Revenue. A price rise looks like more demand, and a discount looks like less.
- Headcount. The bill doesn't grow with your staff.
Keep it the same every month
The first figure you enter, the baseline, names the unit. Every later figure has to count the same thing over the same window: a month of orders against a month of spend. A later figure that names a different unit is flagged wherever it shows, and the value calculated from it waits for a person to review it instead of being approved automatically.
If you change your mind about the unit, change the baseline too, so the before and after figures count the same thing.
When Stripe already counts it
If Stripe is connected, Roiva can read the count itself, so there's nothing to type each month. Once Stripe has synced both its subscriptions and its payments, a Cloud Cost Optimization initiative measures the saving:
- per active subscription, when you have at least half as many active subscriptions as payment charges, which is typical of a subscription business;
- per transaction (each payment charge in the currency your Stripe account settles in), when you have payments and fewer subscriptions than that, as a store or marketplace does.
An initiative that already has one of these formulas moves to the right one by itself after a later sync, as long as it hasn't recorded value and nobody has edited the formula. One that has, Missing Inputs offers to switch: the months it booked stay on it, and the new formula books from the month after the last of them. See How value is calculated for how a formula's figures come together.
When the initiative covers part of the bill
Cost per unit evens out growth, but not a change in what runs on the bill. A product launched on new infrastructure raises cost per unit, and one retired lowers it, whatever the initiative did.
If the initiative covers only part of your cloud, tag those resources in AWS, Azure or Databricks and enter the tag where that connection is linked to the initiative as an activity source. It has to be the connection the initiative reads its cloud spend from: your primary cloud cost source, or the one you chose for the initiative. Roiva then reads that tag's spend from it, before and after, and nothing outside the tag.
Count Cloud Cost Driver Volume for the same part of the business. Stripe's subscriptions and payments count all of it, so an initiative that reads a tag is measured per unit of Cloud Cost Driver Volume instead. One already measured per subscription or transaction moves by itself if it hasn't recorded value yet. Otherwise Missing Inputs offers the switch, and its values wait for review until you make it.
A month with no spend under the tag is never filled in with the whole bill, and a value calculated from one waits for review. If you change the tag, Roiva calculates the baseline again from the new tag's history where there is some, and holds the first value calculated afterwards for a person to confirm. A baseline you typed in stays as it is, and the value calculated from it waits for review until you enter one for the new tag.