← Back to Podcast

When automation costs more than the people it replaced

You automated a process, headcount fell, and its monthly cost rose. Your business case priced the people you would stop paying. It never priced what the system needs every month to finish the work, and most of that starts only once the system is running.

A survey of real deployments (Paleyes, Urma and Lawrence, ACM Computing Surveys, 2022) found that, at the time, watching a deployed model's inputs and accuracy was unsolved: "[m]onitoring of evolving input data, prediction bias and overall performance of ML models is an open problem," and one team had to build its data and performance checks "from scratch." An earlier paper on hidden technical debt (Sculley et al., NIPS 2015) found that "it is common to incur massive ongoing maintenance costs in real-world ML systems."

A woman with short gray hair stands at a steel table beside a conveyor, looking down at a small stack of wrapped parcels
You can point to where every dollar goes.

The case that left five lines out

Your company automated order entry. Orders arrive by email, often as attachments, and a model enters each one in your order system. Six people did that work. The business case kept one of them to oversee the model and counted five salaries as the saving, against a subscription. Today two of the six still work on order entry, and the monthly cost is higher.

Diagram of the cost per completed order after go-live. The subscription and five cost lines (inference, monitoring, review, upgrades and exceptions) add up to the monthly cost, which is divided by the orders finished that month. The result is compared with the same figure from a month before go-live, then split into orders the system finished alone and orders a person had to finish, which can cost more than the old process did.

1. Inference

Every order is at least one model call, and often more: a second call when the output fails a format check, and a longer prompt each time someone on your team adds a rule. You pay per token, roughly per piece of a word the model reads or writes, so the bill grows with every rule and every retry, not only with the number of orders, even in a month when volume stays flat.

2. Monitoring

Someone has to keep showing that the system is still right as your customers change their forms and their attachments. That is the open problem the survey named, and for you it means engineering time every month, paid whether or not anything has gone wrong.

3. Review

The people you kept now check the model's entries. The case priced in only light oversight; checking every entry takes far more hours, and those extra hours are a running cost of the new process, not a transition cost that fades after the first few months.

4. Upgrades

The provider retires the model version you tested and approved, which forces a change on you. Each change means testing again on your own orders, adjusting prompts, and sometimes rewriting part of the integration, all on the provider's timetable, not yours.

5. Exceptions

These are the orders the system cannot finish: a handwritten change, two orders in one email, a product code you discontinued. They tend to reach a person later, without the email thread in front of them, and they tend to be the hardest orders you receive.

Price the work per completed item

Count the cost per completed order, before and after. Before go-live: everything the process cost in a month, divided by the orders finished that month. After: the subscription plus the five lines, divided by the orders finished in the same period. Review and exceptions are the hours of the people you kept, priced at what those hours actually cost you.

Then split the result in two: orders the system finished alone, where a person checked the entry and changed nothing, and orders a person had to correct or finish. Your sheet for one month of 12,000 orders, with every line priced from its source, reads like this:

LineMonthly costWhere the number comes from
Before go-live$60,000A similar month before go-live: $5.00 an order
Subscription$9,000The invoice
Inference$11,400Model bill, every call and retry included
Monitoring$16,000Engineering hours spent showing it is right
Review$10,800Hours of the kept staff checking entries
Upgrades$8,000Retesting and rework after version changes, monthly share
Exceptions$9,600Time the same two people spend finishing orders, overtime included
After go-live$64,800Divided over 12,000 orders: $5.40

The average says $5.40 against $5.00. The split says more, once every cost is tagged to its order. Subscription, monitoring and upgrades are shared: $33,000, or $2.75 an order. The 9,600 orders that needed no correction add $0.75 of inference and $0.50 of review, which makes $4.00 each. The 2,400 a person finished add $1.75 of inference from retries, $2.50 of review and $4.00 of exception handling, which comes to $11.00 for each of those orders.

One order in five, 2,400 orders, now costs $11.00, more than twice the old process's average of $5.00, and the overall figure of $5.40 hides that group entirely.

Tag every cost with the order

Your finance team cannot split a model bill by order, so the system has to. Tag every model call, every review and every exception with the order's identifier. That is called cost attribution. With it, you can see whether attachments cost more than plain emails, or whether one customer's format sends most of its orders to a person. Without it, you cannot tell which orders drove the increase in your monthly cost, or which change would bring it down.

When the cost per order rises

Find the line that moved. When it is review or exceptions, the fix is usually in the design: a check that catches a bad entry before a person does, or a defined path for the exception that keeps coming back. When it is inference, look at retries and prompt length first.

When not to automate at all

Low volume with exceptions as most of the work is the case to price first, before you automate anything. Monitoring and upgrades carry engineering time that stays however few orders you process. Spread over few orders, that time can leave each order costing more than your team spends on it today; in that case, leave the process with the people who run it now.

First steps this week

  1. Add up last month. The subscription plus the five lines, priced in full.
  2. Divide by the orders completed. Repeat for a similar month before go-live.
  3. Fill in the missing number. A line with no figure is this week's job.

References

  1. Paleyes, A., Urma, R.-G., & Lawrence, N. D. Challenges in Deploying Machine Learning: A Survey of Case Studies. ACM Computing Surveys, 55(6), 2022. doi:10.1145/3533378.
  2. Sculley, D., Holt, G., Golovin, D., et al. Hidden Technical Debt in Machine Learning Systems. Advances in Neural Information Processing Systems 28 (NIPS 2015).

NEXT · TO PRODUCTION

Audit your AI spend.

Fifteen minutes with Omar.