Self-hosted LiteLLM for GDPR prompt logging controls

A self-hosted LiteLLM gateway gives you switches for prompt storage, message redaction, spend log retention and team-level logging, which help limit personal data in logs. The gateway does not decide your lawful basis, retention periods or transfer position, and those still need to be documented.

On this page

How a self-hosted LiteLLM gateway supports GDPR prompt logging controls

A self-hosted LiteLLM gateway gives your teams a controlled point where personal data in prompts can be limited, redacted and kept for a defined period. Its prompt storage switch, message logging controls, spend log retention and logging settings support the duties GDPR places on you as controller. The lawful basis, the retention periods and the transfer safeguards remain decisions your organization must make and document, because the gateway does not set them. Teams often assume a gateway covers compliance by default, and it does not, so this section maps each control to the GDPR articles it supports and names the areas it leaves to you.

Article 5(1)(e) requires personal data to be kept no longer than necessary for the purpose of the processing. In LiteLLM, the setting store_prompts_in_spend_logs determines whether prompt content is stored in spend logs at all, and maximum_spend_logs_retention_period deletes old spend logs on a schedule. The retention period is available in open source. Article 25(2) asks that, by default, only the personal data needed for each purpose is processed, including with respect to how long it is stored. Decide these defaults before any team sends production traffic, and confirm with your platform team which setting holds each default in the release you run.

Article 30(1)(f) expects your record of processing to state envisaged time limits for erasure where possible, so the retention value you configure should match the entry in that record. Article 32(1)(a) lists pseudonymisation and encryption among appropriate security measures. The turn_off_message_logging setting stops messages and responses from reaching logging providers while spend metadata is still tracked. A beta x-litellm-enable-message-redaction header enables redaction per request. Confirm the status of this header for your release before you rely on it as a documented control, and plan pseudonymisation as a separate design decision.

Several duties stay outside the gateway. Chapter V conditions apply whenever prompts or logs reach a provider or storage location outside the EEA, including remote access from a third country, so transfer mechanisms and supplementary measures need their own assessment. Privacy notices under Articles 13 and 14 must state storage periods or the criteria used to set them, and the lawful basis and any legal decisions about processing belong to your legal and privacy teams. DeployOpen prepares the configuration, settings evidence and documentation for these controls. It does not issue audit reports, attestations or certificates. Independent auditors and certification bodies do that work.

Mapping GDPR requirements to LiteLLM settings

This table maps five GDPR provisions and one tier question to the LiteLLM settings that support them, with the configuration each one needs. Read each row as a control, a setting and a documentation step, since LiteLLM can hold logs but cannot write your record of processing or privacy notices. The main takeaway is that minimization and retention are set in the gateway, while the legal documents must match those settings.

RequirementLiteLLM capabilityConfiguration needed
Article 5(1)(e), storage limitationSpend logs can be deleted on a schedule. Prompt content can be kept out of storage entirely.Set maximum_spend_logs_retention_period to your documented period. Confirm the deletion job runs in your deployment.
Article 25(2), minimization by default, including storage periodWith message logging turned off, spend metadata is still tracked while messages and responses stay out of logging providers.Set turn_off_message_logging to true. Set store_prompts_in_spend_logs to false unless a documented purpose needs stored prompts.
Article 30(1)(f), erasure time limits in the record of processingLiteLLM does not maintain your record of processing. It exposes the retention setting you cite in that record.Record the retention value, the log categories it covers and how you check the deletion job in your record of processing activities.
Articles 13(2)(a) and 14(2)(a), storage period in privacy noticesNo LiteLLM feature writes the notice. The configured retention period supplies the figure or the criteria the notice states.Align the storage period wording in privacy notices with the retention value and logging settings you deploy.
Article 32(1)(a), pseudonymisation and encryptionPer-request message redaction uses the beta x-litellm-enable-message-redaction header.Send the beta redaction header and test it on sample personal data. Confirm with the vendor which fields it covers. Encrypt database storage and transport under your own controls.
Per-team logging scope for minimizationLiteLLM's enterprise documentation lists per-team logging as an Enterprise feature.Confirm with LiteLLM which tier includes it before you design team-level logging rules.

How prompt storage, redaction and spend log retention limit personal data in LiteLLM

