Build vs buy for AI customer service: the full inventory

The demo takes a week. This is everything that comes after it: what you would build, what you would run for years, what it costs, and when building is still the right call.

22 min read

Summarize this page with your favourite AI assistant
ChatGPTClaudeGoogle GeminiGrokPerplexity


A team with good engineers and access to a cloud AI model can show a convincing customer service agent within days. The board then asks a fair question: why pay a vendor for something our own team just built?


This report answers it in full. It lists every component a production system needs, what each one costs to run after launch, the line items most build cases forget to count, and the cases where building is the better choice. It is written for CIOs, COOs, CX leaders and heads of engineering who have to make the call and defend it.


On this page

The short answer


Unless customer service is your product, buy the platform and build only the thin layer that makes you different. The model is the cheap part. A production system needs fifteen components that must be built, tested and run for years. Most of the cost arrives after go-live, when every model, policy or channel change restarts some of the work.

The comparison at a glance


Three options, scored from 1 (weak) to 5 (strong) on the criteria that decide this. The scores are our judgement for a typical service operation of 200 to 5,000 agents where customer service is not the product itself. Re-score them with your own weights: if control matters three times more than anything else to you, building closes most of the gap.

CriterionBuild on a cloud modelBuy a specialist platformHybrid: buy the platform, build the thin layer
Time to first live customer2: days to a demo, months to a governed launch4: the platform exists; knowledge and integrations still take work4: same as buying, plus your own layer in parallel
Three-year cost2: people-heavy, and most of it lands after launch3: fees grow with volume3: fees plus a small team
Skills and hiring risk1: ML, voice, security, reliability and on-call, often held by a few people4: you need owners, not specialists3: a small team that knows your systems
Ongoing maintenance1: every component is yours to keep current4: you still own knowledge, scope and testing3: you maintain only your layer
Control and customisation5: anything is possible2: you work inside the vendorโ€™s roadmap4: you control the parts that differ
Data residency and security4: you decide, and you also do all the paperwork3: depends on the vendorโ€™s deployment options4: choose a vendor that deploys where you need it
Integration with your systems2: every connector is yours to build and keep working3: standard connectors, some custom work3: standard connectors, your own tools where needed
Who proves the outcome2: you build the measurement and grade yourself3: vendor reporting, which you should check independently3: vendor reporting plus your own checks
Exit and switching3: no vendor to leave, but your own platform is hard to retire2: switching takes work3: your layer moves with you
Total (equal weights)222830

Why does the demo mislead?


A prototype answers the questions its builders thought of, on clean data, in one language, on one channel, with nobody trying to break it. Production is everything else: the customer who asks two things at once, the policy that changed yesterday, the caller who interrupts, the refund that needs approval, the regulator who asks what the AI said to whom last March.


The gap is not a matter of polish. It is a different system. The prototype is a model, a prompt and a few documents. The production system is a set of components around that model, each with its own failure modes, owners and upkeep. The model is the part you rent; almost everything else is the part you own.


The record so far says the gap is real. In July 2024, Gartner predicted that at least 30% of generative AI projects would be abandoned after proof of concept by the end of 2025, citing poor data quality, inadequate risk controls, escalating costs or unclear business value.


The same pattern is forecast for AI agents. In June 2025, Gartner predicted that over 40% of AI agent projects would be canceled by the end of 2027, due to escalating costs, unclear business value or inadequate risk controls.


And the route you take seems to matter. In MIT NANDAโ€™s 2025 research, tools from external partners reached deployment about 67% of the time, against about 33% for internally built tools. The authors are careful: the figures are self-reported, come from interviews with 52 organisations, and may reflect the organisations as much as the approach. It is still the clearest signal available on this exact question.


A demo proves the model can answer. It does not prove you can run the system around it.

What would you have to build and run? The full inventory


Fifteen components. For each: what it is, why it is harder than it looks, and what keeps costing after launch. If you build, you own all fifteen. If you buy, you still own parts of some (your knowledge, your scope, your tests), and the list shows which.

