Running AI on Your Own Servers: Open-Weight Models vs Cloud AI for GDPR-Sensitive Data
Founder
Guide14 min read
What the drawing shows
- Your documentsPatient records, client files, payroll: whatever must not leave the building.
- The model on your own serverA small open-weight model is good at narrow jobs such as summaries and pulling out fields.
- The answersThey are written from your own documents and stay inside the building too.
- The cloud stays outsideNothing leaves the building. The GDPR still applies: security, contracts, a named person.
If you handle patient records, client files or payroll, you can use AI in three ways: public cloud, EU-hosted enterprise cloud, or an open-weight model on your own hardware. Here is what each one costs, what it can do and what the GDPR asks of you.
Key takeaways
- For most small businesses, an EU-hosted or enterprise cloud AI service under a data processing agreement is the sensible default; self-hosting earns its place when data must not leave the building.
- Open-weight means you can download and run the model, not that it is open source or free of conditions: check the licence of the exact model and version.
- Small local models are good at narrow jobs such as classification, extraction, summarising and answering from your own documents, and weaker at complex reasoning and polished drafting.
- Self-hosting is not a GDPR exemption and not automatically cheaper: you still need security, contracts with anyone who maintains it, and a named person responsible. Benchmark on your own tasks before buying hardware.
On this page
- Three ways to use AI with sensitive data
- What “open-weight” means, and the licences to check
- How much hardware you need
- Where small models are good enough, and where they are not
- The running costs nobody puts in the quote
- Worked example: a 12-person accounting office
- GDPR: what self-hosting changes, and what it does not
- Decision table: which option fits
- Benchmark on your own tasks before you buy hardware
- What a private AI setup costs
- How Orya One can help
If you handle health records, client files or financial data, you have three realistic ways to use AI: a public cloud AI service, an EU-hosted or enterprise cloud service under a data processing agreement, or an open-weight model running on hardware you control. For most small businesses in Greece, the second option is the sensible default. Self-hosting earns its place when the data is so sensitive, or the duty of secrecy so strict, that you do not want it to leave the building at all, and when the task is narrow enough for a smaller model to do it well.
Self-hosting is not a GDPR exemption, and it is not automatically cheaper. You swap a contract with a provider for a machine you must secure, update and look after. This guide is for clinics, accountants, law firms, hotels and manufacturers weighing that trade-off. If you are still deciding whether AI is worth it at all, start with our practical guide to AI for small businesses; this article picks up where that one stops.
Three ways to use AI with sensitive data
1. Public cloud AI services
Chat apps and standard API accounts from the large AI providers, most of them based in the US. They give you the strongest models for the least effort, and the risk lies in the terms. What a service keeps, for how long, and whether it may use your content to improve its models differs between free, personal, business and API plans, so read the terms of the plan you actually use. A member of staff pasting client records into a personal account sits outside any contract your business has signed.
2. EU-hosted or enterprise cloud AI
The same kind of models under a business contract: a data processing agreement, storage or processing in the EU, and terms that exclude training on your data and limit retention. The large providers now offer this. OpenAI, for example, launched European data residency in February 2025, with API requests in eligible new projects handled in the region with zero data retention (TechCrunch). Microsoft says customers of Microsoft 365, Dynamics 365, Power Platform and most Azure services can store and process their customer data within the EU and EFTA (Microsoft). European providers, and EU data centres that host open-weight models for you, are a further option. Eligibility, regions and settings differ by plan, so check them in the contract, not on the marketing page.
3. Self-hosted open-weight models
You download a model’s weights and run it on your own server, in your office or in a rack you rent in an EU data centre. Prompts and documents never reach the company that made the model. Tools such as llama.cpp, Ollama and vLLM make this far easier than it used to be. In return, you own the hardware, the updates, the security and the quality, and the best open models that fit a small server are usually a step behind the largest cloud models.
| Option | Where your data goes | Contract you need | Effort | Good fit |
|---|---|---|---|---|
| Public cloud AI | The provider’s servers, often outside the EU | Business terms and a DPA; personal plans are not enough | Very low | Public, anonymised or non-personal text |
| EU-hosted or enterprise cloud AI | The provider’s servers in the EU, under contract | DPA, EU region, no-training and retention terms | Low | Most business use with personal data |
| Self-hosted open-weight model | Your own server or rented EU hardware | Model licence; DPA with whoever maintains it | Medium to high | Highly sensitive data, narrow repetitive tasks |
What “open-weight” means, and the licences to check
An open-weight model is one whose trained parameters, the weights, you can download and run yourself. That is narrower than open source. The Open Source Initiative’s Open Source AI Definition asks for the parameters, the complete code used to train and run the system, and sufficiently detailed information about the training data for a skilled person to build a substantially equivalent system. Most popular models publish the weights and a licence, not the training data.
Families such as Llama, Mistral, Qwen and Gemma all publish open-weight models, but the licences differ, sometimes within the same family:
- Llama 4 comes under Meta’s own community licence. Among other terms, companies with more than 700 million monthly active users need a separate licence, products must prominently display “Built with Llama”, and use must follow Meta’s Acceptable Use Policy (Llama 4 licence).
- Gemma 4, released by Google in April 2026, is the first Gemma generation under the Apache 2.0 licence (Google Open Source Blog). Earlier Gemma models came with Google’s own terms.
- Qwen: Alibaba released its Qwen3 dense models under Apache 2.0 in April 2025 (Qwen). In August 2026 it put a 27B Qwen3.8 model under Apache 2.0, but its largest Qwen3.8 model under a custom licence with revenue-based conditions for some commercial services (eWeek).
So check the licence of the exact model and version you will run, not the family name. Look at five things: whether commercial use is allowed, any user or revenue thresholds, attribution and naming rules, an acceptable use policy, and whether you may fine-tune and redistribute. Apache 2.0 is the simplest for a business. A custom licence is not a deal-breaker, but someone should read it before you build on the model.
How much hardware you need
Memory is the first limit. Hugging Face’s guide gives the rule of thumb: “Loading the weights of a model having X billion parameters requires roughly 2 * X GB of VRAM in bfloat16/float16 precision” (Hugging Face). Quantisation stores the weights in 8 or 4 bits instead of 16, which roughly halves or quarters that. The same guide notes that 8-bit and 4-bit weights often cost little accuracy, but that 4-bit can change results in practice, so you test it. Long documents and conversations need extra memory on top of the weights, so leave headroom.
| Model size | 16-bit | 8-bit | 4-bit |
|---|---|---|---|
| 3B parameters | ~6 GB | ~3 GB | ~2 GB |
| 8B parameters | ~16 GB | ~8 GB | ~4–5 GB |
| 14B parameters | ~28 GB | ~14 GB | ~8 GB |
| 32B parameters | ~64 GB | ~32 GB | ~16–20 GB |
| 70B parameters | ~140 GB | ~70 GB | ~35–42 GB |
Hardware tiers, with illustrative costs
For reference, NVIDIA’s RTX 5090 graphics card has 32 GB of memory and a total graphics power of 575 W (NVIDIA). NVIDIA’s DGX Spark, a small desktop unit, has up to 128 GB of unified memory, and NVIDIA says it handles inference with models of up to 200 billion parameters (NVIDIA). The prices below are illustrative, before VAT, and hardware prices change quickly, so get current quotes.
| Use case | Model size | Hardware | Rough cost (illustrative) |
|---|---|---|---|
| Sort emails, tag documents, pull fields from standard forms | 3–8B, 4-bit | Desktop with a 12–16 GB graphics card, or a recent Mac with 24–32 GB of memory | €1,500–2,500 |
| Summarise internal documents, answer questions over your own files for a small team | 8–32B, 4-bit | Workstation with a 24–32 GB graphics card | €3,500–6,000 |
| Drafting and question answering with stronger reasoning, several users at once | 30–120B, 4-bit | Two graphics cards, or a unified-memory machine with around 128 GB | €5,000–10,000 |
| The largest open models for a whole firm or many concurrent users | 100B and up, or several models | Server with data-centre GPUs, or rented GPU servers in an EU data centre | €25,000+ to buy, or a monthly rental |
Where small models are good enough, and where they are not
Usually good enough
- Classification and routing: which client, which department, which document type, how urgent.
- Extraction into fixed fields: dates, amounts, VAT numbers and names from invoices or forms, checked against rules. Our guide to AI invoice and document processing covers this in depth.
- Summarising internal documents: meeting notes, long email threads, inspection reports.
- Answering from your own documents (retrieval-augmented generation, RAG), where the answer is in the text and the model cites it. See our guide to an AI assistant for your own documents.
- Redaction: finding names and identifiers before text goes anywhere else.
- First drafts of routine replies that a person reads before sending.
Usually not, or not yet
- Complex legal or tax reasoning across many sources, where a confident wrong answer is expensive.
- Anything clinical that informs diagnosis or treatment.
- Long multi-step tasks where the model plans, calls tools and checks its own work.
- Open questions that need broad or current knowledge rather than your documents.
- Polished long-form writing in Greek. Do not assume English benchmark results carry over to Greek; test with your own Greek documents.
The running costs nobody puts in the quote
- Power and cooling: a high-end graphics card draws hundreds of watts under load, in a room that must stay cool in August.
- Updates: operating system, drivers, model runtime and the model itself, each tested before it goes live.
- Security: patching, user accounts, encryption, keeping the server off the open internet, and logs of who asked what.
- Backups: of the configuration, your documents and any search index built from them.
- Someone responsible: a named person or a support contract. When the server stops on a Monday morning, there is no provider status page to wait on.
- Replacement: hardware ages and models grow; plan for an upgrade within a few years.
On-prem is a design we plan for, not an exotic one. In our five-venue ERP reference architecture, the system runs on a server in the group’s own back office, for an owner who does not want fifteen years of sales data on someone else’s cloud. That is a valid choice, and it comes with a server someone has to look after.
Worked example: a 12-person accounting office
Take an illustrative accounting office in Katerini with 12 staff. It wants AI to classify incoming client documents and to let staff ask questions over internal procedures and past correspondence. It compares an EU-hosted enterprise AI service with its own server over three years. Every figure here is an assumption for illustration, not a quote.
| Cost item | EU-hosted enterprise AI | Own server |
|---|---|---|
| Setup and integration | €3,500 | €3,500 |
| Hardware (workstation with a 32 GB card) | – | €5,000 |
| Subscription (12 users at €30 a month) | €4,320 a year | – |
| Electricity | Included | ~€325 a year |
| Maintenance and updates (4 hours a month at €40) | Included | €1,920 a year |
| Three-year total | €16,460 | €15,235 |
The electricity line assumes the server averages 400 W for 10 hours a day on 250 working days (1,000 kWh) and 100 W the rest of the year (6,260 hours, 626 kWh). That is 1,626 kWh a year, about €325 at an assumed €0.20 per kWh.
On paper the two are roughly level, and the own server is about €1,200 cheaper over three years. But it runs a smaller model, has no service-level agreement, and depends on someone actually doing those four hours a month. Choose self-hosting for control over the data and the duty of secrecy, not to save money.
GDPR: what self-hosting changes, and what it does not
Running the model yourself removes one recipient of the data. It does not remove your obligations under the GDPR.
Controller, processor and the Article 28 contract
Your business decides why and how the data is processed, so it is the controller. A cloud AI provider that processes data on your behalf is a processor, and Article 28(3) requires that processing to be governed by a contract that, among other things, limits the processor to your documented instructions. The same applies closer to home: if an IT company, or we, maintain your on-prem server remotely, they will usually be a processor too and need the same kind of contract. Article 32 security duties apply whichever option you choose.
International transfers and the EU–US Data Privacy Framework
Sending personal data outside the EU is a transfer under Chapter V of the GDPR. Since the Commission’s adequacy decision of 10 July 2023, personal data can flow to US companies that participate in the EU–US Data Privacy Framework (European Commission). The EU General Court dismissed a challenge to it on 3 September 2025, and the challenger appealed to the Court of Justice on 31 October 2025 (WilmerHale). At the time of writing we found no judgment on that appeal. Two earlier EU–US arrangements were struck down, so check that a US provider is certified, ask which sub-processors and regions it uses, and keep standard contractual clauses in place as a fallback.
Health data in clinics (Article 9)
Data concerning health is a special category. Article 9 prohibits processing it unless an exception applies, such as the provision of health care by or under the responsibility of a professional bound by secrecy (Article 9(2)(h) and 9(3)). A data protection impact assessment is required in some cases, for example large-scale processing of special categories (Article 35), and is good practice for any AI that reads patient records. Our guide to clinic websites in Greece explains why the website itself should collect as little health data as possible.
Professional secrecy for doctors and lawyers
Greek doctors must keep strict confidentiality under Article 13 of Law 3418/2005, the Code of Medical Ethics, and lawyers under Article 38 of Law 4194/2013, the Code of Lawyers. Whether a cloud processor under a strict contract is compatible with those duties for your kind of files is a question for your lawyer and your professional association. Keeping the most sensitive files in-house is often simply easier to defend.
The EU AI Act, briefly
The AI Act’s obligations for general-purpose AI models have applied since 2 August 2025 (European Commission), and they fall mainly on the providers who develop and release those models. A business running an existing model for its own work is usually a deployer, with duties that depend on the use, from telling people they are talking to an AI to much more in high-risk areas such as hiring. Our AI guide for small businesses covers the timeline.
Decision table: which option fits
| Your situation | Start with |
|---|---|
| Public or non-personal text: marketing copy, general questions | Public cloud AI on a business plan |
| Ordinary personal data: hotel guests, orders, HR admin | EU-hosted or enterprise cloud AI with a DPA, EU processing and no-training terms |
| Health data, client legal files, payroll at volume | Self-hosted, or EU-hosted under strict terms; decide with your DPO or lawyer |
| A narrow, repetitive task: classify, extract, redact | A small self-hosted model on modest hardware |
| You need the best drafting and reasoning quality | Enterprise cloud AI, with personal data removed first |
| Nobody can look after a server | Cloud, or a managed EU host running open-weight models for you |
Checklist before you decide
- Write down the task and the categories of data involved.
- Ask whether the model needs personal data at all, or only the text around it.
- For a cloud option, read the contract: DPA, region, retention, training, sub-processors and transfers.
- For an open-weight option, read the licence of the exact model and version.
- Benchmark both on your own examples (next section).
- Size the hardware from the model that passed, not the other way round.
- Name the person responsible for updates, backups and access.
- Record the decision in your record of processing activities, with an impact assessment where required, and ask your DPO.
Benchmark on your own tasks before you buy hardware
Public leaderboards measure someone else’s questions. You need to know whether a model reads your documents correctly, and a small test answers that before you spend thousands on hardware:
- Collect 100–200 real examples, anonymised, each with the correct answer.
- Agree the pass mark in advance, for example a minimum share of documents classified correctly.
- Run two or three open models of different sizes, on a laptop or a rented EU GPU server, plus one cloud model as a reference.
- Test in Greek, with your own documents, not translated samples.
- Measure accuracy, time per document and the kinds of mistakes, not only the average.
- Buy hardware for the smallest model that passes.
- Re-run the same test whenever you change the model or its version.
When the output is a label or a set of fields, the results form a table you can score. That is where orya-benchmark-pack, our toolkit for baselines and structured comparisons on tabular datasets, and orya-eval, our evaluation layer that compares runs, catches regressions and applies thresholds, come in.
What a private AI setup costs
Hardware is bought in your name and listed separately. Our Data and ML packages start with Insight from €1,200 (a data audit and cleanup, a dashboard and written findings), which is a good size for a benchmark like the one above. Automation from €3,500 puts one model to work, such as document reading, built into your existing tools with its accuracy tracked. ML system from €9,000 covers custom models, pipelines and retraining, monitoring and documentation. Every project gets a fixed written quote.
How Orya One can help
At Orya One we build AI, data and machine learning systems and custom software for businesses across Greece, and you talk directly to the person who writes the code. We start with your task and your data, test before anyone buys hardware, and will tell you if an EU-hosted service under a good contract is the better answer. When we build, you get GDPR by design, documentation and full ownership of the code.
If you run a clinic, an accounting office, a law firm, a hotel or a factory and want AI without sending sensitive files where they should not go, tell us about the task. A short description and a couple of anonymised examples are enough to start, and we will tell you honestly which of the three options fits.
About the author
Dimitris Kampouridis · Founder, Orya One
Dimitris Kampouridis founded Orya One in 2026 in Paralia Katerinis, Pieria. He is a computer scientist and data scientist, with a BSc (University of Sheffield) and an MSc (University of York), and writes the code of every project himself.
More about Orya OneFrequently asked questions
Can I use cloud AI with client or patient data under the GDPR?
Often yes, on the right terms. Use a business or enterprise plan with a data processing agreement under Article 28, processing in the EU where possible, and terms that exclude training on your data and limit retention. Check transfers outside the EU, minimise what you send and record the decision. Health data and data covered by professional secrecy need extra care, so ask your DPO or lawyer.
What does open-weight mean, and is it the same as open source?
An open-weight model is one whose trained weights you can download and run yourself. Open source in the Open Source Initiative’s sense also requires the training code and detailed information about the training data, which most popular models do not publish. Licences differ: some models use Apache 2.0, others custom licences with user thresholds, attribution rules or use policies. Check the licence of the exact model and version.
What hardware do I need to run an LLM on my own server?
It depends mainly on model size and quantisation. A rough rule is 2 GB of memory per billion parameters at 16-bit, about half that at 8-bit and about a quarter at 4-bit, plus headroom for context. A small 3–8B model at 4-bit fits on a desktop graphics card; 30B-class models need 24–32 GB or more; 70B and larger need multiple GPUs, a large unified-memory machine or a server.
Is a local model as good as ChatGPT or other cloud models?
Not across the board. Models that fit on a small server are usually behind the largest cloud models on complex reasoning and polished writing, especially outside English. For narrow tasks such as classification, extraction, summarising and answering from your own documents, a smaller model is often good enough. Test on your own examples before deciding.
Is running AI on-premise cheaper than the cloud?
Not automatically. You avoid subscription or usage fees but pay for hardware, power, updates, security, backups and someone responsible for the server, and you usually run a smaller model. In our illustrative example for a 12-person office, three-year costs were roughly level. Choose self-hosting for control over sensitive data, not mainly to save money.
