Cost per user, cost per transaction
Lesson 14.02 showed you where the money hides. This one is about the number you put in front of it — because "the bill went up" is not information. A company that doubled its users should have spent more. The question that survives growth is whether each user costs more or less than they did last quarter, and answering it requires dividing.
Divide the bill by the thing the business counts
Pick the denominator your company already uses to describe itself: monthly active users, orders, seats, tenants, messages, GB stored. Then do the arithmetic and say it out loud.
| Infrastructure | ₹40 lakh/month |
| Monthly actives | 2M → ₹2.00 per MAU |
| Orders | 50 lakh/month → ₹8.00 per order |
| Gross margin | ₹120 per order |
| Infra as % of margin | 8 ÷ 120 = 6.7% |
The last row is the one that matters, and it is the step most engineers stop short of. Eight rupees an order is neither good nor bad in isolation; it is good against a hundred and twenty rupees of margin and catastrophic against twelve. A unit cost with no unit revenue beside it is trivia. Go and find the second number — someone in finance has it, and asking for it is the whole of the skill being described here.
Fully-loaded and marginal are different numbers
Much of the bill does not move with usage. The Kubernetes control plane, the Kafka cluster, staging, the observability stack, the security tooling — these cost roughly the same at one million users and two million. So dividing the total by users produces a figure that falls automatically as you grow, which flatters everyone and answers the wrong question.
Compute both. Fully-loaded — total divided by users — is what the business is actually spending, and it is the right input to a margin conversation. Marginal — the change in cost divided by the change in users, measured across a period where usage moved — is what the next user costs, and it is the right input to pricing, to capacity, and to any claim that a design "scales". A system whose marginal cost per user is rising is in trouble regardless of what the flattering fully-loaded curve does.
Allocation is a tagging problem, and it is mostly unsolved
Per-team and per-feature unit costs require knowing which spend belongs to whom, and shared clusters make that unanswerable after the fact. Tags applied at deploy time are the only mechanism that works, because the alternative is reconstructing attribution from memory in a spreadsheet. The practical threshold: once untagged spend passes about a fifth of the bill, every unit number becomes a negotiation, and the meeting stops being about efficiency and starts being about whose estimate to believe.
The per-tenant version, which is uncomfortable
In multi-tenant SaaS (Lesson 12.04) cost per tenant varies by orders of magnitude, and usage follows a heavy tail: a small number of tenants can consume more than the entire remainder. Flat pricing over that distribution means your largest customers may be your least profitable, and nobody knows because nothing meters per tenant.
That is an architecture fact before it is a pricing fact. Metering per tenant has to be designed in — a tenant id on every request, carried through to the query, the object write and the queue message — and retrofitting it into a system that shares everything is the kind of work that takes two quarters and gets deprioritised every time, right up until the renewal where somebody asks what the account actually costs to serve.
The habit
Put unit cost on the dashboard beside latency and error rate, and put it in the design doc. A change that moves unit cost by a third should say so in the same paragraph where it claims a latency win, because that is a trade someone should get to evaluate rather than discover. This is the same move as Lesson 9.02's error budget: convert a vague pressure into a number with a threshold, and the argument becomes tractable.
Improving the unit cost by moving spend off the ledger you are measuring. Push rendering to the client and your compute falls while support tickets and churn rise; cache aggressively and the database bill drops while the cache bill lands on a team that is not in the meeting. The sharpest version is choosing a denominator engineering controls: cost per request improves beautifully when a retry storm triples the request count, and someone will present that chart. Pick the denominator the business counts and engineering cannot inflate — orders, active users, tenants — and check the total bill alongside it, because a unit cost falling while the total climbs means the denominator is growing for a reason nobody has examined.
Going deeper
- Cloud FinOps J.R. Storment & Mike Fuller, 2nd ed. 2023
The operational discipline around these numbers — allocation, showback, and the organisational question of who is accountable for a bill nobody individually incurred.