What the demo shows and what you build and run after go-live

The demo is the tip. Fifteen components sit below the waterline, and each one keeps costing after launch.

Source: OnClarity analysis of the components a production AI customer service system needs.

1. Model access, routing and switching


What it is. The layer that calls one or more language models, picks the right one for each task, handles timeouts and rate limits, and falls back when a provider is slow or down.


Why it is harder than it looks. One model for everything is either too slow, too expensive or not good enough somewhere. Real systems route: a small model to classify, a stronger one to reason, a specialised one for speech. Each route needs its own prompts and tests.


What keeps costing. Models are released and retired on the providerโ€™s schedule, not yours. Every new version means re-running your tests, re-tuning prompts and checking cost and speed again. Switching is never a one-line change.

2. Knowledge and retrieval


What it is. Getting your help articles, policies, product data and past resolutions into a form the model can search, with the right answer found for the right customer.


Why it is harder than it looks. Knowledge bases are written for people, not models. They contain old versions, contradictions, regional variants and gaps. Retrieval that works on twenty documents behaves differently on twenty thousand.


What keeps costing. Knowledge changes every week. Someone has to own each article, retire the old one when policy changes, find the conflicts and fill the gaps the AI keeps hitting. This is the line that never ends, whether you build or buy. When you buy, the tooling to find gaps and conflicts usually comes with it.

3. Tools and integrations with back-office systems


What it is. The connections that let the AI do things, not just say things: look up an order, change an address, issue a refund, book an appointment, write back to the CRM and the ticketing system.


Why it is harder than it looks. Every action needs authentication, permission checks, approval rules for sensitive steps, retries that do not refund twice, and a clear record of what was done. Back-office systems were not designed to be called by a model.


What keeps costing. The systems on the other end change their APIs, their fields and their rules. Each change breaks something quietly. Every new use case is another integration to build, secure, test and keep alive.

4. The voice stack


What it is. Speech to text, text to speech, telephony and SIP trunks, call routing, and transfer to a person: warm (with a handover) or cold.


Why it is harder than it looks. Voice is unforgiving. Callers interrupt, so the agent must stop talking when they do (barge-in). Silence of more than a moment feels broken, so every step must be fast. Accents, background noise and names break transcription. A transfer that drops the context makes the customer start again.


What keeps costing. Each piece usually comes from a different supplier with its own contract, pricing and release cycle. Quality varies by language and accent, so every new market needs its own testing. Telephony incidents happen at the worst times and need someone who understands them.

5. Guardrails, validators and confidence thresholds


What it is. The checks that stop the AI answering outside its scope, inventing a policy, leaking data, or being talked into something by a creative customer.


Why it is harder than it looks. A single filter on the final answer misses most problems. Checks are needed on what comes in, what is retrieved, what tools are called and what goes out. Each one is a trade-off between blocking too much and too little, and the right threshold differs by topic.


What keeps costing. New attacks appear, new topics are added, and every model change shifts how the old guardrails behave. We set out the controls that matter most, with a test for each, in How do you stop an AI agent from making things up?

6. Handover to a person, with full context


What it is. Recognising when the AI should stop, and passing the customer to the right person with the whole conversation, what was tried and what the customer wants, so they never repeat themselves.


Why it is harder than it looks. It touches routing, queues, staffing, the agent desktop and every channel. โ€œWhen to hand overโ€ is a policy question as much as a technical one, and it changes as trust in the AI grows.


What keeps costing. Every change to your contact centre setup, queues or desktop tools has to be reflected here. A broken handover is the failure customers remember most.

7. Quality assurance on every conversation


What it is. Scoring what the AI said (and what your people said) against your own standard: was it accurate, compliant, on policy, and did it solve the problem?


Why it is harder than it looks. Sampling a few conversations a week was never enough for people, and it is far from enough for a system that talks to thousands of customers a day. Scoring every conversation needs its own models, its own rubric, evidence for each score, and a way for reviewers to disagree.


