The EU AI Act and the GDPR for private LLMs: what engineers have to build
Most of what the law asks of a company chatbot turns into ordinary engineering: a line in the interface, a filter in front of the logs, a retention job, a region setting and a record of who did what. This page lists the rules with their official dates and sources, then shows the design that meets them when you run an open model yourself.
It is written for engineers, not lawyers. Every rule below links to the official text, and the design choices are labelled as our engineering advice.
What does a private LLM chatbot need to meet the EU AI Act and the GDPR?
For a typical company assistant that is not used for a high-risk purpose such as hiring or credit scoring, build four things. First, tell users they are talking to an AI, which Article 50 of the AI Act has required since 2 August 2026. Second, keep personal data out of prompts, logs and stored conversations unless you need it, and delete it on a schedule, as GDPR Articles 5 and 25 ask. Third, do a data protection impact assessment before launch when the processing is likely to be high risk (Article 35). Fourth, keep the model, the vector store and the logs in a region and with processors that make every transfer lawful. If your use is high-risk under Annex III, those extra rules now apply from 2 December 2027.
Article 50
Users must be told they are talking to an AI. In force since 2 August 2026, not delayed.
High-risk moved
Annex III rules now start on 2 December 2027, after the 2026 Digital Omnibus.
Logs hold data
Prompts and answers are personal data when they name a person. Redact before you store.
Region matters
Self-hosting keeps every step where you choose. That is the main reason teams do it.
If this helped, the full course goes much deeper.
In it, you serve open models on rented NVIDIA GPUs, measure their speed and cost, and learn what it takes to run them yourself in the region you choose.
From Europe you pay in US dollars, by card or PayPal. Your bank converts the amount to euros, pounds, francs or kronor at its own rate.
The AI Act timeline, with the dates in force today
The AI Act applies in stages. In 2026 the Digital Omnibus on AI changed two of the stages, so check the date of anything you read about it. The table shows the dates in force now.
The AI Act was published in the Official Journal on 12 July 2024 and entered into force on 1 August 2024. Its bans on prohibited practices and its AI literacy duty have applied since 2 February 2025, and the rules for general-purpose AI models since 2 August 2025.
Source: European Commission: AI Act, read 20 November 2026The Digital Omnibus on AI, Regulation (EU) 2026/1744, entered into force on 27 July 2026. It moved the rules for high-risk systems listed in Annex III, such as AI used in hiring or credit scoring, to 2 December 2027, and for high-risk AI inside products covered by Annex I to 2 August 2028.
Source: Regulation (EU) 2026/1744, the Digital Omnibus on AI, Official Journal, 24 July 2026The Commission's news item of 27 July 2026 says: "On 27 July 2026, the AI Omnibus enters into force across the EU".
Source: European Commission: the AI Omnibus enters into force, 27 July 2026
| Date | What applies | Source |
|---|---|---|
| 1 August 2024 | The AI Act enters into force | Regulation (EU) 2024/1689, Article 113 |
| 2 February 2025 | Prohibited AI practices and the AI literacy duty | Article 113(a) |
| 2 August 2025 | Rules for general-purpose AI models, and governance | Article 113(b) |
| 2 August 2026 | Most of the Act, including Article 50 transparency | Article 113 |
| 2 December 2026 | New bans on AI that makes non-consensual intimate images, and machine-readable marking for generators already on the market | Regulation (EU) 2026/1744 |
| 2 December 2027 | High-risk systems listed in Annex III, such as AI used in hiring or credit scoring | Regulation (EU) 2026/1744 |
| 2 August 2028 | High-risk AI inside products covered by Annex I | Regulation (EU) 2026/1744 |
What the AI Act asks of an ordinary company assistant
For an assistant that answers customers or staff, and is not used for a high-risk purpose, the AI Act's main duty is transparency. In engineering terms, that is a clear notice the user sees at the first interaction, not a sentence buried in the terms.
Two other duties are worth knowing. Staff who build and run the system should understand it, which the Act calls AI literacy; after the 2026 changes this is a duty to support that learning, not to guarantee a level. And if you build on a general-purpose model, its provider carries the model rules, while you carry the rules for your system.
Article 50 says a system that talks directly to people must be designed so that they are told they are interacting with an AI system, unless that is obvious from the context. This has applied since 2 August 2026, and the Omnibus did not delay it.
Source: AI Act Service Desk: Article 50, read 20 November 2026Article 4, as amended in 2026, says providers and deployers shall take measures to support the development of AI literacy of their staff, and that this does not require them to guarantee any specific level of AI literacy of any individual.
Source: AI Act Service Desk: Article 4, read 20 November 2026The General-Purpose AI Code of Practice was published on 10 July 2025, with chapters on transparency, copyright, and safety and security. The Commission and the AI Board call it an adequate voluntary tool.
Source: European Commission: the General-Purpose AI Code of Practice, updated 7 October 2026
The GDPR articles that shape a private LLM
The GDPR does not mention language models, but five of its articles decide most of the design. Read each one as a requirement on your system.
Article 35(1) says that where processing, in particular using new technologies, is likely to result in a high risk to people's rights and freedoms, the controller shall carry out an impact assessment before the processing.
Source: Regulation (EU) 2016/679, the GDPR, Official Journal, 4 May 2016The European Data Protection Board said in December 2024 that for an AI model to count as anonymous, it should be very unlikely to identify, directly or indirectly, the people whose data was used to create it.
Source: EDPB: Opinion 28/2024 on AI models, 18 December 2024
| Article | What it says, in short | What you build |
|---|---|---|
| 5(1)(c) and 5(1)(e) | Collect only the personal data you need, and keep it no longer than necessary | Redaction before prompts and logs, and a job that deletes stored conversations on a schedule |
| 25 | Protect data by design, for example by pseudonymisation | Replace names and IDs with tokens before text reaches the model or the vector store |
| 28 | Use only processors that give sufficient guarantees | A signed processing agreement with every cloud and GPU provider in the request path |
| 35 | Assess the impact first when processing with new technology is likely to be high risk | A written assessment of what data flows where, done before launch |
| 44 and 46 | Transfer personal data outside the EU only under the conditions of Chapter V | Pin the model, the embeddings and the logs to a region, or rely on an adequacy decision or safeguards |
If this helped, the full course goes much deeper.
In it, you serve open models on rented NVIDIA GPUs, measure their speed and cost, and learn what it takes to run them yourself in the region you choose.
From Europe you pay in US dollars, by card or PayPal. Your bank converts the amount to euros, pounds, francs or kronor at its own rate.
Sending data to a US model API, or keeping it in Europe
Calling a model hosted in the United States is a transfer of personal data whenever a prompt contains it. The EU-US Data Privacy Framework makes that lawful for certified US companies today, and the EU General Court upheld it in 2025. An appeal is pending at the Court of Justice, and we know of no ruling yet, so many teams keep a plan for serving inside Europe.
Serving an open model yourself, on GPUs in an EU region, removes the transfer question for the model step. It does not remove the other duties: you still redact, delete on schedule and keep an audit trail.
The European Commission adopted its adequacy decision for the EU-US Data Privacy Framework on 10 July 2023.
Source: European Commission: EU-US data transfers, read 20 November 2026On 3 September 2025 the EU General Court dismissed the action for annulment in Latombe v Commission, confirming that the United States ensured an adequate level of protection when the decision was adopted.
Source: Court of Justice of the EU: press release 106/25, Latombe v Commission, 3 September 2025
The design that meets these rules, step by step
This is our engineering advice, not a legal requirement word for word. It is the design we teach for a private assistant that must keep data in the EU.
Step 1, the notice: the chat window says, before the first answer, that the user is talking to an AI. Step 2, the gate: a filter in front of the model finds names, emails, account numbers and IDs and replaces them with tokens, keeping the mapping in a separate store that only the answer step can read. Step 3, the model: an open model served on GPUs in an EU region, with the vector store and the logs in the same region. Step 4, the logs: store the tokenised text, never the raw text, and delete conversations after a fixed number of days. Step 5, the trail: record which documents each answer used and which tools an agent called, so you can answer a regulator or a user who asks.
A worked example of why the gate matters. Say an assistant handles 20,000 conversations a day and 1 in 10 contains a customer's name or account number. Without redaction, a 90-day log keeps about 180,000 conversations with personal data in them. With redaction before storage, it keeps none in readable form, and deleting a user's data means deleting one row in the mapping store.
Build the notice, the redaction gate, regional serving, retention and the audit trail before launch. Adding them later means re-processing every log you already stored.
Switzerland and the UK
Neither country is in the EU, so the EU AI Act applies there only to products placed on the EU market or used in it. Each has its own data protection law, and both have said plainly that it applies to AI.
The Swiss data protection commissioner says the Federal Act on Data Protection, in force since 1 September 2023, is directly applicable to AI-supported data processing, that users have a legal right to know whether they are talking to a machine, and that high-risk cases need an impact assessment.
Source: Swiss FDPIC: current data protection law is directly applicable to AI, 8 May 2025Switzerland added the United States to its list of countries with adequate protection for certified companies under the Swiss-US Data Privacy Framework, in force from 15 September 2024.
Source: Swiss Federal Council: Swiss-US Data Privacy Framework, 14 August 2024The UK Information Commissioner's Office says: "There is no 'AI exemption' to data protection law."
Source: UK ICO: generative AI, tackling misconceptions, read 20 November 2026
Questions people ask
Is my company chatbot a high-risk AI system?
Usually not. High-risk systems are the ones listed in Annex III, such as AI used to recruit people or score their credit, and AI inside regulated products under Annex I. A support or internal knowledge assistant is normally not one of them, but check your use with your data protection officer.
When do I have to tell users they are talking to an AI?
Now. Since 2 August 2026, Article 50 of the AI Act requires it, unless it is obvious from the context. The 2026 Digital Omnibus did not delay this rule.
Did the EU delay the AI Act?
Partly. The Digital Omnibus on AI, in force since 27 July 2026, moved the high-risk rules to 2 December 2027 for Annex III and 2 August 2028 for Annex I. The rest of the timeline, including transparency, stayed as it was.
Does self-hosting a model make it GDPR compliant?
No. It keeps the model step inside the region you choose, which helps with transfers. You still need to minimise data, delete it on schedule, protect it by design and assess the impact.
Is this legal advice?
No. It is a summary for engineers with links to the official texts. For a decision about your product, ask your data protection officer or a lawyer.
Every source on this page was read on 20 November 2026. Plans, rules and numbers change, so check the linked page before you rely on one.
If this helped, the full course goes much deeper.
In it, you serve open models on rented NVIDIA GPUs, measure their speed and cost, and learn what it takes to run them yourself in the region you choose.
From Europe you pay in US dollars, by card or PayPal. Your bank converts the amount to euros, pounds, francs or kronor at its own rate.