Deploying Private LLMs in India: DPDP Act Engineering Guide
How the DPDP Act 2023 and the DPDP Rules 2025 apply to self-hosted LLM and RAG platforms, which controls answer which obligation, and what on-premises hosting does not solve.
Which DPDP Act page do you need?
- DPDP compliance audit service: you want XOOPIE engineers to audit your systems and deliver a remediation plan.
- What the DPDP Act requires of IT infrastructure: you need to understand the obligations before planning work.
- DPDP technical audit checklist: your IT team wants to self-assess, step by step.
- Private LLMs and the DPDP Act (this page): the question is specifically about self-hosted AI.
As of 11 October 2026. This is an engineering guide, not legal advice. Confirm how the DPDP Act and Rules apply to your organisation with qualified counsel, and check for later notifications by MeitY or the Data Protection Board.
- Running open-weight models on your own GPUs keeps prompts and documents inside your perimeter.
- Model size drives GPU memory: plan VRAM for weights plus context cache.
- A governance gateway gives SSO, quotas and audit logs for every request.
- Retrieval must respect document permissions or the assistant becomes a data-leak path.
Why private LLMs and the DPDP Act meet in the same project
Most enterprise LLM projects in India end up processing personal data, even when that was not the plan. Employees paste customer emails into prompts, retrieval-augmented generation (RAG) indexes HR files and support tickets, and chat logs record who asked what. Once that happens, the Digital Personal Data Protection Act, 2023 (Act No. 22 of 2023) and the DPDP Rules, 2025 apply to the AI stack in the same way they apply to any other system that processes digital personal data.
Self-hosting an open-weight model inside your own data centre or an Indian cloud region can remove a third-party model provider from the data flow. It does not, on its own, make a deployment compliant. This guide separates the obligations from the engineering controls, so architecture decisions can be traced to a specific requirement.
The timeline: what applies and when
The Government announced the notification of the DPDP Rules, 2025 on 14 November 2025 (Gazette notification G.S.R. 846(E)). Commencement is phased:
- On publication: provisions that set up the Data Protection Board and its procedures.
- After 12 months: the provisions on registration and obligations of Consent Managers.
- After 18 months (from 13 May 2027): the core Data Fiduciary obligations, including notice, consent, security safeguards, breach intimation, erasure and the additional duties of Significant Data Fiduciaries.
For a project starting now, that window is roughly the time it takes to design, build and stabilise a production AI platform. Building the controls in from the start is cheaper than retrofitting them in 2027.
DPDP obligations that touch an LLM deployment
The table below lists the obligations that most often affect an enterprise LLM or RAG platform, with the engineering question each one raises.
| Obligation | Where it comes from | What it means for an LLM stack |
|---|---|---|
| Notice | Section 5 | If personal data is used for a new purpose, such as indexing support tickets for an AI assistant, the notice to Data Principals must describe that data and purpose. |
| Lawful basis: consent or legitimate use | Sections 6 and 7 | Each AI use case needs a lawful basis. Section 7 lists certain legitimate uses (for example, specified employment-related purposes); everything else generally needs consent. Decide this per use case, not per platform. |
| Processors only under contract | Section 8(2) | A GPU cloud, managed hosting provider or model API vendor that processes personal data on your behalf must do so under a valid contract. |
| Reasonable security safeguards | Section 8(5) and Rule 6 | Rule 6 names encryption, obfuscation, masking or virtual tokens; access control; logs, monitoring and review of access; continuity measures such as backups; retention of logs for one year (unless another law requires otherwise); and security terms in processor contracts. |
| Breach intimation | Section 8(6) and Rule 7 | Inform each affected Data Principal and the Board without delay, and give the Board a detailed report within 72 hours of becoming aware of the breach (the Board can allow more time on written request). |
| Erasure | Section 8(7) | Erase personal data when consent is withdrawn or the purpose is no longer served, unless retention is required by law. In an LLM stack this reaches vector indexes, caches, prompt logs and any fine-tuning datasets. |
| Significant Data Fiduciaries | Section 10 and Rule 13 | If notified as an SDF: a Data Protection Officer based in India, an independent data auditor, a DPIA and audit once every twelve months, due diligence that algorithmic software is not likely to risk Data Principals' rights, and localisation of any personal data the Government specifies. |
| Transfers outside India | Section 16 | Transfers are permitted except to countries or territories the Government restricts by notification. Sectoral laws that give a higher degree of protection continue to apply. |
| Penalties | Section 33 and the Schedule | Up to ₹250 crore for failing to take reasonable security safeguards, up to ₹200 crore for failing to give breach intimation, up to ₹150 crore for breaching SDF obligations, and up to ₹50 crore for other breaches. |
What self-hosting solves, and what it does not
What it can solve
- Fewer processors and transfers. Running inference on hardware you control, in India, removes an external model provider from the data flow and the contract and transfer questions that come with it.
- Control over logging and retention. You decide what is logged, where it is stored and when it is deleted, which you need for Rule 6 and for erasure.
- A clear security boundary. The model, the retrieval layer and the logs sit inside your existing identity, network and monitoring controls.
What it does not solve
- Notice, lawful basis and purpose limitation. These apply to the use case regardless of where the model runs.
- Over-broad retrieval. A RAG system that ignores document permissions can show a user data they are not entitled to see. That is an access-control failure, and it can be a personal data breach.
- Prompt and chat logs. Logs that contain personal data are themselves personal data and need the same protection and retention rules.
- Erasure from derived data. Deleting a source document does not remove its chunks from a vector index or its influence on a fine-tuned model. Erasure needs a re-indexing workflow, and fine-tuning on personal data needs a decision made in advance.
- Security itself. An on-premises GPU cluster without patching, segmentation and monitoring is not safer than a well-run cloud service.
Reference architecture
The architecture below is a pattern, not a product recommendation. Each layer exists to answer one of the obligations above.
Users (SSO + MFA)
│
▼
┌──────────────────────────────┐
│ LLM gateway │ authN/authZ, per-team keys, rate limits,
│ (e.g. LiteLLM proxy) │ optional PII masking, audit logging
└──────────────┬───────────────┘
│
┌───────────┴────────────┐
▼ ▼
┌─────────────────┐ ┌──────────────────────────┐
│ Inference │ │ Retrieval (RAG) │
│ vLLM on GPU │ │ vector store + document │
│ nodes (India DC)│ │ ACL filter per user │
└─────────────────┘ └──────────────────────────┘
│
▼
Central logging / SIEM (access logs kept ≥ 1 year)
Backups · erasure and re-index jobs · DPIA evidence
- Gateway. One entry point for every application and user. It authenticates callers, applies quotas, records who called which model and can redact identifiers before a prompt reaches the model.
- Inference. An inference server such as vLLM exposes an OpenAI-compatible API on an internal network segment only. Open-weight model families commonly used for this, as of October 2026, include Llama, Qwen, Mistral and DeepSeek. Model choices age quickly; review them quarterly and check each model’s licence before production use.
- Retrieval. Store the source document’s access-control list with every chunk and filter results by the requesting user’s identity before they reach the prompt.
- Logging and evidence. Send gateway, retrieval and admin logs to the SIEM, keep them for at least the one-year period in Rule 6, and restrict who can read prompt content.
Illustrative gateway and inference configuration
Illustrative example, not tested on a specific release. The snippet shows the shape of a vLLM plus LiteLLM deployment. Flags and configuration keys change between versions, so check them against the vLLM and LiteLLM documentation for the versions you install. Keep keys in a secrets manager, never in the file.
# --- Inference node: serve an open-weight model on the internal network only ---
# (model access may require accepting the model licence first)
vllm serve meta-llama/Llama-3.3-70B-Instruct \
--tensor-parallel-size 4 \
--host <internal-interface-address> --port 8000 \
--api-key "$VLLM_API_KEY"
# --- Gateway: litellm config.yaml ---
model_list:
- model_name: internal-chat
litellm_params:
model: hosted_vllm/meta-llama/Llama-3.3-70B-Instruct
api_base: http://inference.internal:8000/v1
api_key: os.environ/VLLM_API_KEY
general_settings:
master_key: os.environ/LITELLM_MASTER_KEY # issue per-team virtual keys from this
Expected result: applications call the gateway, never the inference node directly, and every call is attributable to a team key. Rollback is a DNS or configuration change that points applications back to the previous endpoint; keep it documented before cut-over.
Mapping controls to obligations
| Control | Supports | Evidence to keep |
|---|---|---|
| Use-case register with lawful basis and notice text | Sections 5, 6 and 7 | Approved register, notice versions, consent records |
| Gateway authentication, per-team keys and quotas | Section 8(5), Rule 6 access control | Key inventory, access reviews |
| Document-level ACL filtering in retrieval | Section 8(5), breach prevention | Test results showing a user cannot retrieve restricted documents |
| Encryption at rest and in transit; masking of identifiers where practical | Rule 6 data security measures | Configuration baselines, key-management records |
| Central logging with one-year retention | Rule 6 visibility and log retention | SIEM retention settings, sample queries |
| Breach runbook with a 72-hour Board report path | Section 8(6), Rule 7 | Runbook, tabletop exercise records |
| Erasure workflow that re-indexes affected chunks | Section 8(7) | Erasure tickets linked to re-index job logs |
| Processor contracts with security terms | Section 8(2), Rule 6 | Signed contracts, security schedules |
| Annual DPIA and independent audit (if SDF) | Section 10, Rule 13 | DPIA reports, auditor reports |
Sector overlays
The DPDP Act sits alongside sectoral rules, and section 16(2) keeps laws that provide a higher degree of protection in force.
- Payment data (RBI). RBI’s circular of 6 April 2018 (DPSS.CO.OD.No 2785/06.08.005/2017-18) requires payment system providers to store the entire payment data in systems located only in India. RBI’s FAQ allows processing abroad, provided the data is brought back within one business day or 24 hours, whichever is earlier. Keep payment data out of any AI workflow that runs or logs outside India.
- SEBI-regulated entities. SEBI’s Cybersecurity and Cyber Resilience Framework (CSCRF), issued on 20 August 2024, applies to the systems of regulated entities. Treat the AI platform as an in-scope system and map it into your CSCRF controls with your compliance team.
A practical 90-day starting plan
- Weeks 1–3: build the use-case register: data categories, lawful basis, notice text, retention period and owner for each use case.
- Weeks 3–6: stand up the gateway and inference tier in a segmented network, with SSO, per-team keys and central logging from day one.
- Weeks 6–9: add retrieval with ACL filtering, then test it with accounts that should be refused.
- Weeks 9–12: write and rehearse the breach runbook and the erasure and re-index workflow, then run a DPIA-style review before wider rollout.
Sources
Primary sources used for this article (checked 11 October 2026):
- MeitY: The Digital Personal Data Protection Act, 2023 (official text)
- PIB: Notification of the DPDP Rules, 2025
- DPDP Rules, 2025: rule-by-rule text (Rules 6, 7 and 13)
- DPDP Act commencement notification and phased timeline
- DPDP Act, 2023: the Schedule (penalties)
- RBI: FAQ on Storage of Payment System Data
- SEBI: Cybersecurity and Cyber Resilience Framework (CSCRF), 20 August 2024
- vLLM documentation
- LiteLLM documentation