What keeps costing. The rubric changes with policy. The scoring itself needs checking against human reviewers so you know it can be trusted. Someone has to act on what it finds, or it is just another dashboard.

8. Analytics and voice of the customer


What it is. Knowing what customers contact you about, why, what is rising, what the AI could not handle, and what to fix at the source so the contact never happens again.


Why it is harder than it looks. Containment and handle time are easy to count. Understanding why customers came back, which topics drive repeat contact and which fix would remove the most demand needs topic models, a taxonomy that stays current, and links to outcomes.


What keeps costing. The taxonomy drifts as products and policies change. Leaders keep asking new questions. Every new question used to mean a new report built by an analyst.

9. Admin: roles, permissions, audit logs and single sign-on


What it is. Who can change what, who approved it, what the AI did and when, and logging in through your companyโ€™s identity provider.


Why it is harder than it looks. None of it is visible in a demo, and all of it is in your security teamโ€™s questionnaire. Audit logs must be complete, tamper-resistant and searchable. Permissions must match how your teams actually work, across countries, brands and outsourcing partners.


What keeps costing. Every new team, partner, brand and regulation adds roles and rules. Access reviews, joiners and leavers, and audit requests never stop.

10. Languages


What it is. Serving customers in every language you support, at the same quality, with knowledge, tone and policy that are right for each market.


Why it is harder than it looks. A model that is excellent in one language can be mediocre in another, and speech recognition varies even more. Translating the knowledge base is not the same as having one written for that market.


What keeps costing. Every language multiplies the testing. Each new market adds knowledge to maintain, reviewers who speak the language, and quality checks of its own.

11. Evals and regression testing for every change


What it is. A library of real past conversations (the common ones, the hard ones, the hostile ones and the ones that went wrong) that every change must pass before it reaches customers.


Why it is harder than it looks. Language models are not deterministic, so โ€œit worked when I tried itโ€ proves little. Good evals need expert judgement on what the right answer is, a way to score at scale, and enough cases per topic, channel and language to catch a regression.


What keeps costing. Every prompt edit, article update, new tool and model version is a change. The test set must grow with every failure you find. This is the component most in-house builds underestimate, and the one that decides whether the system gets better or quietly worse.

12. Monitoring, incident response and on-call


What it is. Watching the live system (answers, errors, speed, cost, handovers, customer outcomes) and having someone ready to act when it goes wrong.


Why it is harder than it looks. A customer service system fails in ways that do not raise an error: confidently wrong answers, a policy misapplied, a spike in customers asking for a person. You need monitoring for meaning, not just for uptime.


What keeps costing. An on-call rota with people who understand the AI, the integrations and the telephony, every week of the year, including the peaks when your customers need you most.

13. Security, privacy and compliance paperwork


What it is. Removing personal data before it reaches a model where needed, setting retention, keeping data in the right country, encrypting it, and proving all of it to auditors, customers and regulators.


Why it is harder than it looks. Each requirement is reasonable on its own. Together they shape the whole architecture: where models run, what is logged, what is stored, and what can be sent to which provider.


What keeps costing. Penetration tests, certifications, audit evidence, security questionnaires from your own enterprise customers, and new rules for AI in more jurisdictions each year. For a security review list with a control and a test for each item, see Build vs buy AI agents: an ownership decision, not a coding decision.

14. A workspace your service team can change without engineers


What it is. The screens where your CX team updates knowledge, edits instructions, changes routing, reviews conversations and approves changes, without filing a ticket.


Why it is harder than it looks. Internal tools are always last in the queue. Without them, every policy change at five on a Friday becomes an engineering request, and the people who know the answer cannot fix it.


What keeps costing. Product design, testing and support for an internal product that has real users with real deadlines.

15. Keeping up: model churn and the pace of the field


What it is. Re-evaluating your system as new models, features and techniques arrive, and deciding what to adopt.


Why it is harder than it looks. New models arrive often and the benchmarks published with them say little about your conversations. Each one has to be tested on your own cases before it is trusted with customers. The ones you rely on are eventually retired.