Three separate data flows in a self-hosted LiteLLM gateway need their own controls, and treating them as one leads to gaps in your records. The first is the message and response content sent to logging callbacks, which are the external logging providers you connect. The second is prompt content stored in spend logs in your database. The third is spend metadata, such as key, team, model and cost figures, which LiteLLM keeps so that budgets and rate limits work. The setting turn_off_message_logging stops messages and responses from reaching logging providers, but spend metadata is still tracked. Map each flow to a named setting in your own configuration, then confirm in a test environment which fields each one writes for your LiteLLM version.

The store_prompts_in_spend_logs setting decides whether prompt content is stored at all. If your team needs cost attribution and usage history but has no documented purpose that requires the text of prompts, turning this off means there is nothing to redact or delete later. This is the strongest data minimization option available, and it follows the default-protection idea in Article 25(2), which requires that only the personal data necessary for each purpose is processed, including its storage period. The trade-off is that incident investigation and quality review lose access to prompt text. The decision belongs to the data owner and the privacy lead together, and the reason for it should be written down before the setting is changed in production.

The beta redaction header, x-litellm-enable-message-redaction, lets a calling application request redaction on each request. Because the control sits with the caller, a missing or misconfigured header means that request is handled without redaction. Plan for this by setting redaction at the level of client libraries or internal SDK wrappers, and by testing a sample of requests to confirm what is actually stored and sent to logging providers. Since the feature is in beta, do not cite it as a control in your record of processing until your own tests show consistent behavior on your version. Review the release notes at each upgrade, because beta behavior can change between releases.

Scheduled deletion of old spend logs, configured with maximum_spend_logs_retention_period, applies the storage limitation principle in Article 5(1)(e), which says personal data should be kept only as long as necessary for the purpose. Choose the period from the documented purpose of each log category, then write it into the record of processing as the envisaged time limit for erasure under Article 30(1)(f). Privacy notices must state the storage period or the criteria used to set it, under Articles 13(2)(a) and 14(2)(a). Verify that the deletion job runs, check its logs, and confirm that database backups and any logging provider copies follow the same retention rule, because a deletion schedule in the gateway does not reach those copies on its own.

Before relying on these controls, run a short evidence exercise in staging. Send test prompts that contain clearly fictional personal data, then check the database, the logging provider and the backup restore path for each one. Export the relevant configuration, record the LiteLLM version tested, and note which features are beta. Ask your LiteLLM partner or the vendor to confirm the behavior of each setting for the version you will run. Keep the results with the record of processing so that a reviewer can see the configuration, the chosen periods and the test outcomes together. Repeat the exercise after each upgrade, since a change in version can change what is written where.

Configuring LiteLLM for GDPR prompt logging controls

This sequence sets the LiteLLM gateway so that personal data in prompts is limited to what each team needs and is kept for a defined period. Each step ends with a check and a saved record that can support your records of processing.

  1. Define permitted personal data per team

    The data protection lead and each team lead complete a written register before any configuration changes. For each team, the register lists the categories of personal data that may appear in prompts, the categories that must never appear, the purpose the team's use serves, and the virtual keys and models the team will use. The owner approves the register. Done when every planned key has an entry and the approved register is filed with the records of processing. Save the signed register and the purpose statements as evidence.

  2. Turn off prompt storage in spend logs

    The platform engineer sets store_prompts_in_spend_logs in the proxy configuration so prompt content is not written to spend logs by default. Any exception must be documented in the register and approved separately. Verify the setting by sending a test request through a test key, then querying the spend log table in PostgreSQL to confirm that no prompt text is stored while spend metadata still appears. Save the configuration file under version control, the commit identifier, and the query output.

  3. Configure message logging and redaction

    The platform engineer sets turn_off_message_logging so that messages and responses do not reach external logging providers, while spend metadata continues to be tracked. If the team also needs per-request redaction, it uses the x-litellm-enable-message-redaction header, which LiteLLM documents as beta, so confirm its status in the release you run before relying on it. Verify by sending a test prompt with dummy personal data and inspecting each configured logging destination. Save the configuration, the list of logging destinations, and the captured results.

  4. Set spend log retention period

    The platform engineer sets maximum_spend_logs_retention_period to a value that the data protection lead has justified under the storage limitation principle in Article 5(1)(e). The justification memo records the purpose, the criteria used, and how the value matches the storage period stated in privacy notices under Articles 13(2)(a) and 14(2)(a). Verify the deletion schedule in a test environment by confirming that logs older than the configured period are removed. Save the approved value, the memo, and the deletion test output.

  5. Restrict team keys and logging scope

    The platform engineer creates one virtual key per team and limits each key to the models listed in the register, with budgets and rate limits set for that team. Virtual keys require a PostgreSQL database. Team-level logging and guardrails are listed among LiteLLM Enterprise features, so confirm with the vendor and with DeployOpen whether your edition provides per-team logging controls. If it does not, document the workaround you choose, such as separate deployments per team. Verify that a key cannot call a model outside its list. Save the key policy export and the logging scope decision.

  6. Store the master key in a secret manager

    The platform engineer stores LITELLM_MASTER_KEY, which must start with sk-, in a secret manager and removes it from configuration files, environment files, and container images. Access is limited to named operators and rotation follows a documented procedure. For multi-instance deployments, Redis 7.0 or newer provides shared state for rate limits and router state, so every proxy instance applies the same controls. Verify by searching the configuration and images for the key and reviewing secret access logs. Save the secret manager policy, the access review record, and the Redis version in use.

  7. Test each setting with dummy personal data

    The test lead sends illustrative prompts containing invented personal data, such as fictional names, email addresses, and account numbers, through each team's key. The test checks spend logs, every external logging destination, and the redaction result against the register. Each setting receives a pass or fail record, and any failure is fixed and retested before go-live. Repeat the same tests after every upgrade. Save the test scripts, sample prompts, outputs, and pass or fail records, and reference them in the record of processing activities, including the time limits required by Article 30(1)(f).

