LLMs and Confidential Data in Finance: Options and Obligations
Financial firms can use large language models (LLMs) with confidential data, but only on a route whose contract, data location and access rules fit the class of data involved. Four routes are common: enterprise contracts that exclude training on your data, EU data residency, models you operate yourself, and a gateway that checks, masks and logs every request. Each addresses part of the problem; none replaces data classification. The obligations most often touched are the GDPR (processor contract, impact assessment, transfers), professional secrecy where a statute imposes it, and DORA, which treats an external LLM service as an ICT third-party service. This article compares the four routes, shows which obligations they touch and offers a classification scheme that decides which data may go where (as of November 2026).
Note: This article describes the legal situation in general terms as of the date below. It is not legal or tax advice and does not replace a review of your specific case by a lawyer or tax advisor. All information without guarantee of completeness or timeliness.
Can banks and fund managers use LLMs with confidential data?
Yes, if the route fits the data. Confidential data in a financial firm ranges from client names and account details to positions, trading intentions, unpublished fund figures, internal risk reports and contract terms. The question is less “AI or no AI” than “which data, through which service, under which contract, visible to whom”.
The risk usually starts before any project: staff paste text into whatever tool is at hand. ESMA’s statement on AI in investment services explicitly covers staff using third-party AI tools such as ChatGPT with or without the knowledge and approval of senior management, and reminds firms to control such use. Germany’s financial supervisor BaFin, in its non-binding guidance on ICT risks in the use of AI (German original of December 18, 2025, English version of January 23, 2026), which is aimed mainly at CRR institutions and insurers, adds a quieter variant: a language model called from standard software, possibly without the user’s knowledge. In both cases data leaves the firm on a route nobody assessed.
A workable answer has two parts: a small number of approved routes, and a classification rule that tells staff which data may use which route.
Four ways to use LLMs with confidential data
| Route | What it addresses | What remains your job |
|---|---|---|
| Enterprise contract without training on your data | Use of inputs for model training, admin controls, data processing agreement | Retention periods, provider access for abuse review, subprocessors, permissions in your own tenant |
| EU data residency | Storage location, for some products also the processing location | Checking where inference runs, support access, subprocessors and exceptions; transfer rules for anything that leaves the EU |
| Own model, on premises or in your own cloud tenant | Data stays in infrastructure you control | Operation, security updates, capacity, model quality, skilled staff |
| Gateway in front of all models | One entry point for classification checks, masking, logging and routing by data class | Securing, testing and operating the gateway itself; it does not change vendor terms |
Vendor terms differ in details that matter. OpenAI’s enterprise privacy page states that business data from ChatGPT Business, ChatGPT Enterprise, ChatGPT Edu and the API platform is not used for training by default and that a data processing addendum is available. For the API, inputs and outputs are removed after 30 days unless OpenAI is legally required to keep them; zero data retention can be requested for eligible endpoints and qualifying use cases. Features that store data on purpose, such as uploaded files, follow their own retention rules. OpenAI’s API documentation describes data residency as a project setting for eligible organisations: customer content is stored at rest in the selected region where an endpoint needs persistence, inference also runs there if the region supports regional processing, as Europe does, and system data such as account and usage data is not covered.
For Microsoft Copilot, Microsoft states that prompts, responses and data accessed through Microsoft Graph are not used to train foundation models, and that EU traffic stays within the EU Data Boundary, except for Anthropic models used as a subprocessor. Copilot surfaces organisational data that the individual user has at least view permission for, so overly broad SharePoint or Teams permissions become an AI problem on day one.
Which obligations does an LLM project touch?
- GDPR: a provider processing personal data on your behalf is a processor. Article 28 requires processors with sufficient guarantees and a contract that covers, among other things, documented instructions, including on transfers to third countries. Where processing is likely to result in a high risk, Article 35 requires a data protection impact assessment beforehand, and transfers outside the EU need a basis under Chapter V.
- Professional secrecy, where a statute imposes it: in Germany, Section 203 of the Criminal Code makes it a criminal offence for members of listed professions to disclose, without authorisation, secrets that became known to them in that capacity, among them members of private health, accident or life insurance companies, certified public accountants and tax consultants. They may disclose such secrets to other persons involved in their work, such as service providers, only as far as necessary to use that person’s service, and they must ensure that such persons are formally obliged to secrecy. Banks and asset managers are not on that list; which other confidentiality duties apply to them is a question for legal counsel.
- DORA: a model delivered as a service is an ICT service (Article 3(21)). For confidential data, three provisions matter most: firms classify their information assets (Article 8(1)), encrypt data based on approved data classification (Article 9(4)(d)) and agree contract terms on processing and storage locations, data protection and the return of data (Article 30(2)). Articles 8 and 9 apply to firms under the full ICT risk framework; small and non-interconnected investment firms follow the simplified framework of Article 16. The register of information, due diligence and exit planning are covered in DORA and third-party AI services.
When I set up AI tools in financial firms, data classes, access rights and approved tools are agreed with information security and data protection before the first pilot. Settling this early usually saves rebuilding a pilot later.
A data classification scheme for LLM use
BaFin’s guidance calls classification “the most important basis” for secure processing and storage, because it determines how and where data may be processed, and notes that DORA requires financial entities to classify all their data. For LLM use, a four-level scheme is often enough. The table is an example, not an official scheme.
| Class | Examples | Approved LLM route (example) | Additional controls |
|---|---|---|---|
| Public | Published fund documents, approved marketing texts, public market news | Any approved tool | Check facts and sources |
| Internal | Policies, process descriptions, meeting notes without client data | Enterprise assistant with no-training terms | Single sign-on, standard logging |
| Confidential | Client and account data, contracts, internal risk reports, fund figures before publication | Enterprise service with data processing agreement and EU residency, or a model in your own tenant, via a gateway with masking | Impact assessment where required, role-based access, no personal accounts |
| Strictly confidential | Unpublished price-sensitive information, trading strategies and positions, internal investigation files, secrets under statutory secrecy | Own model in own infrastructure, or no LLM | Approval per use case, separate environment, named owners |
BaFin’s case study of an LLM-based assistant lists illustrative measures that fit such a scheme: automated detection of confidential data, a filter that checks whether input is confidential before it reaches the model, limits on uploads for certain user groups, tokenisation of sensitive data and a lower data clearance level for the assistant that users cannot exceed on their own.
How to choose the route for a use case
Three questions per use case usually settle it:
- Which data does the task really need? Summarising a contract may not need the client’s name. Pseudonymising or masking before the request often moves a use case one class down.
- Which route is approved for that class? If none is, the use case waits or the data is reduced; staff should not pick a route themselves.
- What happens to inputs, outputs and logs? Retention, provider access, fine-tuning data, logs in your own systems and deletion at the end of the contract all need an answer.
Typical example: a fund manager wants an assistant for two tasks. Summarising published broker research involves public or licensed content and runs on the enterprise assistant. Drafting client letters from account data is confidential and runs only through a service in the firm’s own tenant, with names masked by a gateway and a mandatory review before sending. Same tool family, two routes.
BaFin’s case study compares three set-ups: on premises, a model inside the firm’s own cloud tenant, and a model outside the tenant reached via API or from standard software. Its main concern with the third is that data leaves the tenant and flows to the model provider, which has to be countered by contractual and technical measures.
Limits and risks
- Permissions: an assistant connected to document stores reveals whatever access rights allow. Cleaning up permissions comes before the rollout.
- Prompt injection and connected systems: BaFin warns that malicious instructions, for example on websites, can make a model behave in unintended ways, and that API access to language models can give attackers a path to connected systems.
- Vendor changes: terms, subprocessors, data locations and models change. DORA contracts must require advance notice of location changes (Article 30(2)(b)); everything else needs monitoring.
- Own models are not automatically safer: on premises the firm carries the operational and security risk, including patching and the availability of skilled staff.
- Logs are data too: prompt logs, gateway logs and audit trails can contain the very data the rules protect.
No route makes a use case lawful by itself. Each use case needs its own assessment by data protection, information security and, where secrecy rules apply, legal counsel.
Next steps
- Find out which AI tools staff already use, including AI features in standard software.
- Adopt a classification scheme for LLM use and translate it into a one-page rule for staff.
- Approve one or two routes per class and block the rest technically where possible.
- Check contracts: data processing agreement, retention, residency, subprocessors, DORA clauses and exit.
- Clean up access rights and set up logging, ideally through a gateway if several models are used.
- Train users on the rules and pilot one use case per class before scaling.
Support with classification, route selection and pilots is part of AI consulting for financial services.
Frequently asked questions
Can banks use ChatGPT with client data?
It depends on the product and the contract, not on the brand. Consumer accounts are unsuitable for client data. Enterprise offerings come with a data processing addendum, no training on business data by default and admin controls, but retention, provider access for abuse review and data location still need checking. On top come the legal basis under the GDPR, an impact assessment where required, any statutory secrecy and the DORA register entry. Data protection and legal should confirm each use case.
Does EU data residency mean data never leaves the EU?
Not necessarily. Residency commitments often refer to storage at rest. Whether requests are also processed in the EU, which subprocessors are involved and how support staff access data differ by product. Microsoft, for example, notes that Anthropic models used as a subprocessor in its Copilot are currently excluded from the EU Data Boundary. Check the product documentation, the data processing agreement and the subprocessor list before relying on residency.
Do LLM providers train their models on enterprise data?
The large enterprise offerings state that they do not by default. OpenAI says business data from ChatGPT Business, Enterprise and the API is not used for training unless the customer opts in, and Microsoft says prompts, responses and Microsoft Graph data are not used to train foundation models. Training is only one question, though: retention periods, abuse monitoring and logs determine where the data actually remains.
Which data should never go into an external LLM?
Data classed as strictly confidential, such as unpublished price-sensitive information, trading strategies and positions, internal investigation files and secrets under statutory secrecy. For these, the usual options are an own model in the firm’s own infrastructure or no LLM at all, with approval per use case and named owners. Where a task needs only part of the data, masking or pseudonymising can move it to a lower class.
When is a self-hosted LLM the better option?
When data is too sensitive for any external route, the use case is stable and the firm has people who can run, patch and test models. BaFin’s guidance notes that on premises the firm keeps full control but bears the risks of development, operation and maintenance, including the availability of skilled staff and capacity planning. Many firms end up with a mix: external services for lower classes, own models for the most sensitive data.
Sources and status
- Enterprise privacy at OpenAI — OpenAI (retrieved November 19, 2026)
- Data residency (API documentation: regional storage and processing) — OpenAI (retrieved November 19, 2026)
- Data, Privacy, and Security for Microsoft Copilot (last updated 3 November 2026) — Microsoft Learn (retrieved November 19, 2026)
- Guidance on ICT Risks in the Use of AI at Financial Entities (German original 18 December 2025, English version 23 January 2026) — Federal Financial Supervisory Authority (BaFin) (retrieved November 19, 2026)
- Regulation (EU) 2022/2554 (DORA), Articles 3(21), 8, 9, 16, 28 and 30 — EUR-Lex, Publications Office of the European Union (retrieved November 19, 2026)
- Regulation (EU) 2016/679 (General Data Protection Regulation), Articles 28, 35 and 44 — EUR-Lex, Publications Office of the European Union (retrieved November 19, 2026)
- German Criminal Code (Strafgesetzbuch), English translation, Section 203 — Federal Ministry of Justice, gesetze-im-internet.de (retrieved November 19, 2026)
- Public Statement on the use of Artificial Intelligence (AI) in the provision of retail investment services, 30 May 2024 (ESMA35-335435667-5924) — European Securities and Markets Authority (ESMA) (retrieved November 19, 2026)
As of November 2026. Third-party rules, prices and APIs may have changed since; the providers' current documentation and the official texts are authoritative.
This article is also available in German: Sprachmodelle und vertrauliche Daten: im Finanzunternehmen.
Want to use LLMs with confidential data without improvising the rules? Get in touch — a free intro call clarifies data classes, approved routes and a first pilot. More: AI consulting for financial services.