What keeps costing. A permanent research and migration budget. If you skip it, your system falls behind. If you fund it, it competes with everything else your engineers could be doing.

The inventory in one table

#ComponentIf you buildIf you buy
1Model access, routing and switchingBuild and keep currentVendor; check you can bring your own model if you need to
2Knowledge and retrievalBuild; own the contentVendor runs retrieval; you own the content
3Tools and integrationsBuild every connectorStandard connectors; you own your custom actions
4Voice stackAssemble and run several suppliersVendor
5Guardrails and thresholdsBuild and tuneVendor builds; you set scope and thresholds
6Handover with contextBuild across every channelVendor; you set the rules
7QA on every conversationBuild and validateVendor; you own the rubric
8Analytics and voice of the customerBuildVendor; you own the questions and the fixes
9Roles, permissions, audit, sign-onBuildVendor; check what is live today
10LanguagesBuild and test each oneVendor; you test your markets
11Evals and regression testsBuild the harness and the casesVendor harness; you own your cases
12Monitoring and on-callStaff it every week of the yearVendor for the platform; you for your layer
13Security and complianceDo all of it, and prove itVendorโ€™s evidence plus your own review
14Workspace for the service teamBuild and supportVendor
15Model churnFund it foreverVendor

What does it cost over three years?


Build cost is usually estimated as a project: a team, a few months, a launch. Most of the real cost is not the project. It is the run that follows it, and it is mostly people.

The cost lines

Cost lineWhat goes in itBuild: year 1Build: years 2 and 3Buy
Build teamEngineers for the components above, product, designHighLow (rebuilds and new channels)Implementation only
Run teamEvals, knowledge tooling, integrations, reliability, on-callStarts mid-yearHigh, every yearYour thin layer only
Service-side ownersKnowledge owners, QA reviewers, CX operationsYesYesYes (the same in every option)
InferenceModel usage, which grows with volume and with every extra checkGrowsGrowsUsually inside the fee
InfrastructureHosting, search indexes, storage, logging, environmentsYesYesInside the fee
Third-party servicesSpeech, telephony, monitoring and testing toolsYesYesMostly inside the fee
Security and compliancePenetration tests, audits, evidence, questionnairesYesYesYour review of the vendor
Licence or usage feesPer conversation, per resolution or per seatNoneNoneYes, grows with volume
Opportunity costWhat your engineers would otherwise shipHighestOngoingLow
Exit costRetiring or replacing what you choseLow (little to retire yet)Grows the longer it runsSwitching work, data export

The formula


Write your own numbers into these two lines. Use fully loaded people costs (salary, benefits, equipment, management time) and your own volumes.


Three-year cost to build = (build team ร— loaded cost ร— years to a governed launch) + (run team ร— loaded cost ร— remaining years) + inference + infrastructure + third-party services + security and compliance + opportunity cost


Three-year cost to buy = fees over three years + implementation + (internal owners ร— loaded cost ร— 3) + exit reserve


Service-side owners appear in both, because someone must own your knowledge, your scope and your quality whichever way you go. Leave them out of the comparison or put them in both.

One worked example (illustrative, people only)


Say a team of six builds for the first year to reach a governed launch, and a run team of four keeps it going in years two and three. That is 6 person-years in year one and 8 in years two and three: 14 person-years, more than half of them after launch. Multiply by your own loaded cost. Then add everything on the list above that is not people.


The point of the example is the shape, not the size. Year one is a project, visible and budgeted. Year three is a run cost, less visible and competing with your roadmap. When a build case shows only year one, ask for year three.

Year 1 and year 3 side by side


  • Building, year 1: a project budget, a launch date, a team with momentum.

  • Building, year 3: a platform with users, on-call, a test set to grow, models to re-qualify, and the original team partly moved on.

  • Buying, year 1: fees, implementation, and your people learning a new tool.

  • Buying, year 3: fees that follow your volume, and a platform that has shipped two years of improvements you did not pay to build.

