H-Studio logo
ai automation · 28 January 2025 · 5 min

Local AI vs Cloud AI: GDPR and Deployment Decisions for German Companies

Compare local and cloud AI using data flows, access controls, evaluation results and total operating cost, with a practical contract-assistant example.

Author
Anna Hartung
  • ai
  • gdpr
  • compliance
  • germany
  • data-protection
  • eu-ai-act

A padlock resting on a keyboard

A German company wants to add AI to customer support. One option sends selected messages to an external model API. Another runs an open-weight model in a controlled environment. Both can fail the requirements review: the API may retain data the company cannot share; the local installation may expose documents through an unrestricted retrieval index.

The deployment decision needs two separate answers: which data may reach which service, and which system performs the task reliably enough? A local model is not automatically compliant, and a cloud model is not automatically unsuitable for personal data.

Define the deployment model precisely

“Local” can mean a model on an employee laptop, a server in the company's data centre, or a dedicated deployment operated by a hosting provider. These setups have different administrators, network paths, update mechanisms and recovery responsibilities. Write down the actual arrangement instead of treating the label as a guarantee.

For a cloud API, specify the contracted service and configuration. A consumer chat account and an enterprise API from the same supplier can have different terms, retention settings and administrative controls. Verify the version you will actually use.

QuestionEvidence to request for either model
What leaves the application?Sample request, attachments, retrieval context and metadata
Who can access it?Application roles, operators, support access and subprocessors
Where is it retained?Prompt history, application logs, vector index, provider logs and backups
Is it used for training?Applicable contract, product terms and enabled settings
How is access revoked?Identity removal, retrieval permissions and credential rotation
Who maintains the service?Named owner for updates, incidents, capacity and recovery

A worked example: answering questions about customer contracts

Consider a fictional supplier portal. Staff want an assistant that finds notice periods in uploaded contracts. The result is a draft for a human reviewer; the assistant cannot cancel a contract or send a message to a customer.

Start with an approved test set containing representative documents, ambiguous clauses and documents the test user must not access. Remove unnecessary personal information where the task allows it. Keep the original permission boundaries: retrieval must filter by the requesting user's authorised customer and document scope, not simply search every embedding in a shared index.

Now test both deployment options against the same cases. Record correct answers with their supporting passages, unsupported answers, appropriate refusals, response time and cost. A smaller local model that misses exceptions may be unsuitable even if it fits the hosting requirement. An accurate external model may be unsuitable if its contractual data handling cannot meet the approved requirements.

The useful output is a decision record: tested model and configuration, permitted document classes, unresolved failures, human review step and approved operating boundary. “The demo worked” does not establish that boundary.

GDPR assessment follows the processing, not the model label

Identify the purpose, lawful basis, controller/processor roles, information duties and relevant rights. Where a provider processes data on your behalf, assess the necessary processing agreement. Consider a data protection impact assessment where the processing is likely to create high risk. These questions still exist when inference runs on your own server.

If personal data is made available to another organisation outside the EEA, assess the applicable transfer conditions as well. The EDPB's transfer guide explains this additional layer. An EU hosting region alone does not answer questions about separate recipients, remote support or onward processing. Equally, provider ownership alone is not a complete legal assessment or a guarantee that access is impossible.

Keep the AI Act assessment separate: intended use, organisational role and applicable obligations matter. Hosting a model locally does not settle that classification. For user-facing disclosures, see the Article 50 checklist; it addresses transparency rather than certifying the whole system.

Compare total operating cost

For an API, model a normal month and a peak month using representative input/output lengths, retrieval requests, retries and any retained storage. For a local deployment, include available capacity, hardware or hosting, idle time, patching, monitoring, backup and operator time. Neither token pricing nor a GPU rental quote is the whole cost.

Measure completed, accepted tasks as well as requests. A cheaper model that creates more manual correction can have a higher cost per useful answer. Record quality and cost together before committing to either setup.

Use a hybrid only where the boundary can be enforced

A hybrid might keep confidential contract retrieval in a controlled deployment while using an external service for public product descriptions. Enforce that routing in the application, with explicit permitted inputs and tests. Do not rely on a prompt asking the model to avoid sending confidential information.

Include failure behaviour in the design. If the local model is unavailable, an automatic fallback to a public API would change the approved data flow. A queue or manual workflow may be the appropriate fallback instead.

Before launch, test deletion across application storage and retrieval indexes, permission changes, provider failure and a model update against the evaluation set. Keep the remaining risks and accepted limitations visible to the responsible business and privacy owners.

H-Studio helps implement AI workflows and their access, retrieval and operating controls. The starting point is a bounded use case and verifiable data flow; the model choice follows the evidence.

Keep reading

More from the engineering stream.

  1. Post · 001
    05 Nov 2026

    B2B Website Relaunch: Write a Brief and Compare Proposals

    An editable briefing template, a worked B2B example and a proposal matrix to clarify scope, responsibilities and acceptance before a website relaunch.

    Read post
  2. Post · 002
    23 Jul 2026

    EU AI Act Article 50: Product Transparency Checklist

    Article 50 implementation after 2 August 2026: AI disclosures, marking, human review and versioned release evidence for product teams.

    Read post
  3. Post · 003
    16 Jun 2026

    Fintech Engineering Partners: Scope, DORA and Operational Evidence

    How to assess a fintech engineering partner: applicable responsibilities, BAIT/DORA transition, incident processes, data flows and technical handover.

    Read post
All posts →
Get started ·  011

Let’s build what
moves you forward.

From product idea to production system — we help you define, build and hand over software your team can run.

Studio
H-Studio Berlin
Senior delivery · DACH region
Contact
hello@h-studio-berlin.de
+49 176 41762410
Office
Pappelallee 64
10437 Berlin