Book cover: AI That Pays for Itself by Raymond J. Payne

Free sample: Chapter 1

AI That Pays for Itself

By Raymond J. Payne · About 18 minutes to read

This book is available in English and in Brazilian Portuguese. The chapter below is the English edition.

Chapter 1

Why Most AI Projects Fail in the Mid-Market

In February 2024, a small claims tribunal in British Columbia decided a case that should be required reading for anyone about to write an AI strategy.

A man named Jake Moffatt had booked a flight with Air Canada after his grandmother died. He asked the airline's website chatbot about bereavement fares. The chatbot told him he could book at the regular price and apply for the discount within 90 days of ticket issue. That was wrong. Air Canada's actual policy didn't allow a retroactive bereavement claim. When Moffatt applied for the refund the chatbot had promised him, the airline refused, and then argued — this is the part I want you to sit with — that the chatbot was "a separate legal entity that is responsible for its own actions."

The tribunal didn't buy it. It awarded Moffatt C$650.88 and confirmed, in plain language, that a company is responsible for everything on its website, including the things its AI says. (Moffatt v. Air Canada, BC Civil Resolution Tribunal, 2024.)

Six hundred and fifty dollars. Nobody went bankrupt; it barely registered on Air Canada's balance sheet. And it became one of the most-cited AI stories of the year — not for the money, but for what it exposed. A large, sophisticated company had put an AI system in front of customers, the system was confidently, plausibly, expensively wrong, and then the company tried to disown it.

Here's what I want you to notice, and it's the whole argument of this chapter in miniature. The model wasn't broken. The chatbot did exactly what these systems do — it generated a fluent, reasonable-sounding answer. The failure wasn't in the technology. The failure was that nobody had built the thing around it: no check on what it was allowed to promise, no path for catching it when it invented a policy, no clear answer to the question "who owns what this says." The hard part was never the AI. The hard part was the operations around the AI, and that part didn't get done.

That's not an Air Canada problem. It's the most common way AI projects die, and it's worse — much worse — in the middle of the market.

The number everyone quotes and the number nobody does

Let me give you the statistic that's been making the rounds, and then the one that actually matters.

RAND interviewed 65 practitioners in 2024, cited estimates that over 80% of AI projects fail, and traced most causes to leadership and data, not technology (RAND Corporation, 2024). PwC's 29th Global CEO Survey put a blunter number on it: 56% of CEOs said they'd seen no significant financial benefit from AI to date (PwC, January 2026). Gartner has been predicting for a while that more than 40% of agentic AI projects will be canceled by the end of 2027 (Gartner, June 2025).

And against those, Deloitte's own 2026 enterprise survey found that 66% of organizations report productivity gains, 20% are getting revenue growth, and 34% say they're using AI to deeply change how they work (Deloitte, 2026). Those aren't contradictory numbers. Often they describe the same firm: faster people, no financial result. Pick whichever you like; they all point the same way. Most AI projects underdeliver, and a lot of them die outright.

Now here's the part that never makes the keynote slide. When people quote a success number — a big multiple on AI spend — that figure is measured on the projects that reached production. A survivor's number. You've never met the ones that didn't make it, because nobody publishes a case study titled "How We Spent $400,000 and Quietly Killed It in Month Nine." The honest framing: most initiatives never reach production, a minority of the ones that do deliver what they promised, and the gap between those two facts is where most of the money goes to die.

I've spent more than thirty years in IT and operations and run something north of a hundred automation projects, and I've watched what's happened since AI hit business in real companies — not in the labs, not in the vendor demos, in the actual back offices where the work lives. The thing I can tell you with the most confidence is this: when an AI project fails, the autopsy almost never finds a technology problem. The models are good enough. They've been good enough for a while. The project died of something operational.

I'll spend the rest of this chapter showing you exactly what that something is, and why the middle of the market — companies of roughly 50 to 500 people — is where it's most lethal.

The middle of the market is its own country

There's a quiet assumption baked into almost every piece of AI advice you'll read: that you're either a startup or an enterprise. The startup advice says move fast, ship the rough version, iterate in public. The enterprise advice assumes you have a Chief AI Officer, a data team, a governance committee, and forty engineers who can rebuild an integration on a weekend.

You're probably neither. If you're running a 200-person professional-services firm or a manufacturer with four plants, you have the ambitions of the enterprise and the headcount of the startup. Real operations — actual money moving through actual processes — but no bench of specialists whose whole job is to make a new system survive contact with reality. And that matters, because the failure modes are different at your size, and they're meaner.