What does buying give you that nobody puts in the spreadsheet?


A build case compares a vendorโ€™s price with the cost of building what the demo showed. That leaves out the things a vendorโ€™s other customers have already paid for. These are the discounted features: real, valuable, and almost never counted.


  1. Other peopleโ€™s failures, fixed before you meet them. A platform used by many teams finds edge cases, attacks and failure patterns long before any one company would. The fix reaches you as an update.

  2. Model evaluation done for you. When a new model appears, someone else tests it on many kinds of conversation, decides whether it is better, and migrates. Your team does not spend a quarter on it.

  3. A roadmap funded by more than your budget. New channels, languages, voice features and analytics arrive without a business case from you.

  4. Security evidence that already exists. Certifications, penetration tests and completed questionnaires are ready for your review. Built in-house, each is a project of its own.

  5. On-call that is not your team. The platformโ€™s incidents at 3am are someone elseโ€™s rota.

  6. Tools for the people who run service. Workspaces, reviews, analytics and approvals designed for CX teams, with documentation, training and support.

  7. Implementation patterns. People who have connected these systems before, and know where projects stall.

  8. Accountability in the contract. Uptime commitments, support terms, and in some pricing models (per resolution, for example) the vendor carries part of the risk of the AI not working.

  9. No key-person risk. A system built by three engineers is fragile when two of them leave. A vendorโ€™s platform does not depend on your retention.

  10. Your engineers on your product. The work they do not do on customer service infrastructure is work they do on what makes your company different.


None of these is free: they are inside the fee. The point is that they are inside it, and a fair comparison counts them.

Where does buying cost more?


Buying is not the right answer by default, and a fair report says where it costs more.


  • Fees at very high volume. Usage-based fees grow with your contacts. At very large volumes, a well-run in-house team can cost less per conversation, if you count everything it runs.

  • Less control over the roadmap. The feature you need may be on someone elseโ€™s schedule.

  • Model choice. Some platforms decide which models you use. If you need your own model, or one hosted in a particular country, check before you sign.

  • Dependency. Your service runs on someone elseโ€™s platform, so their outages, price changes and strategy affect you.

  • Switching cost. Configurations, test sets and history have to move with you, so check what you can export.

  • Custom builds sold as products. Buying a bespoke system built for you by a vendorโ€™s engineers is closer to outsourcing a build than buying a product. In September 2026, Gartner predicted that by 2028, 70% of enterprises will abandon AI agent systems built by a vendorโ€™s forward-deployed engineers, pointing to rising costs and the inability to evolve those systems independently. Buy a product that improves for everyone, and make sure what is built for you can be maintained without the vendor in the room.

When is building the right call?


Sometimes building is right, and it should be said plainly. Build when most of these are true:


  • Customer service is your product, or the service conversation is a core part of what customers pay you for.

  • You have data or workflows no platform supports, and they are the reason customers choose you.

  • You have a strong ML and platform team with capacity for years, not for a project, and leadership that will keep funding it after launch.

  • The scope is narrow and stable: one channel, one language, a small set of tasks that will not grow much.

  • You have control or residency needs no vendor can meet, after you have checked vendors that offer private cloud and on-premise deployment.

  • Your volume is very high and your unit economics favour owning the stack, counting the run team and the on-call, not just inference.


If none of these are true, you are not building a differentiator. You are building a platform you will have to run.

The hybrid path: buy the platform, build the thin layer


For most teams the best answer is in between. The platform holds what is the same for everyone: the control plane (permissions, security, testing, audit trails and reliability), the voice stack, QA, analytics, and keeping up with models. Your team builds what is specific to you: custom actions in your own systems, business logic for routing and approvals, your own model where you need one, and the knowledge only you have.


