Unit economics asks one question that survives every reorganisation of your finance deck: does each unit of work earn more than it costs to produce? For a deployed AI feature, the trouble starts the moment nobody can say what the unit actually is. The naive version treats AI unit economics as a finance abstraction — a line item reconciled at the quarterly margin review, disconnected from how the serving path behaves in production. That framing fails quietly. It works as long as usage is small, because at low volume almost any feature looks margin-positive against the rounding error of a cloud bill. Then usage grows, margin erodes, and the finance team asks why. A team that never defined the unit has no answer. A team that defined it as a single inference request can point to the exact request class driving the gap. This article grounds the concept so you can map it onto a feature you have actually shipped, rather than onto a spreadsheet someone built once and never reopened. How Does Unit Economics Work for an AI Feature? The textbook definition is the same one any startup operator already knows: take one unit of whatever you sell, subtract everything it costs to produce that one unit, and see whether the remainder is positive. The classic startup example is a subscription business measuring revenue per customer against the cost to serve that customer. Unit economics is the discipline of refusing to let the average across a whole P&L hide a unit that loses money. What changes for AI is the cost side. In a conventional SaaS feature the marginal cost of serving one more user is close to zero — a database read, a little bandwidth. In a feature backed by a model, the marginal cost is real and it moves with the work: GPU seconds, tokens generated, retrieval calls, the precision the model runs at. That is the structural reason AI unit economics deserves its own treatment rather than a footnote in the SaaS playbook. The cost-to-serve is no longer a rounding error; it is a function of how the request was executed. So the question becomes mechanical rather than philosophical. For each unit of AI work, what did it cost to produce, and what did it earn? Everything else in this article is an argument about how to make those two numbers concrete. What Is the ‘Unit’ in AI Unit Economics? This is the decision that determines whether the whole exercise produces anything useful. Pick the wrong unit and every downstream number is an average that hides the problem. The right unit for a production AI feature is a single inference request. Not a customer, not a monthly active user, not an API key — a request. The reason is causal: the inference request is the thing that actually consumes the variable resource. When a user triggers a feature, the system runs a model, and that run has a measurable cost. Aggregating up to the customer level immediately blends a heavy user who fires a thousand expensive requests a day with a light user who fires three, and the blend tells you nothing about which behaviour is unprofitable. Defining the unit as the request is also what makes the number trackable as a live KPI rather than a quarterly reconstruction. A request flows through a serving path you instrument; a customer is an accounting entity you reconcile after the fact. We argue this point at length in why cost-per-request is the right production AI optimisation target — the short version is that the request is the smallest unit at which cost is both caused and measurable, which is exactly the property unit economics needs. One caveat worth stating plainly: a single inference request is the right default unit, but some features have a natural composite — a multi-turn conversation, an agent run that fans out into several model calls, a document pipeline that chains retrieval and generation. When that is the case, the unit becomes the composite transaction, and the per-request cost is an input to it. The principle is unchanged; you still pick the smallest unit at which a user gets value and the system incurs cost together. How Cost-Per-Request and Revenue-Per-Request Combine into Contribution Margin Once the unit is fixed, the calculation is short. Two numbers per request class: Cost-per-request — the variable cost to produce one inference: compute (GPU or accelerator seconds), tokens in and out for a generative path, retrieval and vector-search calls, plus any per-request third-party API spend. Fixed costs — reserved capacity you pay for whether or not it is used, base platform spend — sit outside the per-request figure and are handled as a separate utilisation question. Revenue-per-request — the revenue attributable to one request. For usage-based pricing this is direct. For seat or subscription pricing you derive it by dividing the plan’s revenue by the requests that plan generates, which is exactly why request volume per customer matters. Contribution margin per request is the difference. When it is positive, every additional request of that class adds money; when it is negative, every additional request subtracts money, and growth makes the loss worse rather than better. That inversion — where scaling the product scales the loss — is the failure mode unit economics exists to catch. The discipline is to compute this per request class, not as a blended average. A summarisation endpoint that runs a large model on long documents and a classification endpoint that runs a small model on short inputs have wildly different cost-per-request. Averaged together they can look healthy while one of them is bleeding. The blended number is the one that lets margin erode invisibly. Worked Example: One AI Feature’s Unit Economics The figures below are illustrative — chosen to show the structure of the calculation, not measured from a specific deployment. Substitute your own profiled numbers. Input Endpoint A (doc summarise) Endpoint B (classify) Avg compute per request ~1.4 GPU-seconds ~0.05 GPU-seconds Token / IO cost per request ~$0.011 ~$0.0002 Retrieval / API cost per request ~$0.002 $0 Cost-per-request ~$0.015 ~$0.0004 Revenue-per-request (derived) ~$0.009 ~$0.006 Contribution margin per request −$0.006 +$0.0056 Read as illustrative figures, the structure is the point: Endpoint B is comfortably margin-positive, while Endpoint A loses roughly six tenths of a cent on every call. A blended average across both — especially if B is called far more often — would report a positive margin and mask the fact that Endpoint A gets more expensive the more it succeeds. The per-class view is what surfaces the problem; the average is what buries it. The honesty of the cost column depends entirely on where the compute number comes from. An estimated GPU-second figure produces an estimated margin. The real figure comes from profiling the serving path under representative load, which is the engineering work behind GPU and serving-path profiling — measurement, not assumption, is what turns a unit-economics deck into an operational KPI. Cost, efficiency, and value are not the same axis either; spending less is not automatically worth more, a distinction LynxBench AI’s analysis of cost, efficiency, and value in AI hardware draws out, and which keeps a cost-cutting exercise from quietly degrading the thing customers pay for. How Can a Team Tell When a Feature Crosses from Margin-Positive to Margin-Negative? This is where the per-request framing earns its keep, because the crossing point is a property of volume mix, not of the average. A feature rarely flips from profitable to unprofitable all at once. What happens is that the mix of request classes shifts as usage grows — power users adopt the expensive endpoint, a new use case routes traffic to the heavy model, a prompt change pushes average token counts up. Each shift moves the blended margin without anyone touching the pricing. The team that tracks margin per request class sees the negative-margin class growing as a share of traffic and can name it before the quarter closes. The team tracking only total spend sees the bill rise and the margin fall with no way to attribute either. The practical instrument is a cost-per-request SLO defined per endpoint, monitored the way you monitor latency. When cost-per-request for a class drifts above its revenue-per-request, you have crossed, and you know exactly which class did it. Defining the unit clearly is the precondition for that SLO existing at all — you cannot set a service-level objective on a number you have not defined. How Does Unit Economics Differ from Tracking Total Cloud Spend? These are routinely confused, and the confusion is expensive. Total cloud spend is a single aggregate number that answers “how much did we spend.” It rises with usage, it can be optimised by buying reserved capacity or right-sizing instances, and it tells you nothing about whether any individual feature earns its keep. Unit economics answers a different question: “does each unit of work earn more than it costs.” A feature can have a small, well-optimised cloud bill and still be structurally unprofitable per request, because the issue is the relationship between cost and revenue, not the absolute cost. Conversely, a feature with a large cloud bill can be highly profitable if revenue-per-request comfortably exceeds cost-per-request. The bill is a level; unit economics is a ratio. Optimising the level without understanding the ratio is how teams cut spend and still watch margin fall — because they trimmed the cheap, profitable endpoint and left the expensive, unprofitable one running. Precision is one of the levers that moves the ratio rather than just the level; LynxBench AI’s treatment of precision as an economic lever in inference systems shows why a quantisation decision changes cost-per-request and throughput at the same time, which a spend-only view cannot see. How Does AI Unit Economics Relate to CAC and Customer Lifetime Value? Unit economics at the request level sits underneath the customer-level economics that pricing teams reason about. Customer acquisition cost (CAC) and customer lifetime value (LTV) are computed per customer; cost-per-request is computed per inference. The link between them is request volume per customer over the relationship. For a usage-based AI feature this matters directly. If contribution margin per request is positive, then a heavier user is a more valuable user, and LTV grows with engagement — the standard, healthy case. If contribution margin per request is negative, the relationship inverts: a heavier user destroys more value, your best-engaged customers are your worst losses, and acquiring more of them with CAC spend accelerates the damage. You cannot see that inversion from customer-level LTV alone, because LTV averages over the request mix. The request-level unit is what tells you whether engagement is an asset or a liability before you scale acquisition against it. This is the conceptual on-ramp; the operational work of getting the cost number right, setting the SLO, and acting on the negative-margin class is a separate engagement. For teams building serving infrastructure that has to stay margin-positive as it scales, this concept underpins how we think about AI infrastructure for SaaS products, and the targeted work of driving down cost-per-request on a deployed path is what the Inference Cost-Cut Pack operationalises. FAQ How does unit economics work, and what does it mean in practice? Unit economics takes one unit of work, subtracts everything it costs to produce, and checks whether the remainder is positive. In practice for an AI feature it means defining the unit concretely, then tracking what each unit costs against what it earns — so an average across the whole product never hides a unit that loses money. What is the ‘unit’ in AI unit economics, and why is a single inference request the right choice? The right default unit is a single inference request, because the request is the thing that actually consumes the variable resource — GPU seconds, tokens, retrieval calls. Aggregating up to the customer level blends heavy and light users and hides which behaviour is unprofitable. The request is also the smallest unit at which cost is both caused and measurable, which is exactly what a live KPI needs. How do cost-per-request and revenue-per-request combine into contribution margin for an AI feature? Cost-per-request is the variable cost to produce one inference; revenue-per-request is the revenue attributable to it. Contribution margin per request is the difference. When it is positive, every additional request adds money; when it is negative, every additional request subtracts money and growth makes the loss worse. The discipline is to compute this per request class, not as a blended average. How can a team tell when a feature crosses from margin-positive to margin-negative as usage grows? A feature rarely flips all at once — the mix of request classes shifts as usage grows, moving the blended margin without anyone changing the pricing. A team tracking margin per request class sees the negative-margin class grow as a share of traffic and can name it. The practical instrument is a cost-per-request SLO per endpoint, monitored like latency. What inputs go into a worked unit-economics calculation for a production AI feature? On the cost side: compute (GPU or accelerator seconds), tokens in and out, retrieval and vector-search calls, and any per-request third-party API spend. On the revenue side: revenue attributable to one request, derived from plan revenue and request volume for seat or subscription pricing. Fixed and reserved-capacity costs sit outside the per-request figure and are handled as a separate utilisation question. How does unit economics differ from tracking total cloud spend? Total cloud spend is a level — a single aggregate that says how much you spent. Unit economics is a ratio — whether each unit of work earns more than it costs. A feature can have a small, optimised bill and still be unprofitable per request, or a large bill and be highly profitable. Optimising the level without understanding the ratio is how teams cut spend and still watch margin fall. How does AI unit economics relate to CAC and customer lifetime value when pricing a usage-based AI feature? Cost-per-request sits underneath customer-level CAC and LTV; the link is request volume per customer. If contribution margin per request is positive, a heavier user is more valuable and LTV grows with engagement. If it is negative, the relationship inverts — your best-engaged customers become your worst losses, and spending CAC to acquire more of them accelerates the damage. Where the Concept Stops Being a Spreadsheet The thing that turns unit economics from a finance abstraction into an engineering KPI is the willingness to define the unit before you need the answer. The teams that struggle are not bad at arithmetic; they simply never decided that the unit was a request, so when margin eroded there was no instrument pointed at the cause. Decide the unit, profile the serving path for the real cost-per-request, and the negative-margin class stops being a mystery and becomes a work item. The harder question — once you can see the class that loses money, do you reprice it, re-engineer it, or retire it — is the one worth carrying into your next planning cycle.