Evidence to keep for auditors and supervisory authorities

The GDPR does not require an audit, attestation or certificate for this work. Its accountability principle means the controller must be able to show how prompt logging and retention are configured and how they are followed, so the items below are what you would present to an assessor, a customer or a supervisory authority. Most of them come from configuration, test and job records you already keep.

Configuration files and version history

Keep the proxy configuration, including the settings for message logging, prompt storage in spend logs and spend log retention, under version control. Record who changed each setting, when, and why, so you can show what was in force on any date within the processing period. Check that the running configuration matches the committed file, because values set through the admin UI or environment variables can drift from the repository. Confirm which settings your release line reads from the configuration file and which it reads only at runtime.

Prompt storage and redaction test records

Save dated test runs that send sample prompts containing test personal data through the gateway, and record what reached the database and each logging provider. Cover the prompt storage setting, the message logging switch and any per-request redaction header your design relies on. Keep the test inputs, the observed outputs and the name of the tester. Repeat the tests after each upgrade, because a release can change default behavior. The per-request redaction header is listed as beta, so record that status in your assessment.

Spend log retention settings and deletion job records

Document the configured maximum retention period for spend logs and the schedule of the deletion job that enforces it. Keep run records that show the job executed, along with any failures and how they were resolved. Include your database backup policy in the same file, because deleted spend logs can persist in older backups and your retention statement should say how long those backups are kept. Ask your team to confirm how backup retention is set in your environment.

Virtual key and team assignments

Export the list of virtual keys, the users and teams each key serves, the models each key may call, and the budgets and limits applied to them. These assignments show who can send prompts and for which processing purpose, so they should map to the entries in your records of processing. Keep a dated change log for key creation, rotation and revocation. Confirm which team-scoped controls your edition provides before you design evidence around them.

Audit logs of administrative changes

The documentation lists audit logs as an Enterprise feature. If your deployment includes them, confirm which events they capture, how long they are kept and whether they can be exported to a store you control. If they are not available, rely on change records from your version control system and your identity provider, and state that substitution in your documentation. Assessors will ask who changed a retention or redaction setting, so the answer must be traceable.

Records of processing entries that cite settings

Each entry in your record of processing activities should name the setting that limits the data, such as the storage switch, the redaction configuration or the retention period, along with the time limit for erasure of the logged categories. Link each entry to the configuration version, test record and deletion job record that support it. Privacy notices must state the storage period or the criteria used to set it, so check that the figure published there matches the configured value.

What your records of processing should say about prompt retention

Your record of processing should state, for each category of data your LiteLLM gateway handles, the envisaged time limit for erasure where that is possible. Article 30(1)(f) asks for this, so the gateway's logging layer belongs in the entry from the start. For a self-hosted LiteLLM proxy, the categories usually include prompt and response content, spend metadata tied to virtual keys, users and teams, and any application logs the proxy writes. Keep these as separate rows, because each may serve a different purpose, carry a different period and sit under a different control. Agree the category list with your privacy and engineering leads before anyone fills in the period column.