What to check before you choose this path:


  • Can you bring your own model, or a model hosted where your data must stay?

  • Can you add custom logic and tools without waiting for the vendorโ€™s roadmap?

  • Can you export what you build: configurations, test sets, conversation history and audit logs? Our earlier guide, Build vs buy AI agents: an ownership decision, not a coding decision, has four portability tests to run before you sign.

  • Can you run it where you need to: cloud, in-region, private cloud or on-premise?

  • Who owns the proof? Decide who measures whether customersโ€™ problems were actually fixed, and who grades it. Our Proof Standard sets out one way to do that.

Questions to ask before you decide


Take these into the room. If the build case cannot answer them, it is not finished.


Time


  1. When does the first real customer get an answer from this system, and when is it governed: tested, monitored, audited and on-call?

  2. Can your engineering team commit that time without moving other priorities?


Ownership


  1. Who prioritises new features after launch, and who writes them up for engineers?

  2. Who owns knowledge upkeep, the test set and the QA rubric, by name?

  3. What happens when two of the three people who built it leave?


Breadth and depth


  1. How many of the fifteen components above are in the plan, and which are missing?

  2. What is your annual budget for this, against what specialist vendors spend on the same product every year?


Cost


  1. What is the fully loaded three-year cost, including the run team, on-call, compliance and model migrations?

  2. What will your engineers not build while they build this?


Security and control


  1. Does the plan include role-based access, audit logs, single sign-on and data retention that meet your own policies, on day one?

  2. Can you prove to an auditor what the AI said to a given customer, and why?


Scale and exit


  1. Will it hold up at your peak volume, in every channel and language, with the same quality?

  2. If you change your mind in two years, what can you retire, what can you move, and what does it cost?


For the business case that sits around this decision, see The AI bill is due. Customer service is where it gets paid.

What to do this week

Write down the fifteen components and mark each one: in the plan, not in the plan, or someone elseโ€™s job.

Ask whoever built the prototype which of your last monthโ€™s hardest conversations it would get wrong, and test them.

Fill in the three-year formula with your own loaded costs, for years one and three separately.

Name the owner of knowledge, testing, QA and on-call for each option.

Score the comparison table with your own weights, and keep the result for the board.

Questions people ask

Should I build or buy AI for customer service?


Buy the platform and build the thin layer that makes you different, unless customer service is your product, your scope is narrow, and you have a strong ML and platform team funded for years. Most of the cost of building arrives after launch: evals, knowledge upkeep, QA, on-call, security evidence and model changes.

How do you evaluate build vs buy for AI?


List every component a production system needs, not just what the demo shows. For each, decide who builds it, who runs it and what it costs every year. Compare three-year costs, including people after launch and opportunity cost, then score build, buy and hybrid on time, control, security, maintenance and exit.

Should you build or buy AI voice agents?


Voice is the hardest part to build well. It needs speech recognition, speech synthesis, telephony, interruption handling, fast responses and warm transfer to a person, usually from several suppliers. Unless voice is core to your product, buy the voice stack and build your own actions and logic on top of it.

Sources


  • Gartner, Gartner Predicts 30% of Generative AI Projects Will Be Abandoned After Proof of Concept By End of 2025, press release, 29 Jul 2024.

  • Gartner, Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027, press release, 25 Jun 2025.

  • Gartner, Gartner Predicts 70% of Enterprises Will Abandon Agentic AI Built by Vendor Forward-Deployed Engineering by 2028, press release, 29 Sep 2026.

  • Challapally, Pease, Raskar and Chari, MIT NANDA, The GenAI Divide: State of AI in Business 2025, July 2025 (preliminary findings; interviews with 52 organisations, survey of 153 senior leaders, review of over 300 public AI initiatives, January to June 2025).


The scores and the worked example above are illustrative. Use your own weights, costs and volumes.

OnClarity

Speak to us

If you want to know what your own customers keep contacting you about, and what the repeats cost, we should talk.

Book a working session

OnClarity

Speak to us

If you want to know what your own customers keep contacting you about, and what the repeats cost, we should talk.

Book a working session

OnClarity

Speak to us

If you want to know what your own customers keep contacting you about, and what the repeats cost, we should talk.

Book a working session