Skill 9.1.1

Apply unit economics to engineering decisions

Key Concepts

Unit economics divides cost by a measure of business output to give a unit cost: cost per order, per active user, per thousand API calls, per gigabyte processed or per AI conversation. Unlike total cost, which rises with growth, unit cost shows whether the workload is becoming more or less efficient.

A good unit metric is measurable reliably for the same period as the cost, driven by the workload (more units genuinely require more resources) and meaningful to the business. The cost numerator should use effective, allocated cost, including the workload's share of shared costs.

Engineers use unit cost to compare designs (which option has the lower cost per request at expected volume?), to detect regressions (a release that doubles cost per request) and to set targets. When total cost rises 30% while volume rises 50%, unit cost has fallen, which is usually good news.