Your meeting notetaker launches a summary feature, and the launch channel fills with praise, because the summaries are good and people no longer have to take notes. Within a month adoption triples, as whole teams turn the feature on for every recurring meeting. Then the invoice for the first full month arrives, and the total is several times anything the plan expected. Finance asks a question in two halves: what does one summary cost us, and what is one summary worth? No one in the room can answer either half. The team reviewed the feature's quality, tested its latency and staged its rollout, but never worked out its economics at all. This part shows you how to answer finance's question before anyone has to ask it.
The cost cliff between demo and production
A demo costs almost nothing because it runs once. Someone picks one transcript, the product makes one model call, and one polished summary appears on the screen, so the model calls made for the meeting where the feature gets approved cost less than the room's coffee. That single run tells you everything about quality and almost nothing about cost. In production you pay for that call over and over, in ways the demo never showed:
- Every user, every task. Instead of one run, the product now runs once for every meeting on every calendar where someone turned the feature on, and the meter starts the moment the rollout begins: your provider counts every token (a small chunk of text that a model reads or produces) and bills you for each one.
- Retries. When an output fails validation or a call times out, you pay for the failed attempt and again for the retry, while the user sees only one answer.
- Accumulating context. Conversations get longer, transcripts run long, and retrieval adds documents to every call, so the input you pay for grows over a session, and the tenth reply in a conversation can cost a multiple of what the first one cost.
- Success itself. The better the feature is, the more often people use it, so your bill climbs fastest exactly when the product is working as intended.
The diagram, titled THE COST CLIFF, shows the result: the bill stays flat while you demo, then climbs steeply after launch as adoption grows (the 1x and 10x on the drawing are illustrative, not measured), and retries, longer context and agents each push it higher. Agents add cost because they turn one call into many, as the next section explains. We call that steep climb the cost cliff.
With conventional software, serving one more user costs close to nothing, which is where software's famous margins come from. With an AI feature, you pay your provider for every single answer the model produces.
An AI feature has the cost structure of manufacturing, not of conventional software, because every answer uses tokens that your provider bills you for, so the feature makes or loses money on each unit it produces.
When a feature fails for this reason, the company rarely announces it, and across the industry you rarely see a public shutdown. Instead, the company shrinks the free tier, adds a daily cap, moves a capability onto the most expensive plan, or never ships a second version. In most of those cases the quality was fine, and someone looking at the invoice made the decision.
Why bills keep rising while token prices fall
The obvious objection is that token prices are falling fast, and they are. The price of a given level of capability has dropped sharply year over year, in some stretches by an order of magnitude (a factor of ten) within a single year, and industry analyses expect prices to keep falling. If your product did exactly the same work every month, its bill would shrink without you doing anything.
Bills rise anyway, because no product does the same work every month. Products use more tokens over time, and their token use grows faster than prices fall:
- Agents turn one call into many. A task that was a single request in the chat era becomes a dozen calls when an agent breaks the work into steps, reads files, uses tools, and checks its own output.
- Contexts keep getting longer. As context windows (the space that holds everything the model is given on one call) get bigger, teams send bigger inputs, and reasoning models produce intermediate tokens (working steps written out before the answer) that you pay for and the user never sees.
- People use the feature more. Users who adopt an AI feature rely on it more over time, and product teams keep finding new places to call the model because each call now looks cheap.
Economists described this pattern long before tokens existed. The Jevons paradox was first observed when more efficient steam engines increased Britain's total coal consumption instead of cutting it. It states that when a resource gets cheaper to use, total spending on it can rise, because the lower price makes more uses worth pursuing. The same thing happens with tokens. Each time the price drops, some use of the model that used to cost too much becomes affordable, so teams spend the savings and more besides. The diagram, titled PRICE DROP PARADOX, shows this: over time the price per token falls (from 1x to 0.5x on the drawing) while the monthly bill climbs, because longer context, more calls and agents add tokens.
So you cannot count on falling prices to bring down a bill you never planned. The teams whose bills actually fall hold their token use steady and keep the savings from each price drop, and doing that takes the decisions this part teaches.
Decide margin in the same reviews where you decide quality
When an AI feature fails, it is rarely because it is bad; it is usually because its margin was never planned, and you can plan a margin just as deliberately as you plan quality.
Hardware teams work out what a product costs before they ship it. A phone team can tell you what the battery, the casing and the camera module each add to the cost of one unit, and in every design review the team weighs those costs against the price the product can charge. An AI feature is also built from parts: model calls, retrieved documents, retries and tool use. So it needs the same bill of materials, the manufacturer's list of every part in one unit and what each part costs. That gives you a cost per unit that you can set beside the value of one unit and defend in a review.
You already hold these reviews. You decide what good means and hold every change to it, which is the discipline from The quality bar: decide what good means, and you should ask the cost question in the same meetings, because most changes move quality and cost at once. A prompt revision that improves tone and doubles the length of the output is a margin decision, and so is a model upgrade that improves accuracy at a multiple of the per-token rate. When cost per task sits on the same page as the quality score, your team makes those trade-offs knowingly instead of discovering them after the money is spent.
What this part covers
In Economics: what a fleet costs and when it pays we worked out what a fleet costs (a fleet is a group of agents run on one job, there the job of building a product), and there you pay for your own agents' tokens. This part works out what the product itself costs, where you pay for tokens every time a user uses it. Each chapter covers one decision you control:
- The bill of materials: cost the task, not the call
- Latency: design how fast it feels
- Routing and cascades: the cheapest model that passes your bar
- Caching: never pay for the same thinking twice
- Batch and background: choose the realtime line
- Pricing: charge in a currency your costs track
The part ends when you write your Inference Budget and ship a feature that pays for itself, where you record those decisions on a one-page budget and sign it (the fillable Inference Budget). One convention holds throughout the part: current rates and discounts change too fast to print in the chapters, so the chapters speak in ratios, such as these two: a provider's flagship model (its top model) costs a large multiple of what its small models cost, and batch tiers (a cheaper way to buy tokens for work that can wait) give a discount on the order of half. The dated Price Sheet keeps the current numbers.
Try it now
This drill costs no tokens; you work it out with a pencil and a provider's pricing page.
Pick your unit. Choose one AI feature you use every day, such as a meeting summarizer, an email drafter or a coding assistant, and define its task the way a user would count it: one summary, one drafted reply, one resolved question.
Get the rates. Open the pricing page of the provider you believe runs it, or the one you would run it on, and note the input and output rates for a plausible model.
Estimate one task. Guess the tokens in (instructions, context, the document or transcript itself) and the tokens out, to the nearest power of ten, then multiply by the rates to get the cost of a single task. You only need the order of magnitude.
Run the three volumes. Multiply your task cost by a hundred, ten thousand, and a million tasks a month, and write the three monthly bills side by side.
Mark where the cost starts to matter. Note the volume at which you would start to care what the answer costs, and write one sentence on what you would cut first: the model, the context, the retries, or how often the feature runs.
Keep the page. In The bill of materials: cost the task, not the call you replace these guesses with a method, and the numbers you wrote today become your starting point to compare against.
Chapter Summary
- A demo costs one run on an input someone picked; in production you pay for a run for every user and again for every retry, and each run costs more as context builds up.
- You pay your provider for every answer an AI feature produces, so its costs work more like manufacturing than like conventional software.
- The bill climbs fastest when the feature succeeds, because more users, and heavier use, add runs you pay for.
- Falling token prices do not lower bills on their own, because agents, longer contexts and heavier use add tokens faster than prices fall.
- When tokens get cheaper, teams use so many more of them that total spending can rise, the same paradox economists first documented with coal.
- You can plan margin just as you plan quality: cost each unit with a bill of materials, as a manufacturer would, and discuss it in the same reviews.
- Do not wait for the invoice to warn you: estimate cost per task before launch, and set an alarm at the level of spending that would show the estimate was wrong.
- The bill of materials: cost the task, not the call turns today's guesses into a method for estimating cost.
Sources
- Jevons, W. S. (1865). The Coal Question. Macmillan.
- Appenzeller, G. (2024). Welcome to LLMflation: LLM inference cost is going down fast. Andreessen Horowitz.
- Stanford HAI (2025). The AI Index Report 2025 (inference cost and adoption trends). Stanford University.
- Anthropic and OpenAI pricing documentation (last verified July 2026).
- The Price Sheet, this part's dated pricing companion (/builders-stack/artifacts/price-sheet).