← Back to Insights

Comparison

12 min read

Self-hosted vs cloud AI: what to weigh on cost, control and GDPR

By Ben Gould · Published 7 December 2026

Self-Hosting
Data Protection
Open Models
n8n
Vendor Lock-In

For most UK-Based companies, cloud AI on a business account is the right answer, and UK GDPR doesn't require the data to stay in the UK. Running a model yourself earns its keep in three cases: a client contract that rules out third parties, very high and steady volumes of narrow work, or no reliable connection. Cost and security are rarely good reasons, because self-hosting usually costs more and needs looking after.

That isn't the same as saying self-hosting is a fringe idea. Open models are now good enough that the question is worth asking properly, and it hardly comes up in most conversations about AI, which tend to start and finish with "which assistant should we buy?". The honest version of the question has more than two answers.

What does "self-hosted AI" actually mean?

It means running an AI model on computers you control, instead of sending your data to a provider like OpenAI, Anthropic or Google to be processed on theirs. That's possible because some models are released as "open weights": the trained model itself is published, and anyone can download it and run it.

In practice there are four rungs on the ladder of AI deployment.

OptionWhere your data is processedWho looks after itTypical fit
1. A business AI assistant or APIThe provider's cloud, often in the USThe providerMost teams, most of the time
2. The same, with regional processingThe provider's cloud, in the EU or UKThe providerPersonal data, cautious clients
3. An open model on rented serversA cloud account you control, in your regionYou, or your supplierSpecific contracts, high steady volumes
4. An open model on your own hardwareYour server room or data centreYouNothing may leave the building, or offline

Rung 3 is where the word "self-hosted" gets slippery. A model on a rented GPU in someone else's data centre is self-managed, not on-premises. The company you rent from is still a third party processing your data. That might be fine, but it isn't the clean break people imagine when they say "we'll run it ourselves".

Does UK GDPR require your data to stay in the UK?

No. This is the most common misunderstanding behind the question, and it's worth clearing up first because it often decides the whole thing.

UK GDPR doesn't forbid personal data leaving the UK. It controls how it leaves. The ICO's guidance sets out the order: a transfer is fine if the destination has adequacy regulations, which the UK has granted to the EU and EEA, among others. If not, you need an appropriate safeguard such as the International Data Transfer Agreement plus a risk assessment, and only failing both does the transfer stop (ICO). The Data (Use and Access) Act 2025, whose data protection changes came into force in February 2026, made that test a little easier to pass, not harder (GOV.UK).

For the US, the UK-US "data bridge" is still in force. You can rely on it if your provider is certified to the UK Extension of the EU-US Data Privacy Framework and the certification covers the kind of data you're sending (ICO). Checking that takes two minutes on the framework's public list.

The questions that actually matter under GDPR are more boring than "where's the server?":

  • Is the provider your processor, under a written agreement? Business tiers come with a data processing agreement. Consumer accounts generally don't, which is why the account tier matters more than the brand, as covered in how to write an AI acceptable-use policy.
  • Is your data used for training? On the business tiers of the big three, not by default. (OpenAI, Anthropic, Google).
  • How long is it kept? This is where the terms differ, and where the small print is worth reading. OpenAI keeps API data for up to 30 days for abuse monitoring unless you qualify for zero retention. Anthropic doesn't retain API content by default for most models, but keeps flagged content for up to two years. Google caches for up to 24 hours unless you switch it off.

Self-hosting doesn't remove any of your obligations either. You're still the controller, you still have to keep the data secure, and a server you run yourself only counts as secure if someone is actually securing it.

What do the cloud providers actually offer on UK and EU processing?

The detail that catches people out is the difference between where data is stored and where it's processed. Several "UK data residency" announcements are about storage. The model still runs wherever the provider has capacity.

Here's where things stood in November 2026, from each provider's own documentation:

RouteWhere the newest models are processed
OpenAI directUK storage at rest is available for the API and ChatGPT Enterprise. In-region processing is offered in Europe, not the UK (OpenAI)
Anthropic directUS or global only. Europe is available through AWS and Google Cloud (Anthropic)
Microsoft Azure (Foundry)No UK data zone. The newest models are global or EU-zone. Only older models run in UK South on pay-as-you-go (Microsoft)
AWS Bedrock, LondonCurrent Claude models are reached by routing to other regions, EU or global. Amazon's own Nova models run in London (AWS)
Google Vertex AI, LondonNamed Gemini models are guaranteed to process in London. Global endpoints carry no residency guarantee (Google Cloud)
MistralEU processing, no UK region (Mistral)

Two things follow. If a client requires processing in the UK with a current frontier model, your options are narrow today. If they require processing in Europe, or simply that their data isn't used for training, rung 2 covers it, usually for a premium of around 10% on the regional endpoint.

Are open models good enough now?

For most of what an SME needs, yes. The gap at the very top is real but small. The Stanford AI Index put the best closed model 3.3% ahead of the best open one as of March 2026, wider than the 0.5% of August 2024 but still narrow (Stanford HAI). Epoch AI's measure has open models running about four months behind the frontier this year (Epoch AI).

Four months behind the frontier is better than anything that existed eighteen months ago. And the jobs most SMEs automate first don't need the frontier at all: pulling fields off an invoice, routing support tickets, summarising a call note, drafting a reply for a person to check. A mid-sized open model handles those well.

