Operations · Guide
Calculate AI cost per completed request, including the failures
Use a workflow denominator rather than a token bill to compare implementation options.

Choose the unit the business buys
An illustrative document team compares two models by their token prices. The cheaper model may require more retries and review, so the invoice alone is not a fair comparison. Define a completed request with an acceptable output and a closed exception trail. That becomes the denominator for a unit-cost calculation. Keep volume assumptions separate from measured pilot results.
Attribute the whole path
Attach usage, retrieval, storage operations, and worker time to a stable request identifier. Include attempts that failed and outputs that were discarded. AWS runtime metrics provide useful consumption signals, but application records are still needed to connect them to business work. Aggregate carefully so a retry is counted as cost without being counted as another completed request.
Workflow at a glance
Add human and fixed costs separately
Estimate review minutes using actual samples, then show the labor assumption explicitly. Keep fixed hosting, maintenance, and discovery costs in separate lines and allocate them using a stated volume scenario. A larger volume can lower allocated fixed cost without improving the workflow itself. Report both marginal processing cost and the fully allocated operating estimate.
Compare with a stop rule
Run comparable cases through the current process and candidate solutions. Include difficult documents and a capped retry policy. If accuracy improves only by making review unaffordable, record that tradeoff rather than hiding it in a blended average. A unit-cost model should help reject unsuitable automation, not justify a purchase that has already been emotionally decided.
A practical next step
Trace every attempt behind ten completed requests, including discarded drafts. Separate model consumption, review minutes, and allocated fixed cost. Ask a colleague to reproduce the ledger. Then inspect an unfinished request to ensure its failed attempts remain in the cost total; successful cases alone systematically hide part of the operating burden.
Sources and further reading
- Monitor bedrock-runtime inference using CloudWatch metricsMonitor bedrock-runtime inference using CloudWatch metricsAmazon Web Services · Documentation ·
- Generative AI lifecycle — Generative AI LensGenerative AI lifecycle — Generative AI LensAmazon Web Services · Documentation ·
Editorial approach
AI-assisted original writing, checked against linked public sources. Practical recommendations and illustrative scenarios are editorial analysis, not reported client results. Source dates and product details may differ from this collection’s preparation date.