Articles 13(2)(a) and 14(2)(a) link the storage period, or the criteria used to set it, to your privacy notices. Whatever you record internally must match what data subjects are told. If your notice states that prompts are kept for a set time, the spend log retention setting and the prompt storage switch must enforce that statement. Where your notice describes criteria rather than a fixed period, record those criteria in the record of processing and show how the gateway configuration implements each one. Article 5(1)(e) supports the same logic: personal data should be kept only for as long as the purpose requires.

Build the mapping as a table with one row per LiteLLM setting. Map turn_off_message_logging to the decision on whether message content reaches logging providers at all. Map store_prompts_in_spend_logs to whether prompt content is stored in the database. Map maximum_spend_logs_retention_period to the deletion schedule for spend logs, and name the setting that produces each period. Record the beta x-litellm-enable-message-redaction header only if your team has tested it and accepts its beta status for the flow in question. LiteLLM's enterprise documentation places team-level logging in the Enterprise offering, so confirm your license before listing it as a control. Each row needs a data category, a retention period, a purpose and a named owner.

The retention period itself has to come from your own assessment of necessity for each purpose. Confirm the default values in the release you run, then test each default against that purpose and change it where it does not hold. Article 25(2) expects only the personal data necessary for each specific purpose to be processed, including with respect to how long it is stored. Record who approved each period and the reason for it. Also document how erasure requests reach gateway logs. The EDPB's news item of 18 February 2026 described challenges hindering full implementation of the right to erasure. Write down the path from a request to deletion in spend logs, prompt storage and any downstream logging provider, and note where that path cannot reach. Ask your vendor to confirm whether individual records can be deleted, or only purged by schedule.

What LiteLLM does not cover for GDPR compliance

The gateway controls in this topic reduce what reaches logs and how long it stays there. They do not set your legal basis, classify your data, govern model providers, or handle requests and incidents for you. The GDPR requires no audit or certificate, so each gap below needs a named owner and written evidence in your records of processing.

Lawful basis and retention periods

You, as controller, choose the lawful basis for each processing purpose and set the storage period or the criteria used to set it. LiteLLM can enforce a spend log retention period, but it cannot decide what period is necessary for your purposes. Article 5(1)(e) and Article 25(2) tie storage to necessity, and Articles 13(2)(a) and 14(2)(a) require the period to appear in your privacy notice. Confirm both with your legal team before you set maximum_spend_logs_retention_period.

Personal data in prompts

Redaction and the prompt storage switch only act on content your rules can identify. LiteLLM does not decide whether a free-text field, a support ticket or a document excerpt contains personal data, or whether a pseudonymised identifier remains personal data in your context. Map which applications send prompts, classify typical content with your data protection officer, and test redaction on samples from each application before you rely on it. Record the outcome in the record of processing.

Provider logging and retention outside the gateway

Turning off message logging stops LiteLLM from forwarding messages to logging providers, but it does not control what each model provider keeps after the request reaches its API. Provider retention periods, abuse monitoring, sub-processors and staff access to prompts vary by provider and by contract or account tier. Request each provider's written data processing terms, retention statement and deletion process, and confirm which opt-out or reduced-retention options apply to your account.

Transfer assessments and supplementary measures

If a provider stores or accesses prompts outside the EEA, including remote support access from a third country, that access is a transfer under Chapter V. Article 44 also covers onward transfers, and the EDPB's Guidelines 05/2021 explain which access patterns count. The gateway cannot select a transfer tool for you. Ask each provider which mechanism applies, whether it appears on the Data Privacy Framework List, and which supplementary measures it accepts under EDPB Recommendations 01/2020, then have your legal team assess third-country access risk.

Data subject requests and erasure

Access, rectification and erasure requests reach you as controller, and they may concern prompts already held in spend logs, backups or provider systems. LiteLLM offers deletion and retention settings, but it does not locate one person's prompts across logs, backups, tickets and providers, or confirm that erasure reached every copy. Define who searches which store, how pseudonymised log entries are matched to the requester, and how each request is tracked to completion. The EDPB's 18 February 2026 news item on erasure challenges is a useful starting point.

Breach notification under Articles 33 and 34

