An accounts payable team is piloting an AI document review workflow on supplier invoices. Here is how the stop rule gets built, with the arithmetic shown.
Baseline first. The team samples 100 invoices processed manually. The loaded cost of the AP clerk is 45 dollars per hour, and average handling time is 12 minutes, so labor is 9.00 dollars per invoice. Rework and error loss (mis-coded invoices found and corrected downstream) adds 1.20 dollars per invoice on average. Baseline task cost is 10.20 dollars per invoice.
Set the thresholds. The team picks a composite score with veto floors:
- Error rate: target at or below 3% of invoices with a material coding or vendor error. Stop floor: above 5% across a rolling 100-invoice window.
- Review time: target at or below 3 minutes per invoice (25% of baseline handling time). Stop floor: above 6 minutes per invoice.
- Cost per accepted result: target at or below 7.00 dollars per invoice (roughly 70% of baseline). Stop floor: above 10.20 dollars per invoice, meaning no saving at all.
Run the arithmetic on a bad week. The model costs 0.18 dollars per attempt on average, attempts 1.6 times per accepted invoice, and review runs at 8 minutes, well past the floor. Cost per attempt is 0.18 times 1.6, which is 0.288 dollars, so 0.29 dollars of model spend per accepted result. Review cost is 8 minutes at 45 dollars per hour, which is 6.00 dollars. Total cost per accepted result is 6.29 dollars. That looks like a saving against 10.20 dollars, and a team watching only cost would keep going.
Now add the corrections. Suppose 9% of invoices carry a material error, and each one costs 14 dollars to find and reverse downstream. Error burden is 0.09 times 14, which is 1.26 dollars per invoice. Total cost is 7.55 dollars, review time is 8 minutes against a 6 minute floor, and both the review floor and the error floor are breached. The composite score might still look green because cost improved. The veto floors are what end the pilot. That is the entire reason to write them as vetoes.
Set the sample size before you start. The short answer to "error rate above 5%" needs a denominator. Say so in the rule: 100 tasks for a first signal, and a rolling 100 for ongoing checks. A window of 20 tasks cannot distinguish 3% from 9% with any confidence, and arguing about that after a bad week is exactly the conversation the stop rule exists to prevent.
Where the numbers come from. Every threshold above is derived, not borrowed. The 70% cost target follows Wavect's suggested green band of cost per successful action at 70% of baseline or less (Wavect). The 25% review target follows the same source's 20% guidance adjusted upward for a document-heavy workflow. Do not copy the numbers. Copy the derivation method: measure the baseline, pick a target that makes the investment worthwhile, and set the stop floor at the point where the pilot is no longer worth running.
A worked cost check you can reuse. If your vendor quotes a token price and you want the accepted-result figure, the shape of the calculation is this:
cost per accepted result
= (price per token x tokens per attempt + tool fees per attempt)
x attempts per accepted result
+ human review minutes x loaded rate / 60
+ error rate x average cost to correct one error
Taskade's guide gives the same structure line by line, including a 20-task test to measure your own numbers rather than forecast them after the pilot starts (Taskade). If you want one API key across text, image and embedding models so the token side of that formula is a single invoice rather than four, Quanta Inference exposes text, image, video, audio and embedding models through one OpenAI-compatible endpoint: Quanta Inference.