When an enterprise runs a bad AI pilot, it has the slack to absorb it — a budget line, a team, a governance review that eventually catches the problem. The pilot dies, someone writes a post-mortem, the org moves on. Expensive, but survivable. When a 200-person company runs a bad AI pilot, there's no slack. The one person who understands the process is also the person running it day to day. The "team" deploying the AI is one ops manager wearing the AI hat on top of their real job. There's no governance committee — there's a CEO who got asked about AI at a board meeting and greenlit something so there'd be an answer. When it goes wrong, there's nobody whose job it is to notice, and nobody whose job it is to call it.

And here's the asymmetry that almost nobody prices in: at your size, a failed AI project usually costs more than the manual process it was supposed to replace. The pitch was that you'd free up the clerk who spends her week on invoice matching. So you build the agent, and for three weeks it quietly miscodes a batch of freight invoices, and nobody catches it until the month-end numbers come in wrong. Now that same clerk is cleaning up the agent's mess, on top of the backlog that piled up while everyone trusted it. You didn't save her week. You added a second job to it. The failed project costs you the project, plus the cleanup, plus the trust you'll need next time — and that third cost is the one that compounds.

What actually kills the project

When I'm called in to look at why something died — or, better, before it dies, to figure out whether it should be built at all — the cause is almost always one of a handful of operational failures. None of them are about the model.

The process was never written down. This is the big one. AI doesn't automate work; it automates a described process. If the rules for how something gets done live only in the head of the person who's done it for twelve years, there's nothing for the AI to learn except the surface of the task — and the surface is the easy 80%. The hard 20%, the exceptions and judgment calls, was never captured anywhere, because the person handling it does it by instinct and has never had to explain it. You can't automate instinct you haven't documented. The project that ships is the one where someone already wrote the process down; the nine-month science experiment is the one where you're asking the AI to invent it.

Nobody owns the thing after go-live. A model deployed is not a model maintained. AI systems drift — the data changes, the edge cases shift, the vendor pushes an update that quietly changes a behavior. If there's no person whose Tuesday belongs to that agent, no weekly review of what it got wrong, no line in someone's timesheet for cleanup, then "in production" is a fiction. What you have is a pilot with the deadline removed. It runs until it doesn't, surfaces as a downstream complaint, and by then you've lost the thread on what it's been doing for two months.

The integration underneath was the actual project. Mid-market companies didn't grow by designing clean systems. They grew by bolting on whatever each department or site already had — two ERPs that don't agree on what a "unit" is, a custom database somebody built in 2009, the newest location running on a spreadsheet because nobody got around to giving it anything better. When the CEO asks for "one dashboard that shows total capacity," every vendor sells the screen. Nobody wants to talk about the four systems underneath it that disagree with each other. The dashboard might take a week. Reconciling what each system means, deciding which source wins when two disagree, cleaning up the spreadsheet site — that's the other seven weeks, and it's the reason the dashboard is ever right. None of it is AI. It's plumbing. The enterprise "single pane of glass" products assume clean source systems you don't have, so the part the pitch doesn't price is exactly the part that decides whether your project works.

The people who use it were never in the room. Deploy a system without involving the people whose work it changes, and they will quietly route around it — not out of stubbornness, out of self-preservation. The dashboard reads "100% automated." The actual work didn't go anywhere; it changed shape, from doing the task to re-deriving and approving it. You automated the dashboard, not the work. (More on this one later. It's the most important failure mode in the chapter.)

The total cost of ownership was never modeled. I'll come back to this one because it deserves its own section. But in short: the proof of concept cost $50 in API calls, and somebody mistook that for the price of the system. It isn't. It's a rounding error on the price of the system.

Notice what's not on this list. "The model wasn't smart enough." "We picked the wrong foundation model." "The accuracy wasn't high enough." Those show up occasionally, but they're rarely what actually killed the project. The project died in the operations. It almost always does.

The two-thirds nobody budgets for

Here's the math, because the math is where a lot of mid-market projects quietly go underwater. Your AI agent proof of concept cost $50 in API calls. It was a good demo, everyone was impressed, and the budget gets written against that experience — a number for the build, maybe a contingency, and a payback calculation that assumes the thing just runs once it's built.

Here's what nobody brings up in the vendor meeting. In my experience, building the agent is a third of the three-year spend. The other two-thirds is operations: monitoring, tuning, security patches, the integration maintenance nobody scoped, and eventually the person you assign to babysit it. And the running costs are harder to predict than traditional software, because agentic systems burn far more tokens per task than the chatbot your team played with last quarter — in the deployments I've watched, somewhere in the range of 5 to 30 times more, depending on how much work the agent does on its own. Every action the agent takes — reading a document, checking a database, deciding what to do next — is a separate call to the model. Chain a dozen of those per request, multiply by your real volume, and the bill stops being a rounding error. Worse, the same request can take 3 steps or 15 depending on what the agent decides, so your costs vary with the path it chose. Good luck forecasting that to your CFO.