Two practical points narrow the field. First, "open" doesn't always mean free to use however you like. OpenAI's gpt-oss-120b and Google's Gemma 4 are released under Apache 2.0, a genuinely permissive licence (Hugging Face, Google). Others come with their own licences and conditions, so somebody needs to read it before a model goes into a product. Second, the models a business can run on one machine are the mid-sized ones. gpt-oss-120b fits on a single 80GB data-centre GPU. The largest open models need a rack.

What does self-hosting actually cost?

More than the API, at the volumes most SMEs run. This is the part that surprises people, because "no per-token bill" sounds like it must be cheaper.

GPU rental is priced in dollars. A single H100 on RunPod's secure cloud costs $4.39 an hour, which is about $3,200 a month if it's left on (RunPod). That's the rung 3 floor for a capable model that's always available, before anyone's time.

Now take a realistic workload: 1,000 documents a working day, each needing about 3,000 tokens of input and 1,000 of output (a token is roughly three-quarters of a word). That's around 84 million tokens a month. At Anthropic's list prices (Anthropic):

How it runsApproximate monthly cost
Rented H100, on 24/7$3,200, plus maintenance
Claude Sonnet 5.5 by API (mid-tier)$340
Claude Haiku 5.5 by API (small, fast model)$17

The GPU only matches the mid-tier API price at around 800 million tokens a month, ten times that workload, and it doesn't come close to the small model. Buying hardware changes the shape of the cost but not the conclusion: an M5 Ultra Mac Studio starts at £5,499, and a configuration with enough memory for the larger open models is hitting 5 figures.

Self-hosting wins on cost in one situation: a large, steady, predictable volume of narrow work, running close to around the clock, where a small model is good enough. For most practical purposes, you don't need it, and the ones that do usually know it.

What's the cost nobody budgets for?

The looking after. A self-hosted model is a server, and servers need patching, monitoring, backing up, upgrading when a better model comes out, and securing. That's the same lesson as what makes an automation last: building it is the cheap part.

Security is where this goes wrong in public. Ollama is the most popular tool for running open models, and it's lovely: one command and a model is running. It also listens for requests from anyone who can reach it, unless you set it up otherwise. In November 2026 Rapid7 found 7,675 Ollama servers open to the whole internet, and reported that more than half had already been used by someone other than their owner, mostly to borrow free computing power (Rapid7).

So the honest comparison isn't "their cloud versus our control". It's their security team versus whoever in your business will be patching the server in eighteen months' time. If the answer is a named person or a supplier with a contract, fine. If it's "we'll sort that out later", that's the answer.

So when does self-hosting earn its keep?

In three situations, and the first is by far the most common in practice.

A contract says no third parties. Some clients in legal, healthcare, defence supply chains and financial services forbid sending their data to any sub-processor they haven't approved, and some will never approve an AI provider. Here rung 3 or 4 isn't a preference, it's the only route to using AI on that work at all. The client's contract decides, not GDPR.

A large, steady volume of narrow work. Classification, extraction or redaction at scale, where a small open model is accurate enough and the server is busy most of the day. Even then, price the cheapest API tier first. The bar is higher than it looks.

No dependable connection. Sites, vehicles, equipment and secure rooms. Rare for an SME, decisive when it applies.

There's a fourth reason that's real but usually doesn't justify running anything today: insurance. An open model can't be withdrawn, repriced or retired by its maker. That's the vendor lock-in argument, and the cheaper way to hold that option is to build so the model is swappable, through an AI gateway or an orchestration layer, and know that an open model is one configuration change away.

The reasons that don't hold up are the three I hear most: "GDPR requires it" (it doesn't), "it'll be cheaper" (it won't) and "it's more secure" (it's not).

Do you have to choose one?

No, and the best set-ups usually don't. The choice can be made step by step inside one workflow rather than once for the whole business.

This is where a self-hosted orchestration tool like n8n is useful. The workflow, its credentials and its records run on your infrastructure, which is the main reason to choose n8n over Zapier or Make. Each step then sends its data wherever suits that step. A small open model on your own server can find and strip names, account numbers and health details from a document. The cleaned text can then go to a frontier model with EU processing for the harder reasoning. The sensitive part never leaves, and you still get the better model where it counts.

That's also how you keep the option open. If a client's contract changes, or prices move, one step changes. The rest of the workflow doesn't.

What to ask before you decide

QuestionWhy it matters
"Do any of our client contracts restrict sub-processors?"The single most likely reason you'd need rung 3 or 4
"Where is our data processed, not just stored?"Residency announcements are often about storage only
"Is training off, and how long is data kept?"Training is off by default on business tiers. Retention varies
"Which transfer mechanism covers this provider?"Adequacy, the data bridge, or an IDTA. Someone should be able to name it
"How many tokens a month will this actually use?"Self-hosting needs high, steady volume to break even
"Who looks after the server?"If there isn't a name, don't self-host yet

The bottom line

Self-hosted AI deserves a place in the conversation it doesn't usually get. Open models are close enough to the frontier for most business work, and for some firms a client contract makes them the only way to use AI at all.

But for most UK SMEs, the data protection worry that starts the conversation is answered by a business account, a processor agreement and a provider that processes in Europe, at a fraction of the cost and none of the maintenance. Run a model yourself when a contract, a volume or a location gives you a reason to, and build everything else so you could.

If you're weighing this up for a real workflow, or a client has asked where their data goes and you'd like a straight answer, a thirty-minute discovery call is usually enough to work out which rung you need. See n8n consulting for how I build self-hosted and hybrid workflows.

Related reading

Or see how I put this into practice: services, case studies.