Go to the service: Private AI (on-premises)
Local AI and GDPR: keeping data on your premises
Local AI and GDPR: when running a language model on your own server makes sense, what it changes for data protection and which duties still remain with you.
What is it about?
Many organisations want to use AI but have data protection concerns. So the question of local AI and GDPR usually comes down to this: can a language model run on your own server, so that customer data never leaves the building? The answer is yes, that is technically possible. This is called local AI: the model runs on hardware within your network rather than as a provider’s online service.
An everyday comparison: you can take files to a print shop to be copied, or put your own copier in the office. The print shop is convenient, but your documents pass through other people’s hands. Your own copier costs money to buy and maintain, but the files stay in-house. The rules for handling the files apply in both cases.
That last point matters: local AI is not a free pass. The General Data Protection Regulation (GDPR) still applies, because a local AI also processes personal data. This is general information, not legal advice.
Why does it matter for your business?
In its publication on generative AI models, the German Federal Office for Information Security (BSI) describes the risk that data entered into such models may not stay confidential. These models are often offered as online services. The provider may be able to access the data and, in some cases, use it for further training. According to the BSI, how much this matters depends, among other things, on the service’s terms of use and on the applicable data protection framework.
For your organisation, that means:
- Law and tax firms in Germany are additionally bound by professional secrecy under Section 203 of the German Criminal Code. Service providers involved in their work may only learn secrets as far as necessary and must be bound to confidentiality.
- Trade businesses handle customer addresses, quotations and building plans that should not end up in third-party hands.
- Small and medium-sized businesses hold personnel data, contracts and trade secrets that need to stay protected.
Local AI: what changes and what stays the same
Running AI locally mainly changes where the data goes. Inputs are not sent to an external AI provider. What remains are your obligations under the GDPR. The European Commission highlights principles including:
- Purpose limitation: the purpose of processing must be known and clear.
- Data minimisation: only the data necessary for that purpose.
- Storage limitation: keep data for the shortest time possible.
Then there is the data protection impact assessment (DPIA). According to the European Commission, it is required where processing is likely to result in a high risk to people’s rights and freedoms, and it should be carried out before processing begins. Whether this applies to your project is a question for your data protection officer.
Local also means that responsibility for operation and security sits with you. The server needs updates, access controls and backups like any other system.
An everyday example
Example: A fictitious tax advisory firm with eight staff wants to sort incoming client letters faster. An AI is to summarise each letter and assign it to the responsible adviser. A freely available online service is out of the question, because the letters contain tax data and names.
The solution: a language model runs on a server in the firm’s own office. Only the staff who handle incoming post have access. The AI receives only the letters, not the entire client database. Summaries are deleted once a case is closed. The firm adds the processing to its record of processing activities and discusses the project beforehand with its data protection officer.
The IT service provider looking after the server is bound by a data processing agreement and a written confidentiality undertaking. Control stays with the firm.
How we approach it
On request, our AI solutions run entirely on your own server. Your data then does not leave the building and is not used to train third-party models. Where it fits, an EU cloud is also an option. Our process:
- Review use case and data: which task, which data, how sensitive? Then we decide together: local or EU cloud.
- Choose model and hardware: the BSI recommends setting criteria for selecting a model, including the computing and storage capacity needed to run it yourself. We test suitable models with your own examples.
- Set it up securely: access only for authorised people, isolation from the internet where sensible, logging and integration into your 3-2-1 backup.
- Build in data protection: we provide the technical details you need for your record of processing activities and, where relevant, a DPIA. We sign a data processing agreement under Article 28 GDPR and, for law and tax firms, a written confidentiality undertaking under Section 203 of the German Criminal Code. The legal assessment remains with you and your advisers.
- Operate and train: updates, monitoring and a briefing for your team, for example as part of AI training for staff.
What you can do right away
- Check which AI services your team already uses and what data is entered into them.
- Read the terms of use of those services: are inputs stored or used for training?
- Define which types of data must never go into external AI services, such as client, health or personnel data.
- Talk to your data protection officer before using AI with personal data.
- Get in touch via our contact form if you would like to find out whether local AI suits your case.
Key terms
- Local AI
- An AI model that runs on hardware on your own premises or network rather than as a provider's online service.
- Personal data
- Any information relating to an identified or identifiable person, such as a name, email address or customer number.
- Data minimisation
- GDPR principle: only process as much data as is necessary for the purpose.
- Data processing agreement (DPA)
- A contract under Article 28 GDPR between you and a service provider that processes personal data on your behalf.
- Data protection impact assessment (DPIA)
- An assessment carried out before processing that is likely to pose a high risk to people's rights.
Frequently asked questions
Is local AI automatically GDPR-compliant?
No. A local AI still processes personal data, and the GDPR principles continue to apply. Running it locally can, however, reduce certain risks, such as inputs being passed to an external provider. This is not legal advice.
Is a local language model as capable as a large cloud service?
Not always. It depends on the model chosen and on the hardware. For clearly defined tasks such as summarising or sorting, a local model is often sufficient. We test this with your own examples before you decide.
Do we need our own server?
For local operation, yes, or at least suitable hardware within your own network. The computing and storage capacity required depends on your use case, which we assess with you. A quote is available on request.
Does HCP sign a data processing agreement?
Yes. If our support work brings us into contact with personal data, we sign a data processing agreement under Article 28 GDPR. For law and tax firms in Germany, we also commit in writing to confidentiality under Section 203 of the German Criminal Code.
Sources
Official sources, consulted when the article was written.
- BSI – Generative KI-Modelle: Chancen und Risiken für Industrie und Behörden (German) (opens in a new tab)
- European Commission – Principles of the GDPR (opens in a new tab)
- European Commission – Obligations (incl. data protection impact assessment) (opens in a new tab)
- Section 203 German Criminal Code (StGB) – Violation of private secrets (German) (opens in a new tab)