This is one reason Gartner expects more than 40% of agentic projects to get canceled by the end of 2027 (Gartner, June 2025). Not because the technology failed. Because the ongoing costs outran a business case that was written against the $50 demo and never updated to reflect the real monthly cost of running the thing in production — which, across the mid-market deployments I've seen, has tended to land in the four-to-low-five-figure-a-month range once you count tokens, monitoring, and maintenance.

So I make every client do something before they sign anything: model Year 2, not Year 0. What does this cost to run, not to build? Who maintains it? What's the token bill at real volume, on the worst-case path? And — the question almost nobody asks — what happens if it doesn't work? What does month nine look like if this lands in the majority that underdelivers, who eats the cleanup, and what did you stop funding because the money went here instead?

If you can't answer those, you don't have a business case. You have a brochure with your logo on it.

Boring AI ships. Exciting AI dies.

Here's what actually works, and you're going to be a little disappointed, because it isn't exciting. The AI project your vendor is most excited to sell you is the one most likely to fail. The one that actually ships is so boring they'd never build a demo around it. The projects that die are almost always the ambitious ones — the agent meant to run a whole function, make the judgment calls, replace a team. The ones that quietly succeed do one dumb, repetitive thing: read a form and put what's on it into the system that needs it. Invoices. Intake forms. Claims. Purchase orders.

What makes those work isn't the model. It's that the rules already live in the form. Somebody decided years ago which fields matter and where they go, so there's nothing to discover, no judgment to encode, no process to reverse-engineer out of someone's head. The AI is just doing the typing. And because the process is already written down — in the structure of the form itself — there's a clear answer to what "right" looks like, which means you can tell when it's wrong. That's the whole game. The boring project is observable. The ambitious one, making judgment calls across a whole function, is a black box where "right" is a matter of opinion — so you can't tell when it's quietly off until it's been off for weeks.

This is the line between a project that ships and a nine-month science experiment: did someone already write the process down, or are you asking the agent to invent it? I'll spend the next chapter on why the boring profile wins, with the public cases to back it. For now: the ambitious version is the second project, after the boring one has earned you the right to do it. Start with the boring one. It's the one that ships.

The vendor's incentive is not your incentive

A lot of mid-market failures start with the vendor in the room, and the failure is hard to see while it's happening.

The vendor's job is to make every use case look equally urgent. That's not a knock on them — it's the structure of the business. They sell the exciting agent because it demos well and commands a bigger contract. The boring forms processor is a smaller deal that's hard to make impressive in a 30-minute pitch, so it's not what they lead with. None of that is malicious. It just means the project that's best for them to sell and the one that's best for you to run usually aren't the same project.

You can see the seam in the demo itself. It runs on clean, curated data, in a dedicated environment, with the vendor's own engineer steering. It proves the AI can do something. It does not prove the AI can do it reliably, at your volume, on your messy data, inside your actual workflows, when the one person who understands the edge cases is on vacation. Different claims, and the gap between them is where most pilots that don't reach production go to die.

So I ask every client the same two questions before they sign anything, and I'd hand them to you for your next vendor meeting.

First: What would it cost me to leave you in 90 days? The lock-in that matters at your size isn't which model you're using — models are increasingly interchangeable. It's one layer down, in the proprietary connectors to your ERP and the business logic encoded in formats only their platform reads. You don't have 40 engineers who can rebuild that on a new stack. If the honest answer is "you can't," you're not buying a tool — you're signing a lease you can't break. Own the wiring between your AI and your systems, and keep your business logic exportable.

Second: Show me realistic Year 2 production numbers, not the pilot. If every number they have comes from the clean demo, they're selling you a demo, not a system. A vendor confident in their product can show you what it costs and how it behaves at real volume. One who deflects to "it depends on your use case" every time you ask about running costs is telling you something, and it isn't good.

The point isn't to distrust vendors — plenty are good, and you can't build any of this without them. It's that the discipline about scope, ownership, and cost has to come from your side of the table, because it never comes from theirs. That's the job nobody at a 200-person company is assigned to do, and it's the difference between a project that ships and one that gets written off.

Trust is a function of visible, correctable errors

Come back to the operator who checks every output by hand, because she's the most important person in your AI deployment and she's almost never in the planning meeting.

Several surveys show the same split. AI usage at work keeps climbing. Over the same stretch, confidence in it has been dropping. People read those two trends as a contradiction. They aren't. They're the same operator.