A personal data breach involving prompts, such as a compromised gateway key that exposes stored logs, triggers notification to the supervisory authority under Article 33 and, where the risk to individuals is high, notification to those individuals under Article 34. LiteLLM does not detect that breach for you or define your escalation path. Agree with your security team how gateway, database and provider incidents are triaged, who assesses risk, and how processors must notify you. The EDPB's Guidelines 9/2022 can structure that assessment.

Why transfers and processor location still decide your GDPR position

Redaction, the prompt storage switch and spend log retention reduce how much personal data reaches a model provider, but they do not settle whether Chapter V of the GDPR applies. Two locations decide that: where your self-hosted LiteLLM gateway runs, and where each model provider processes and stores prompts. The EDPB's Guidelines 05/2021 (version 2.0) treat remote access from a third country as a transfer, even where a person only views data on a screen for support or administration, and treat storage in a cloud outside the EEA as a transfer as well. A gateway hosted in an EU region can therefore still create a transfer if an engineer abroad can open prompt logs, or if a configured provider endpoint sits outside the EEA.

Before you choose providers, check each one against the transfer mechanism that would cover it. The EU-US Data Privacy Framework adequacy finding in Commission Implementing Decision (EU) 2023/1795 covers only US organizations on the Data Privacy Framework List. Confirm that the exact legal entity you contract with is listed, not only its parent or brand. The General Court upheld that decision in September 2025, and an appeal is pending as Case C-703/25 P. Because the outcome could change the basis you rely on, record the status you checked, the date you checked it, and ask counsel to confirm it before you sign or change routing.

Hosting location is not the only exposure. The US CLOUD Act provision at 18 U.S.C. 2713 requires electronic communication and remote computing service providers to preserve or disclose data in their possession, custody or control, whether that data sits inside or outside the United States. An EU region operated by a US-headquartered provider can still be reached by that obligation. The EDPB's Guidelines 05/2021 (Example 12) say that using an EU processor subject to third-country law with extraterritorial effect is not itself a transfer, but complying with a third-country authority request would be. Assess that exposure with each provider before you engage it, and document the assessment alongside your transfer analysis.

EDPB Recommendations 01/2020 (version 2.0) address the case where a provider must access data in clear text and the destination's public authorities have powers that go beyond what is necessary and proportionate. In that case the EDPB cannot envision an effective technical supplementary measure. Redaction or encryption at your gateway may reduce what the provider sees, but it does not fix a provider that needs plaintext prompts. Plan this as a design decision: build a provider register with hosting and support access locations, Data Privacy Framework status and CLOUD Act exposure, then route sensitive team traffic only to providers that pass, or to private models in your own infrastructure. Use LiteLLM's per-team and per-key model restrictions to enforce those routes.

Common questions about GDPR prompt logging with LiteLLM

How much effort and cost does a GDPR prompt logging setup involve?

The cost depends on the written scope, and this page gives no price. You pay for the work in two parts. DeployOpen's fixed-scope quote covers design, configuration, testing and documentation, while your staff time goes into the data inventory, owner sign-off and legal review. The design and build are one-time costs. Retention checks, upgrades and periodic log reviews recur, and ongoing support is available as a retainer. The main cost drivers are the number of teams that need separate logging rules, the number of model providers that each need a data-flow entry, whether features such as team-level logging require an Enterprise license, and the PostgreSQL and Redis setup needed for more than one proxy instance. Ask for a quote that prices each of these separately.

How long does a LiteLLM GDPR logging project take?

The timeline depends on the written scope, and this page gives no duration. DeployOpen's engagements are usually fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The schedule moves with the number of teams, providers and environments in scope, how quickly your owners answer the data inventory, and how long legal review takes on storage periods. Testing against each provider and writing the records of processing add time, as does any PostgreSQL or Redis work for a multi-instance gateway. Ask for milestones that separate discovery, configuration, testing and documentation, and ask which milestones depend on your input.

What does our team need to provide before implementation starts?

Expect to supply four things: a data inventory, named owners, legal input and test accounts. The inventory lists which applications and teams send prompts, what personal data those prompts typically contain, and which providers receive them and where they process data. Owners approve the retention and logging rules for their team. Legal input sets storage periods and the wording for privacy notices under Articles 13(2)(a) and 14(2)(a), and it informs the records of processing under Article 30(1)(f). Test accounts let engineers send labeled sample prompts through each provider to confirm that redaction and deletion work. Agree in advance who signs off each item and by when.

Can our own team set up GDPR prompt logging controls without a partner?

