Comparison

Buy off-the-shelf AI or build your own? A build vs buy decision matrix for mid-sized companies

This article is for CEOs, CFOs and heads of IT who have to decide whether to buy an off-the-shelf AI tool or commission a custom solution. We show that the choice is not black and white, set out seven questions that structure the decision and give you a way to compare costs over five years. We also explain what regulations change in this choice.

Author: Kacper Włodarczyk, CEO of ALGORCOMPPublished: May 29, 2026Reading time: 11 min readArtificial intelligenceFor: Mid-sized company
Buy off-the-shelf AI or build your own? A build vs buy decision matrix for mid-sized companies

Not two options, but five

The question “buy or build” suggests two extremes: a subscription to an off-the-shelf tool, or a team of developers writing everything from scratch. In practice there are several intermediate steps between them, and most companies use two or three at the same time.

The table below lists these options from the simplest to the most demanding. The further down the table, the more control you have – but also the more work, cost and responsibility on your side.

Five ways to bring AI into a company
OptionExamplesWhen it makes senseMain risk
Off-the-shelf AI assistant on subscriptionMicrosoft 365 Copilot, ChatGPT or Claude on business plansWriting, summarising, preparing for meetings, searching documentsLittle control over changes to the product and pricing
AI built into a system you already useAI features in a CRM, project management system or ERP, e.g. in monday.comThe process is close to the industry standardWorks only within that one system
No-code building toolsPower Automate, Copilot Studio, n8n, MakeA process specific to the company, but not very complexWithout governance rules, many hard-to-maintain solutions quickly appear
Custom solution built on existing modelsAn application using OpenAI, Anthropic or open models, connected to company dataA strategic process, specific data, no off-the-shelf productNeeds a team or partner to maintain it for years
Your own model from scratchTraining a model on your own infrastructurePractically never in a mid-sized companyVery high cost, rare skills, the model ages quickly

Seven questions that structure the decision

The decision is easier when the management board answers the same questions for each process separately. You can score each question from 1 (clearly in favour of buying) to 5 (clearly in favour of building) and add up the results. The total is not a verdict, but it shows where opinions on the board differ.

The first two questions usually outweigh the rest. If the process does not set the company apart and works the same way as at your competitors, the other answers rarely change the result.

Decision matrix: buy or build
QuestionAnswer pointing to buyingAnswer pointing to building
Does this process set us apart from our competitors?No, everyone does it in much the same wayYes, it is part of our competitive advantage
Does our way of working differ from the industry standard?No, off-the-shelf tools support itYes, off-the-shelf tools need workarounds
Can we leave this process with one vendor for five years?Yes, we will switch tools if necessaryNo, losing access would paralyse the company
How quickly do we need results?Within weeksWe can wait a few months
Which is cheaper over five years, not one?The subscriptionOur own solution, including maintenance
Do regulations or client contracts restrict where data can go?A data processing agreement (DPA) and processing in the EU are enoughClients require data not to leave our infrastructure
Do we have people who can maintain the system?No, and we do not plan to hire themYes, or we have a partner and a knowledge transfer plan
Buy off-the-shelf AI or build your own? A build vs buy decision matrix for mid-sized companies

When an off-the-shelf tool wins

An off-the-shelf assistant wins where the work looks much the same in every company. Writing emails, summarising meetings, first drafts of documents and searching files are not tasks that win anyone a tender. The makers of these tools develop them for millions of users, so your own version will not catch up with them on features or price.

The same goes for AI built into systems you already use. If your CRM offers suggestions for salespeople, it is usually cheaper to switch them on and configure them than to build a separate tool that has to be connected to the CRM.

Buying is not enough in three situations. First, the process is the source of your competitive advantage and you do not want the vendor offering the same thing to your competitors. Second, the off-the-shelf tool has no access to the data everything depends on. Third, there is no product on the market that does what you need.

When building is worth it, and what it really means

In a mid-sized company, building almost always means assembling a solution from existing components. You take an AI model from a major provider, connect it to company data and add your own rules. You do not train your own model – that is the domain of companies with enormous budgets for it.

Take a hypothetical machinery manufacturer with tens of thousands of pages of technical documentation and a history of service tickets. Its salespeople want to tell customers quickly which parts fit older models. A general-purpose assistant does not know this data, and there is no off-the-shelf product for this industry.

In this case, a solution based on searching the company’s documents makes sense – RAG, a technique in which the AI first finds the relevant passages in company documents before answering. It can often be built in Copilot Studio on data in SharePoint before you turn to a fully custom application.

Building only makes sense if someone will maintain the result. Models change, and providers regularly retire older versions – Anthropic announces such retirements at least 60 days in advance. When that happens, someone has to check that the solution still answers correctly.

The management board of a mid-sized company comparing off-the-shelf AI tools and a custom solution on a whiteboard

Only build what makes your company different – buy the rest from those who make it for thousands of customers.

How to compare costs over five years

The most common mistake is comparing costs for the first year only. A subscription then almost always wins, because it needs no upfront investment. But an AI solution runs in the company for several years, so you have to count that whole period.

A simple formula for buying: number of users × monthly price × 12 × 5 years. For building: build cost + annual maintenance × 5 + model usage cost + one major rebuild along the way. In both cases, add the time people spend on implementation and training.

