Why it matters
A product manager can defend a spending decision with actual work completed. A developer can identify whether tokens, tool calls, retries, review time or slow dependencies are the main lever.
Core concepts
Use billing units correctly
Input and output may have different rates. Price both per the vendor’s published unit. Audio, storage, tool calls and hosting can use separate units. Read current rates when estimating and save the quote date. Product examples here use fictional prices.
Count work people accept
Add model usage, tools, infrastructure and human review. Divide by accepted cases, including fallback completions if you counted their costs. Compare with a baseline using the same completion definition. A falling cost per request can hide rising retries.
Treat latency as a distribution
The median describes a typical request. The 95th percentile exposes slower cases that can dominate the user’s experience. Track time to a useful answer, time to a final action and review queue age. A fast model with a slow approval line may save little time.
Set a governance decision
Record allowed uses, prohibited side effects, data sources, model and prompt versions, decision owner and limits. Agree what failure pauses rollout and how to inspect affected cases. NIST’s voluntary AI Risk Management Framework offers a structure for ongoing review; product-specific thresholds are a team decision.
Try it step by step
- Estimate a month from request volume, observed token counts, current rates, retries, tools and expected human time.
- Stress-test a busy month and a higher review rate. Compute cost per accepted result for both.
- Assign a spending alert, severity threshold, incident owner and review date. Revisit the baseline when vendors or workflows change.
Use a sensitivity table: demand, tokens, review rate, review minutes, accepted cases, full cost, cost per accepted case and p95 latency.
Worked example
Fictional example: 1,000 requests use 2,000 input and 300 output tokens each. At sample rates of $2 and $8 per million, model usage is $6.40. If 100 reviews take two minutes each at $30/hour, reviews cost $100. For 900 accepted results, the modeled cost is about $0.118 per accepted result before hosting and tools.
Common mistake
Calling a model economical using token price alone or dividing by all requests when many results are discarded.
Practice exercise
Keep the fictional example constant but raise the review rate to 20%. Human review is now $200. At 900 accepted results the estimated unit cost becomes about $0.229 before other costs. Identify which assumption deserves a pilot measurement.
Check your understanding
A model costs less per call but doubles review time. What should decide the purchase?
- The unit price of input tokens alone
- The number of calls alone
- Full cost per accepted result, quality and latency
Show answer
Full cost per accepted result, quality and latency. Model rates cover only one part of the workflow. The decision must account for the result users can use.
Takeaway
Measure what it costs to produce an accepted result.