The Economics of Building on Models
Unit Economics of an AI Product
AI breaks the software financial model in one specific way: marginal cost is real and it scales with engagement, so your best users cost the most.
AI products break the software financial model in one specific place: marginal cost per user is real and it rises with engagement. Your most enthusiastic customers are your most expensive. Every pricing and architecture decision below follows from that single fact, and teams that have not internalised it ship features where each delighted user is a small financial wound.
The cost structure, precisely
- Output tokens cost several times input tokens at every major vendor — commonly in the region of three to five times. The expensive prompt is the one that asks for a verbose answer, not the one with a long input.
- Conversation cost is quadratic in turns if you resend history. Turn twenty pays for turns one through nineteen again. Summarise, cache the prefix, or both.
- Reasoning tokens bill as output. A model that thinks for three thousand tokens before a one-line answer costs you like a three-thousand-token answer.
- Retries, verifier passes and agent steps multiply everything above. An agent task is not one call, it is thirty, and a failure loop is unbounded.
- Cached prefixes bill at a fraction of fresh input, and batch endpoints commonly run around half price for work that tolerates delay. Both are large discounts and both are widely left on the table.
3-5x
roughly what output tokens cost relative to input across major vendors — verbosity is the expensive setting
Pricing that survives power users
Flat per-seat pricing with unbounded AI usage is an unhedged short position on your most engaged customers, and it comes due exactly when the product starts working. Three structures hold up. Seats plus a metered allowance with transparent overage, which keeps the familiar sales motion. Credits, which make consumption visible to the buyer and let you reprice the credit rather than renegotiate the plan. Or outcome pricing, where the unit is the thing the customer values — a document reviewed, a ticket resolved, a candidate screened — and your margin is the spread between that price and the tokens it took.
Whichever you choose, set hard per-request and per-account ceilings in code. Unlimited needs a limit somewhere, and it is considerably better in your configuration than in a postmortem. Make the ceiling generous and visible rather than secret and tight, because a user who hits an undisclosed cap assumes the product is broken.
Margin, honestly
Gross margins reported for AI-native products sit well below the eighty-plus percent that classic software trained investors to expect, because inference is a genuine cost of goods rather than a rounding error. That is not fatal — it is simply the economics of a business with a real COGS line, which describes most businesses in history. What it does mean is that margin is an operational discipline rather than a structural gift, and the levers are concrete.
- Route by difficulty: classify cheaply, send the easy majority to a small model, escalate on low confidence or a failed validation.
- Cache aggressively, including a semantic cache for the repeated questions that make up a surprising share of real traffic.
- Trim context and cap maximum output tokens per endpoint. Both are one-line changes with immediate effect.
- Batch everything asynchronous — overnight jobs, bulk enrichment, re-indexing — at the discounted rate.
- Shorten the answer. Verbosity is a cost multiplier that users mostly do not want anyway.
- Classify cheaplya small model or heuristic decides the route
- Route by difficultysmall model default, frontier on escalation
- Cache and capprefix cache, semantic cache, output ceiling
- Measure per accountcost by feature and by user, from day one
One assumption is safe enough to plan on: cost per unit of capability keeps falling, so a feature that is break-even today tends to improve on its own. Build with that in mind. Do not price multi-year contracts as though it is guaranteed.
Key takeaways
This is one lesson of 541.
The whole Foundation is free — 16 subjects, beginner to advanced. Sign in to track what you have read, take the end-of-module quizzes, and use the terminal.