SMG Group · Research June 2026

Compliance

AI API Data Retention: Anthropic and OpenAI

Query

When client data is sent to the Anthropic or OpenAI API, how long is it kept, is it used for training, and what do the standard contracts say about financial, payment-card, and personal data?

Research and testing

  • Read each provider's retention, training, and zero data retention (ZDR) documentation and privacy center articles.
  • Read both data processing addendums (DPAs), OpenAI's App Developer Terms and usage policies, and OpenAI's guidance on financial data.
  • Compared provisions for payment-card (PCI DSS) data, health data, GDPR, sub-processors, and data residency.
  • This was a document review. No API traffic was tested.

Methodology

Primary sources only: provider documentation, policies, and contract terms as published in June 2026, quoted from the source where possible. Where a policy had changed, the current text was used and the change noted.

Results

AnthropicOpenAI
Trains on API data by defaultNoNo (since March 1, 2023)
Default retention7 daysUp to 30 days (abuse-monitoring logs)
Zero data retentionYes, with sales approvalYes, with approval, on supported endpoints
Flagged contentKept up to 2 yearsKept up to 2 years
Financial-sector DPA termsNoneNone
  1. Anthropic cut default retention for API inputs and outputs from 30 days to 7 on September 14, 2025. These features are excluded from ZDR: Batch API (kept 29 days), code execution (30 days), Files API (until deleted), the MCP connector, and Claude Managed Agents. Claude Fable 5 and Mythos 5 require 30-day retention and are not ZDR-eligible.
  2. OpenAI's abuse-monitoring logs can contain prompts and responses. Opting out of training does not turn them off. Removing them takes ZDR or "modified abuse monitoring," and both need OpenAI's approval.
  3. ZDR does not cover everything. At both providers, content flagged for a policy violation can be kept for up to 2 years. Anthropic keeps trust-and-safety classifier scores for up to 7 years. OpenAI keeps images flagged in CSAM scanning for manual review even under ZDR.
  4. Neither standard DPA has terms for financial services: nothing on GLBA, FFIEC, or financial regulators' third-party risk guidance. Both are general GDPR instruments with standard contractual clauses. Anthropic's DPA is part of its Commercial Terms automatically; OpenAI's must be accepted or executed. ZDR is a separate contract amendment at both.
  5. OpenAI's App Developer Terms bar apps from processing payment-card data regulated under PCI DSS. Anthropic's standard terms have no explicit prohibition. Neither provider is PCI-scoped for customer workloads by default.
  6. Both offer HIPAA business associate agreements for eligible customers. Anthropic requires a separate organization and does not allow PHI in JSON schema definitions.
  7. Both offer data residency controls. Regions outside the U.S. require a ZDR amendment (and, at OpenAI, approved abuse-monitoring controls).

Conclusion. On standard terms, Anthropic's 7-day default is less exposure than OpenAI's 30-day logs. For data covered by GLBA or financial regulators, neither standard contract is sufficient; custom terms and legal review are needed. Card numbers, CVVs, and track data should not go to either API without a PCI-scoped arrangement, which neither offers as standard. Before production, test whether the data could trip a safety classifier (fraud-related text, for example), because a flag extends retention to 2 years.

Sources

  1. Anthropic: API and data retention
  2. Anthropic Privacy Center: How long do you store my data?
  3. Anthropic Privacy Center: How long do you store my organization's data?
  4. Anthropic Privacy Center: Is my data used for model training?
  5. Anthropic Privacy Center: ZDR scope by product
  6. Anthropic Privacy Center: Viewing and signing the DPA
  7. Anthropic: Privacy Policy
  8. Anthropic Trust Center: HIPAA implementation guide
  9. OpenAI: Data controls in the OpenAI platform
  10. OpenAI: Data Processing Addendum
  11. OpenAI: Enterprise privacy
  12. OpenAI: Usage policies
  13. OpenAI: App Developer Terms
  14. OpenAI Help Center: Customer responsibilities for financial data
  15. OpenAI Trust Portal
  16. TechCrunch: OpenAI ends default training on API data (March 2023)