Confidence didn't fall because the models got worse. It fell because we kept shipping AI systems without doing the part that earns trust — showing the person who has to live with the system what it gets wrong, how often, and giving them a fast way to catch it. Trust isn't a feeling you talk people into with a good rollout deck. It's a function of visible, correctable errors. If the operator can see what the system does, see where it's wrong, and fix it quickly, trust builds. If it's a black box that occasionally produces a confident mistake she gets blamed for, she'll never trust it, no matter how good the accuracy actually is — and she'll be right not to. That's the Air Canada lesson from the inside: the chatbot's error wasn't visible or correctable until it had already promised a customer something the company had to honor.

So if you take one operational principle from this chapter, take this one: build the visibility before the ambition. The error log. The exception path. The conversation with the operator before go-live — the one where you ask what the system needs to get right, and what'll happen on her end when it doesn't. That conversation costs you an hour. Skipping it costs you the project, because the person it was supposed to help becomes the person quietly working around it.

If your dashboard says an AI system is handling 100% of something, go find the person who used to do that job by hand. Ask whether they've actually stopped — or whether they're still quietly checking every one. The answer tells you whether you automated the work, or just the dashboard.

Someone has to own the decision

There's one more failure mode, and it sits above all the others, because it decides whether the right project even gets picked. Here's the pattern I see constantly. The board asks the CEO what the AI strategy is. The CEO has no CTO to hand it to, so to have something to report, they greenlight a few pilots — one in marketing, one in finance, one in customer support, each because a department head came back from a conference excited. None chosen against any picture of where the company actually makes or loses money. Then, months later, the question becomes "which pilot do we scale?" — and that's already the wrong question, because it assumes those were the right three to run.

Look at the stakes hiding under the shared label. Marketing's drafts email variants — real, useful, saves a few hours a week. Finance's reconciles invoices against purchase orders — the thing that, when it breaks, holds up payments, irritates suppliers, and quietly eats a clerk's entire week. Support's is a chatbot deflecting tickets the company doesn't get enough of to matter. Same "AI pilot" name on all three, three completely different stakes. The marketing one is the most visible. The finance one is the most valuable. And visibility is what gets scaled when nobody's doing the sequencing.

The discipline isn't picking the best pilot. It's refusing to let "we already started it" decide the order. You rank by where the money moves. You pick the one bounded process where the rules already live in the artifact, so it's provable in weeks instead of argued about for quarters. And you let the other two wait without guilt. There's a harder version of the same call — when a pilot is clearly dead, who kills it? — and at a 200-person company the answer is usually nobody, because killing it means walking back into the boardroom and admitting the thing everyone pushed for produced nothing. So it keeps its budget for another two quarters.

The companies bleeding money on AI almost never have a tooling gap. They have a decision gap. Someone has to own three calls: what we do first, what we do never, and what we stop. That's judgment, and it's the most valuable work in the whole effort — and it's the work that gets skipped, because there's usually no one whose actual job it is to make those calls.

This is where "just hire a Chief AI Officer" falls down for the middle of the market. The decision is real on day one; the full-time executive to make it isn't — not yet, not at your size. The role is real; the dose is fractional. That's a chapter of its own later. For now, just hold the shape: a real job, owned by someone, before you ever staff a title around it.

What this means for you, on Monday

The reason most AI projects fail in the middle of the market isn't that the technology isn't ready. The technology is ready, and it's been ready. They fail because the operations around it don't get built — the process, the ownership, the integration, the operator in the room, the running costs, the decision about what to do first and what to kill. Every one is an operational problem, not a technical one. Which is good news, because operational problems are the kind you fix with discipline and sequence, not a research lab.

The discipline looks like this. Be honest about where you actually are — what's documented, where the money really moves, which systems will fight you, who'd own the thing after it ships, what it'd cost to run for two years. Pick the boring, bounded, observable project on top of a process someone already wrote down. Build the visibility before the ambition. Bring the operator into the room. Put one person — even at a fraction of their time — in charge of what comes first, what waits, and what gets killed. That's the whole game. It's unglamorous, it works, and almost nobody does it.

The hardest part is the first step — the honest look at where you stand before you've spent a dollar on a tool. Most companies skip it because picking a visible project feels like progress, and because there's no one whose job it is to run the assessment. So that's where I'd start, before you read another chapter or sit through another vendor demo.

Take the AI Readiness Assessment. It's a structured walk through the operational questions this chapter is built on — your processes, your data, your integration reality, your ownership, your real total cost of ownership, and your decision-making. It won't tell you which model to buy. It'll tell you whether you're ready to buy anything at all, and which boring project would actually ship. Do that first. The boring project is the one that works — but only if you've done the boring work of figuring out which one it is.

The assessment is at raymondpayne.com/go/assess — ten minutes, free, and it tells you where to start.

© 2026 Raymond J. Payne. Excerpt shared with permission of the author.