For sensitive documents, the choice between on-premise and cloud AI comes down to three questions: who can read the cleartext, under which country's law, and for how long. Cloud processing can be lawful under the GDPR when the provider works as a processor under a data processing agreement, the data stays in the EEA or is transferred on a valid basis, and security fits the risk. On-premise removes the outside processor, but moves the whole security and operations burden to you. Neither is safe by default.
This piece walks through the legal inputs (transfers, NIS2 and, in Norway, the Security Act), the cost lines that are usually left out, and a short set of questions that settles most cases.
The question that matters: who can read the cleartext
An AI model has to read a document to find what is in it. Encryption protects the file on the way and at rest, but at the moment of processing the text is in the clear in someone's memory. So the useful questions are concrete:
- Which organisation runs the machine that reads the text?
- In which country is it, and under which laws can that organisation be compelled to hand data over?
- What is kept afterwards, where, and for how long?
- Is the data used for anything else, such as training models?
The answers decide your GDPR analysis far more than the words "cloud" or "on-premise".
Transfers after Schrems II
In Schrems II (2020), the Court of Justice of the EU struck down the EU-US Privacy Shield and confirmed that standard contractual clauses remain usable, provided the exporter assesses whether the law of the destination country undermines them and adds supplementary measures where needed.[1]
The EDPB's Recommendations 01/2020 describe what such measures can achieve.[2] Encryption with keys held only in the EEA can work for data that the recipient merely stores. Pseudonymised data, where the key stays in the EEA, can work too. But for a provider that needs the data in the clear to process it, in a country whose authorities can demand access beyond what is necessary in a democratic society, the recommendations found no effective technical measure (use case 6). AI processing of documents usually needs the clear text.
Two things have changed the picture since:
- The EU-US Data Privacy Framework. In July 2023 the European Commission adopted an adequacy decision for US companies certified under the framework.[3] Transfers to a certified company can rely on it without a separate transfer impact assessment. In September 2025 the EU General Court dismissed a challenge to the decision in Latombe v Commission;[4] Latombe has appealed to the Court of Justice (C-703/25 P); the decision stays in force while the appeal is pending, and a future ruling could change the position. Adequacy decisions also apply in Norway, through the EEA Agreement.
- Enforcement is real. In May 2023 Meta was fined 1.2 billion euros after an EDPB binding decision on its EU-US transfers.[5]
A data centre in the EEA run by a company with a US parent is a separate question: the data is not transferred in the usual sense, but organisations still weigh whether foreign law could compel access. Treat it as part of your risk assessment, not as a box ticked by the region alone.
NIS2: your suppliers are part of your security
NIS2, the EU's cybersecurity directive, covers essential and important entities in sectors such as health, energy, transport, banking, digital infrastructure and public administration.[6]
Two articles matter here:
- Article 21 requires risk-management measures, including the security of the supply chain and of the relationship with each direct supplier and service provider. A cloud AI provider is such a supplier, and assessing it is your duty.
- Article 23 sets the reporting clock for significant incidents: an early warning within 24 hours of becoming aware, an incident notification within 72 hours, and a final report within one month of the incident notification.
Your clock starts when you become aware of the incident. That makes the supplier's obligation to tell you quickly a contract term worth negotiating. On-premise does not remove the duty; it moves the detection and response work to your own team.
NIS2 is not yet part of the EEA Agreement. In Norway, the Digital Security Act (digitalsikkerhetsloven), in force since 1 October 2025, applies today, so check which applies to you.
Norway: the Security Act
The Norwegian Security Act (sikkerhetsloven) sets its own rules for classified information and for information systems that matter to national security.[7] If your documents fall under it, its requirements and the guidance of the Norwegian National Security Authority (NSM) come before any choice of AI service. Most personal data in ordinary case work does not fall under the Act, but defence suppliers and parts of the public sector should check before they choose.
The cost lines that are usually left out
Price per document is the visible cost. These are the others:
- Operations. On-premise means hardware or capacity, patching, monitoring, backups and on-call staff. A service bundles that into its price, and the quality of that work becomes the provider's.
- Keeping models current. Detection models improve. On-premise, updating them is your project; as a service, it happens on the provider's schedule, which you do not control.
- Assessments. Every provider that processes personal data needs a data processing agreement, a security review and, where data leaves the EEA, a transfer assessment. Fewer, better-documented providers mean less of this work.
- Exit. Services change prices, models and terms. Ask how you get your data and configuration out, and what happens to your data when you leave.
Four questions that settle most cases
- Does any party outside the EEA read the cleartext? If yes, you need a valid transfer basis. If you cannot document one, choose processing in the EEA or in your own environment.
- Are you an essential or important entity under NIS2 or, in Norway, the Digital Security Act? If yes, the provider's security and incident reporting become part of your own duties. Put them in the contract.
- Do the documents fall under the Security Act or a similar sector rule? If yes, those rules come first.
- Can you run it well yourself? On-premise is only safer if patching, access control, monitoring and incident response are done properly.
If the answers are "no, no, no, and not really", a well-documented service in the EEA is usually the stronger choice.
Where DeclassifAI sits
DeclassifAI, our redaction service, is a cloud service. It processes files on servers in Norway, in Microsoft Azure's Norway East region, and every resource that stores or processes documents is deployed there. Documents are not saved to a database or file storage, photos and video are deleted automatically on a fixed schedule, and files are never used to train models. Connections use HTTPS and TLS, and data at rest is encrypted with keys managed by Microsoft; customer-managed keys are not offered.[8]
Azure is operated by Microsoft, a US company, so your own risk assessment should cover that, as it would for any US cloud provider. The Security page lists what is in place and what is still in progress. For what redaction itself must achieve, see our GDPR redaction guide.
Questions
Questions and answers
- Is cloud AI allowed for sensitive personal data under the GDPR?
- Yes, if the conditions are met: the provider acts as a processor under a data processing agreement, security measures fit the risk, and any transfer outside the EEA has a valid basis, such as an adequacy decision or standard contractual clauses with a transfer impact assessment. Special categories of data also need a condition under Article 9.
- Can personal data be sent to US cloud providers after Schrems II?
- Schrems II struck down the Privacy Shield in 2020. Since July 2023, transfers to US companies certified under the EU-US Data Privacy Framework can rely on the Commission's adequacy decision, which the EU General Court upheld in September 2025; that ruling is under appeal. Transfers to others need another basis, such as standard contractual clauses with an assessment.
- Is on-premise AI always safer?
- No. On-premise removes the external processor, but your organisation then carries all of the security work: patching, access control, monitoring, backups and incident response. It is safer only if that work is done well.
- Where does DeclassifAI process documents?
- On servers in Norway, in Microsoft Azure's Norway East region. Documents are not saved to a database or file storage, photos and video are deleted automatically on a fixed schedule, and files are never used to train models.