A hybrid architecture combines local models and cloud services, routing each request to one or the other depending on how sensitive the data is.
In a hybrid architecture you do not choose a single solution for everything. An intermediate layer classifies the document, anonymises what is needed and decides the destination: the local model for the most sensitive data, the cloud service for generic or already pseudonymised texts.
This approach combines the advantages of both worlds: the quality of large cloud models and the control of in-house processing. It reduces transfers abroad and the amount of data disclosed to third parties, which makes the impact assessment easier.
A concrete example: entity recognition and replacement with placeholders take place locally; the pseudonymised text goes to the cloud for drafting; the answer comes back to the company, where the placeholders are filled in again using the mapping table. Identity documents always stay out of the cloud flow.
See also: Local or on-premise AI, Cloud AI, Pseudonymisation, Mapping table
General information, not legal or tax advice on your specific case.