Yes, if the team has the skills and the time. A small team with clear ownership can build these controls, but the work spans configuration, data protection and testing. Check that your team covers the following: LiteLLM proxy configuration and its logging settings; PostgreSQL administration, backups and migrations; Redis for shared state when running several instances; secret handling for LITELLM_MASTER_KEY; Kubernetes deployment if you use it; test design that proves prompts are redacted and deleted on schedule; GDPR records of processing and retention mapping; and repeatable upgrades across LiteLLM release lines. If several items are missing, a scoped engagement can cover the gaps while your team keeps ownership of the decisions.

Does this project produce a GDPR certificate or audit report?

No. The GDPR requires no audit, attestation or certificate, and DeployOpen does not issue audit reports or certifications. Certification under Article 42 is voluntary, issued by accredited certification bodies or supervisory authorities for at most three years, and it does not reduce the controller's responsibility for compliance. What the project produces is configuration, test results and documentation that your records of processing and your assessors can review. Independent auditors or certification bodies decide whether that evidence meets any standard you choose to be assessed against.

Which LiteLLM settings actually control prompt storage and retention?

Three settings matter most: store_prompts_in_spend_logs, turn_off_message_logging and maximum_spend_logs_retention_period. store_prompts_in_spend_logs decides whether prompt content is stored at all. turn_off_message_logging stops messages and responses from reaching logging providers, while spend metadata is still tracked. maximum_spend_logs_retention_period deletes old spend logs on a schedule and is available in open source. Per-request redaction uses the x-litellm-enable-message-redaction header, which is in beta, so confirm its status for your version before relying on it. Verify each setting with a labeled test prompt, then check the database rows, callback destinations and log exports directly. Confirm which of these features need Enterprise licensing for your team layout.

What breaks when a LiteLLM gateway runs on several proxy instances?

Several proxy instances need Redis 7.0 or newer for shared rate limits, router state and cache, and that shared state can hold data your retention rules must cover. Confirm the cache time-to-live settings and whether cached content counts as personal data in your inventory. PostgreSQL is the primary supported database, and LiteLLM batches spend updates to the database every 60 seconds at scale, so deletion and logging can lag by that batching interval. Document that lag in your records of processing. On Kubernetes, LiteLLM recommends one Uvicorn worker per pod with horizontal scaling, and the master key should live in a secret manager. Test a deletion after a scaling event, a pod restart and a Redis failover.

Do prompts sent to model providers outside the EEA need extra controls?

Yes, if a provider stores or accesses personal data from a third country, that is a transfer that must meet Chapter V of the GDPR under Article 44. EDPB Guidelines 05/2021 state that remote access from a third country, even only displaying data on a screen for support, and storage in a cloud outside the EEA are transfers. Infringements of Articles 44 to 49 carry fines of up to EUR 20 million or 4% of worldwide annual turnover under Article 83(5)(c). Map each provider's storage and access locations in your data inventory, then review the contractual transfer basis, such as standard contractual clauses under Implementing Decision (EU) 2021/914. Confirm these details with each provider's terms and with your legal counsel.

How DeployOpen scopes and delivers LiteLLM compliance configuration

DeployOpen scopes and delivers the logging, retention and data-flow controls for a self-hosted LiteLLM gateway inside infrastructure you control. Work starts from a written, fixed scope that names which prompt fields are stored, for how long, and for which teams. The controls are then documented for your records of processing.

How we scope

  • The written scope lists which prompt content may reach logs, and which data categories must never be stored.
  • Retention periods are set per log type, with the criteria for each recorded so privacy notices can state them.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any configuration starts.

How we build

  • Configure turn_off_message_logging per team so messages and responses stay out of logging providers while spend metadata is kept.
  • Set store_prompts_in_spend_logs and spend log retention, then test deletion runs against a sample of logs in your environment.
  • Treat the x-litellm-enable-message-redaction header as beta, and confirm its behavior with your LiteLLM version before relying on it.

How we hand over

  • Records of processing entries for the gateway, including categories of prompt data, storage periods and the controls applied.
  • Configuration documentation covering the redaction, prompt storage and retention settings, with the reasoning behind each setting.
  • A test record showing retention and logging behavior, so your team can repeat the checks after upgrades.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering the gateway after handover.
  • Review logging and retention settings when the LiteLLM release line changes or your processing purposes change.
  • Have your privacy team confirm the controls meet your obligations, since DeployOpen issues no compliance attestations.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.