Skip to content
Tillbaka till bloggen
Build vs Buy for AI in a Mid-Size Company: A Decision Rule
Integritet & Säkerhet

Build vs Buy for AI in a Mid-Size Company: A Decision Rule

F
Fredrik BrunnbergVD & Skribent
30 oktober 20266 min läsning

Here is the rule. Buy when the data you feed the tool is generic and the workflow is something every company in your industry does the same way. Build when the data is sensitive or uniquely yours, and the workflow is part of how you actually win against competitors. If you are stuck in the middle, that is a sign you have not defined what you are protecting or what you are competing on. Fix that first, the build or buy answer falls out on its own.

What questions should we ask before choosing build or buy for AI?

Ask these in order, not all at once with no priority, that is how companies end up buying seventeen tools that do not talk to each other.

First: is this process the same at every company our size, or is it the thing clients actually pay us for? If a competitor could buy the exact same tool and get the exact same result, you are not building an advantage, you are buying a utility. Buy it.

Second: what data touches this tool, and where does it go? Customer records, contracts, health data, anything under GDPR scrutiny needs a harder look than "please summarize this public blog post."

Third: who owns the logic in six months? If the vendor changes pricing, gets acquired, or shuts the feature down, what happens to your workflow? I have seen companies in Jönköping build entire reporting processes around a tool that then changed its API and broke everything on a random Tuesday.

Fourth: can we actually run this ourselves, or are we pretending we can? Be honest about your team. CIO covered this exact tension well in their piece on the build vs buy dilemma in enterprise AI, and the pattern holds everywhere: companies overestimate their internal capacity and underestimate vendor lock-in, almost every time.

Is off-the-shelf AI software safe for company and customer data?

Sometimes. It depends entirely on where the data goes and what the vendor's terms actually say, not what the sales page says.

Read the data processing agreement. Find out if your data trains their model. Find out where servers sit, inside the EU or outside it, because that changes your GDPR exposure directly. The EU has published its own framework for this, worth a look if you want the regulatory shape of where this is heading: the European approach to artificial intelligence.

A generic off-the-shelf tool for scheduling, transcription, or basic drafting is usually fine, that data is low stakes. A tool that ingests your customer contracts, your pricing models, or health records and sends them to a third party's cloud with vague terms is not fine until you have actually read the terms, and most people do not.

How much does it cost to build a custom AI solution versus buying one?

Buying has a visible price tag and an invisible one. The visible price is the subscription. The invisible price is the time your team spends working around what the tool cannot do, plus whatever you pay when you outgrow the plan and need the enterprise tier, plus the cost of migrating off it later when it no longer fits.

Building has the opposite shape. A visible cost up front for scoping, development, and getting the thing into production, then a lower and more predictable cost over time because you control it. The real cost driver in building is not the AI model, it is the integration work and the discipline to keep it maintained. That is the part people skip when they are excited and then regret when the tool breaks in production.

Neither number is small. Neither number is fixed. Anyone quoting you a flat number for "AI build cost" before understanding your data and your systems is guessing.

When does buying an AI tool become more expensive than building?

When the per-seat or per-usage pricing scales faster than your usage does, and you have no leverage to negotiate because the vendor knows you are dependent on them. This is the trap: the tool looks cheap at ten users and painful at two hundred.

It also becomes more expensive when you are paying for features you do not use because the vendor bundles everything into one tier, and when you are paying twice, once for the tool and once for the custom integration work your own team has to do anyway to make the bought tool fit your actual systems. If you are already paying a developer to glue a bought tool into your stack, you are halfway to build cost without getting build ownership. That is the worst of both.

Can we start with a bought tool and build custom AI later?

Yes, and honestly, this is often the right move. Buy something narrow and cheap to prove the use case works before you spend real money building it. If the workflow turns out to matter as much as you thought, build it properly once you know exactly what it needs to do. If it does not matter, you only lost a subscription fee, not a development budget.

The mistake is doing this backwards: building something custom and expensive before you have proven anyone needs it, or staying on a bought tool for years past the point where it is holding you back, because switching feels like a hassle. Set a review point. Six months, a year, whatever fits your pace, and actually revisit the decision instead of letting inertia make it for you.

What are the risks of building AI in-house without the right expertise?

The biggest risk is not technical, it is time. A team that is learning on the job will take far longer than a team that has done this before, and the gap between "it works in a demo" and "it works in production with real data and real edge cases" is where most in-house projects quietly die.

Second risk: security and compliance get bolted on at the end instead of designed in from the start. That is how you end up with a model that works but cannot pass an audit, or a pipeline that handles customer data in a way nobody signed off on.

Third risk: no one owns it once the person who built it moves to a different project or leaves. AI systems need maintenance, retraining, monitoring. If that falls on nobody specifically, it degrades quietly until a customer notices before you do. Sweden's AI.se network has good material on building this capability responsibly if you want to see how others in the Nordic ecosystem are approaching it: ai.se.

What drives the real cost, whether you build or buy?

Scope is the first driver. A narrow tool that does one thing well costs less than an ambitious platform that tries to do everything. Most AI projects fail because the scope grew after the budget was set.

Data quality is the second, and the most underestimated. If your data is messy, scattered across five systems, or simply does not exist in the form you need, that is where the time goes, not in the model. No tool, bought or built, fixes bad data for you.

Integrations are the third. Connecting to your existing CRM, your accounting system, your document store, that work does not disappear whether you buy or build, it just shows up on a different invoice.

Hosting choice matters too. Running on infrastructure inside the EU, on servers we operate at HEIMLANDR for example, has a different cost and compliance profile than sending everything to a US-based platform with unclear data residency.

People and maintenance are the last driver and the one everyone forgets to budget for. Someone has to own this after launch. That is true whether you bought it or built it, the only question is who that someone is and whether you planned for them.

If you want to see how this plays out in practice, it is worth noting that other industries are hitting the exact same wall right now: law firms are rethinking their AI budgets around this exact build vs buy question, and accounting firms are running the same calculation for automation agents. The pattern is identical everywhere. It is not an AI problem, it is a strategy problem that AI makes visible faster.

Next step

If you want a straight answer on your specific situation rather than a general rule, look at what we actually build through AI Solutions, or if you are near Jönköping and want to talk it through in person, book time with an AI Consultant in Jönköping.

Read next

Fredrik Brunnberg builds AI and software at HEIMLANDR.IO in Jönköping, Sweden. Is this your real question? Book 20 minutes, we answer straight.

#build vs buy#AI strategy#mid-size company#AI decision making
F
Fredrik Brunnberg

VD & Skribent

VD för HEIMLANDR.IO. Punk rock-teknik från Jönköping. Bygger AI-system och blockkedjeinfrastruktur och skriver om vart branschen faktiskt är på väg. Ingen ekokammare, ingen hype.

// vad vi bygger

Vill du ha något liknande byggt?

Vi bygger AI-agenter och privat AI på servrar som vi driver inom EU. Från Jönköping.