An example shows where the bar sits. A company buys Microsoft 365 Copilot Business for 100 people at USD 21 a month. That is USD 25,200 a year, or about PLN 93,000 at an assumed exchange rate of PLN 3.70, and about PLN 466,000 over five years.

A general-purpose assistant of your own would therefore have to cost less than that to build and maintain for five years. On top of that, it would have to match a product that Microsoft improves every month. In practice this does not work, which is why buying is the safer option for general tasks.

It is different for a process that no product supports. There, you compare the cost of building not with a subscription, but with the cost of the current manual work and errors. Below is a list of items worth including.

  • Maintenance: fixes, software updates, ongoing checks on answer quality.
  • Model cost: per-request fees grow with the number of users.
  • Model replacement: testing and fine-tuning the solution when the provider retires an older version.
  • Security: testing, permission reviews, incident response.
  • People: someone in the company who understands the solution and is accountable for it to the management board.

What regulations change: NIS2, DORA, GDPR and the AI Act

You often hear that regulations force companies to run their own servers. That is not true. NIS2 – implemented in Poland by an amendment to the National Cybersecurity System Act (KSC Act) in force since 3 April 2026 – requires risk management, including supplier risk. DORA, the EU regulation on digital operational resilience in the financial sector, requires detailed contracts and oversight of IT service providers – but it does not ban the cloud.

The GDPR requires a data processing agreement (DPA) and knowing where data is processed. Major cloud providers offer processing in the European Union, which in most companies solves this problem without building their own infrastructure.

The AI Act cuts both ways. The obligation to tell people they are talking to AI applies from 2 August 2026, whether the system was bought or built. But when a company builds a high-risk system itself, such as one for screening job candidates, it becomes its provider. From 2 December 2027 it is then responsible for documentation, event logging and human oversight. When you buy a ready-made system, you pass some of these obligations to the vendor.

How to assess vendor lock-in

Vendor lock-in is real whichever option you choose, but it takes different forms. With a subscription, the vendor can raise the price or change the product. With your own solution, you depend on the company that built it and on the people who understand it.

Two simple tests help. First: will the management board accept that the process’s data and way of working stay with this vendor for five years? Second: how much time and money would it cost to move to another solution? If the answer is “six months of work”, the lock-in is significant.

You can reduce the risk through contract terms and good practice. Below is a list of things worth securing, whichever route you choose.

  • The right to export data and configuration in a readable format.
  • Ownership of the code, model instructions and documentation for a custom-built solution.
  • The ability to change the AI model without rebuilding the whole solution.
  • Knowledge transfer to at least one or two people in your company.
  • Clear terms for termination and ending the relationship.

A mixed model and a sensible order of steps

Most mid-sized companies end up with several layers at once. A typical set is an off-the-shelf assistant for everyone, AI features in the CRM for sales, automations in Power Automate and one custom solution where the company has unique data. This is not a compromise; it is the result of asking the same questions separately for each area.

Such a set needs one person who oversees the whole: they know which tools are running, who is responsible for them and what data goes into them. Without that person, after two years the company is paying for tools that overlap.

A sensible order usually looks like this: first, off-the-shelf tools, so people learn to work with AI and show where they lose the most time. Then building in one or two places where off-the-shelf tools were clearly not enough. This approach limits the risk of a large upfront investment.

Related topics in the knowledge base

Read next

FAQ

Buy or build AI – frequently asked questions

Questions management boards ask once the first AI tools are up and running and the idea of a custom solution comes up.

Is it worth training our own AI model in a mid-sized company?
Almost never. Training a model from scratch requires huge datasets, computing power and specialists, and within a year the model loses out to a new version from a major provider. A mid-sized company is usually well served by a good model available as a cloud service, connected to its documents.
Is fine-tuning a model on company data already building your own AI?
It is an intermediate step. Fine-tuning teaches an existing model the company’s style or vocabulary, but it does not give it up-to-date knowledge of your documents. To answer questions about company documents, searching them is more often enough, and it is easier to keep up to date.
Who should make the decision – IT or the management board?
The management board, because the key questions concern strategy, risk and money, not technology. IT should assess feasibility, security and maintenance costs. It works best when both sides fill in the same matrix and compare their answers.
What should we do when an off-the-shelf tool is no longer enough?
Record the specific cases where the tool fell short: what it could not do, how much time this cost and how often it happens. Such a list is the best justification for a build, and it immediately defines its scope.
Can the company that builds our solution later sell it to our competitors?
That depends on the contract. If the solution is meant to give you a competitive edge, the contract should transfer the rights to the code and documentation to you. It should also ban the use of your data in projects for other clients.

About this page

About the author

Kacper Włodarczyk — CEO of ALGORCOMP

Kacper Włodarczyk

CEO of ALGORCOMP

Kacper specializes in implementing Microsoft 365 Copilot, Copilot Studio, Power Platform (Power Automate, Power Apps, SharePoint) and AI agents for mid-sized B2B companies in Poland. He leads dozens of projects covering AI strategy, Power Platform governance, document workflow automation and sales processes. In his writing he focuses on the practical side of AI adoption in organizations — from the first proof of concept to company-wide rollout — with particular attention to data security, compliance (GDPR, NIS2, the AI Act) and return on investment.

Meet the team

Wondering whether to buy an off-the-shelf tool or build your own?

We will work through the decision matrix with you for a specific process and compare the costs of both routes over five years.

Featured

Related articles