Case 57: Build or buy an AI feature for support tickets
A teaching case on adding AI ticket summaries to a support tool: pay a model provider per ticket or build a smaller model. Compare cost, accuracy and volume.
Adding an AI feature to a product has become easy to start and hard to price. A few lines of code and a call to a model from a provider can produce a good summary, a draft reply or a classification, and the first demo costs almost nothing. The question that comes next is the one that decides whether the feature is a business: what does it cost per use when it is used a million times a month, how often is it wrong and what does each mistake cost? This case follows a software company that must decide between paying a provider for each call and building a smaller model of its own. You will practise computing cost per use including the cost of errors, finding the volume at which building beats buying, testing how a falling provider price moves the answer and designing a path that does not commit too early.
This is a composite case. Ledgerhelp, its people and its figures are invented for teaching. The prices, accuracies and costs are illustrative: real prices for model services change often and vary widely by provider, so check current figures before relying on any of them. No real company is described.
The decision
Zoya Ahmed, head of product at Ledgerhelp, a support-desk tool used by small businesses, is planning to add automatic ticket summaries: when a support agent opens a customer ticket, the tool shows a short summary of the issue and what has been tried. Her engineers have built a demo using a model from an AI provider, and customers love it. The chief technology officer wants to build a smaller model trained on Ledgerhelp's own tickets, arguing that it will be cheaper and more accurate. The finance head wants to keep paying the provider, arguing that it needs no upfront cost. Zoya has to recommend one, with numbers, before the launch.
Background
Volume. Customers of Ledgerhelp currently create about 300,000 tickets a month, and the company expects this to grow. At some point in the next few years it could reach 1.2 million a month.
Option A: buy (use the provider's model).
Cost: ₹1.2 per ticket summarised.
Accuracy: 91 per cent of summaries are good enough to use without correction. The rest contain a mistake or miss something important.
No up-front cost and a live date within weeks.
Option B: build (a smaller model of Ledgerhelp's own).
An up-front cost of ₹2.4 crore (people, data preparation, training and testing).
Running costs of ₹0.6 crore a year (hosting, monitoring and one engineer), which over three years is ₹1.8 crore.
Cost per ticket: ₹0.25 for the computing.
Accuracy: 93 per cent, because the model is trained on this kind of ticket.
Live in about six months.
The cost of an error. A bad summary wastes an agent's time or sends them in the wrong direction, and sometimes a customer gets a wrong answer. Ledgerhelp estimates that each bad summary costs about ₹15 in extra agent time and goodwill.
The horizon. For simplicity, the case looks at three years (36 months) without discounting.
The numbers
Exhibit 1: the cost of one ticket, errors included
The cost per ticket is the price of the model plus the expected cost of errors.
Option · Price per ticket · Accuracy · Error rate · Cost of errors per ticket · Cost per ticketBuy · ₹1.20 · 91% · 9% · 0.09 × ₹15 = ₹1.35 · ₹2.55
Build · ₹0.25 · 93% · 7% · 0.07 × ₹15 = ₹1.05 · ₹1.30
Notice that the cost of errors, ₹1.35 for the provider's model, is larger than the price of ₹1.20. In this case, accuracy is as important as the price.
Exhibit 2: three years of cost at different volumes
Add the fixed costs of building (₹2.4 crore plus ₹1.8 crore over three years = ₹4.2 crore) to the per-ticket costs, and multiply by 36 months of tickets.
Tickets a month · Buy, three years · Build, three years · Cheaper100,000 · ₹0.92 crore · ₹4.67 crore · Buy
300,000 · ₹2.75 crore · ₹5.60 crore · Buy
600,000 · ₹5.51 crore · ₹7.01 crore · Buy
1,200,000 · ₹11.02 crore · ₹9.82 crore · Build
At today's volume of 300,000 tickets a month, buying costs less than half as much as building (₹2.75 crore against ₹5.60 crore). Building starts to win only at a volume of about 933,000 tickets a month, three times the current level.
Exhibit 3: the provider's price is falling
AI model prices have tended to fall. Suppose that after a year the provider's price per ticket falls from ₹1.20 to ₹0.70. The cost per ticket for buying becomes ₹0.70 + ₹1.35 = ₹2.05, and the break-even volume with building moves from about 933,000 to about 1.56 million tickets a month. A falling price makes buying more attractive for longer.
On the other side, the build option also benefits from falling costs of computing and from better open models that can be used as a starting point, which may cut its up-front cost. Both options get cheaper, but the buy option's cost is mostly the price paid to someone else, which is more exposed to a competitor's pricing decisions, in both directions.
Questions to consider
1. Why does the cost of errors matter so much in the comparison? How would the answer change if an error cost ₹5, or ₹50?
2. At today's volume, which option is cheaper over three years, and by how much? At what volume does the answer change?
3. What would the provider's price have to be, with the same accuracy, for building never to be worth it at 1.2 million tickets a month?
4. What risks does buying carry that the cost table leaves out? What risks does building carry?
5. How would you find out whether the claimed accuracies of 91 and 93 per cent are right for Ledgerhelp's tickets?
6. What would you recommend to Zoya, and how would you keep the option to build later?
Analysis
Step 1: price per use is not the whole cost
Zoya's first step is to compare options on the cost per ticket including errors: ₹2.55 for the provider's model and ₹1.30 for the built one. The provider looks cheaper if you look at only the line "price", where the built model has ₹0.25 and the provider ₹1.20. But the gap in accuracy adds ₹0.30 in favour of the built model (9 per cent against 7 per cent errors at ₹15 each). If errors were cheap, say ₹2 each, the provider's cost would be ₹1.38 and the built model's ₹0.39, and accuracy would hardly matter. If errors cost ₹50 each, the provider's cost would be ₹5.70 and the built model's ₹3.75, and accuracy would dominate.
So the first number to pin down is what an error costs. Zoya should sample 200 tickets, have agents mark which summaries were wrong and how much time each wrong summary wasted, and put a rupee value on it. That one number moves the answer more than the model's price.
Step 2: fixed cost against variable cost, again
The decision has the same structure as Case 52. Buying has no fixed cost and a high cost per use. Building has a fixed cost of ₹4.2 crore over three years and a low cost per use. At low volume the fixed cost is spread over few tickets and buying wins. At high volume the saving per ticket (₹2.55 − ₹1.30 = ₹1.25) multiplied by many tickets covers the fixed cost.
The break-even is ₹4.2 crore ÷ (36 months × ₹1.25) = about 933,000 tickets a month. With 300,000 tickets today, Ledgerhelp is a third of the way there. If its volume grows to 1.2 million by the end of year three, it will pass the break-even in the second half of the period, but the average over the three years will be below it, which is why buying is cheaper over three years in the table for volumes below 933,000.
Step 3: the moving target of prices
The comparison is not static. If the provider's price falls to ₹0.70 within a year, the break-even moves to about 1.56 million tickets a month, and building makes sense for fewer scenarios. A rule of thumb for technology that is getting cheaper quickly is to be wary of paying a large fixed cost today to save a variable cost that is falling anyway. This argues for buying first.
But the opposite risk is real. A provider can raise prices, change terms or retire a model that Ledgerhelp's product depends on, which forces a rebuild at a bad moment. Falling prices are a trend, not a guarantee.
Step 4: what the table leaves out
Data and privacy. Support tickets contain customers' private information. Sending them to a provider means trusting its handling, its retention and its security. Contracts, regional rules and what Ledgerhelp's own customers expect all matter. A built model keeps data in-house, though it needs its own security.
Quality that is specific to Ledgerhelp. The stated accuracies are guesses. A general model may do better or worse on tickets full of the product's own terms. Zoya should measure both on the same sample of real tickets.
Speed. A summary should appear in a second or two. A large model on a provider's service can be slower or have uneven response times, and a small model on Ledgerhelp's own servers can be faster.
Dependence and lock-in. Prompts and workflows built around one provider are costly to move. Designing the feature so the model can be swapped keeps the choice open.
Capability. Building teaches the team how to train, evaluate and run models, and it is a skill that other features will use. That has value, though it is hard to price.
The risk of the build itself. A project of ₹2.4 crore and six months can overrun, and the finished model may be no better than the provider's. The ₹4.2 crore is an estimate, and if it were ₹6 crore the break-even would rise to about 1.3 million tickets a month.
Step 5: a path with options
Zoya does not need to decide today whether Ledgerhelp will ever build. She can choose a path that makes the decision later, with better information.
1. Launch with the provider. Cost: about ₹2.75 crore over three years at 300,000 tickets a month, with no commitment and a live date in weeks.
2. Design for swapping. Put the model behind an internal interface, so that a different model can be used without changing the product.
3. Log everything. Record each ticket, the summary, and whether the agent used, edited or rejected it. This builds the labelled dataset that a later build will need, and gives a continuous measure of accuracy.
4. Evaluate open and smaller models. Spend a small amount (₹10 to 20 lakh) on a trial of a smaller model trained on the logged data. If it matches the provider's accuracy at a fraction of the price, the build becomes much cheaper than ₹2.4 crore.
5. Set a trigger. Revisit the decision if volume passes about 600,000 tickets a month, if the provider's price rises, or if the trial model reaches 93 per cent accuracy on the live sample.
This path costs a little more per ticket in the early period than building would at high volume, but it avoids committing ₹4.2 crore to a bet that volume will triple.
Step 5b: how to run the head-to-head test
The comparison of 91 and 93 per cent is only as good as the test behind it, so Zoya should design it carefully. Take a random sample of 400 recent tickets, stratified so that it includes the main categories (billing, how-to questions, bugs, account problems) in the proportions of the real flow, and hide which model wrote which summary. Have two experienced agents mark each summary as usable, usable with a small edit or wrong, and record the time each edit took. Compute the error rate for each model with a margin of error: with 400 tickets, an observed 9 per cent error rate has a margin of about ±2.8 points, so a gap of two points between the models is hard to call. If the result is that close, a larger sample or a longer live trial is worth paying for, because the decision involves several crore of rupees.
The same test should check the cost of errors by following a few dozen wrong summaries to see what they led to: a wasted hour, a wrong reply, a refund. Also record the cases where the summary was right but too long or missed a detail that an agent cared about. These are not errors by the strict definition, but they affect whether agents trust the feature, and an unused feature saves nothing.
Step 6: the recommendation
Zoya might say: "Buy now, design to swap and log from day one. At today's volume the provider costs ₹2.75 crore over three years against ₹5.60 crore for building, and the provider's price is more likely to fall than rise. We will measure accuracy and the cost of errors on our own tickets in the first month, because the cost of errors is as large as the price. We will run a cheap trial of a smaller model on our logged data after six months, and set a review at 600,000 tickets a month. If we pass 933,000 a month with the provider's current price, building would save about ₹1.25 per ticket, and we would build."
A short note on governance closes the analysis. Whichever route Zoya takes, someone should own the quality of the summaries after launch: reviewing a sample every week, handling complaints from agents who find the summaries misleading and approving any change of model. AI features tend to be launched with attention and then left alone, and their quality drifts, as Case 60 shows. A named owner and a weekly sample cost almost nothing next to the cost of a feature that quietly gets worse.
What happened
This part of the case is an illustrative epilogue, not a real outcome.
Ledgerhelp launched with the provider. A sample of 400 tickets showed 89 per cent of summaries were usable, below the 91 per cent claimed, and an error cost about ₹11 in agent time, below the ₹15 assumed. After six months, a small open model fine-tuned on 90,000 logged tickets reached 92 per cent accuracy in a trial, at a total project cost of about ₹60 lakh, much below the ₹2.4 crore estimate. Volume had reached 420,000 tickets a month. Ledgerhelp moved the summaries to the smaller model for its largest customers and kept the provider for the rest, and set a review for the next year.
Key takeaways
Compare cost per use including the cost of errors. Buying cost ₹2.55 per ticket (₹1.20 plus ₹1.35 of error cost) against ₹1.30 for building.
The cost of an error can matter as much as the price. Measure it on a real sample.
Fixed against variable cost again: buying wins at low volume and building wins at high volume. The break-even was about 933,000 tickets a month, against 300,000 today.
At 300,000 tickets a month, buying cost ₹2.75 crore over three years against ₹5.60 crore for building. At 1.2 million, building cost ₹9.82 crore against ₹11.02 crore.
Falling provider prices push the break-even up: at ₹0.70 per ticket it rose to about 1.56 million tickets a month.
Consider data privacy, quality on your own data, speed, lock-in and the risk of the build.
Choose a path with options: buy first, design to swap, log the data and set a trigger for revisiting.
Try this
Evaluate an AI feature for a product or team of your own. Set aside forty-five minutes.
1. Choose a feature that could be bought from a provider or built, such as summaries, classification or drafting. Write the volume now and in three years.
2. Estimate the price per use, the accuracy and the cost of an error for the bought option, and the fixed cost, running cost, price per use and accuracy for the built one.
3. Compute the cost per use including errors, the three-year cost of each at three volumes and the break-even. Use the simulator pattern.
4. Test the answer at a lower provider price and a higher cost of the build.
5. List the privacy, quality, speed and lock-in questions you would need to answer before choosing.
6. Write a five-sentence recommendation with a path: what you will do first, what you will log, what you will test and the trigger for revisiting.
A good result is a cost per use that includes errors, a volume table, a break-even, two stress tests and a staged plan with a trigger. Case 58 looks at a related question: how much of the work should an AI handle on its own.
Tags: Case study AI features Build or buy Unit economics Model costs