Lab API data policyUpdated November 18, 2026
Claude API data retention, explained
Claude API data retention is 30 days by default, and up to 2 years for chats that Anthropic's systems flag.
Prompts kept by default
Within 30 days
Up to 2 years if flagged
RetentionReadNov. 18, 2026
Training on API prompts
Not by default
Feedback you send is an exception
TrainingReadNov. 18, 2026
Keeping nothing takes
A sales request
Covered Models keep 30 days
Zero retentionReadNov. 18, 2026
On the timeline
Default retention of API prompts and outputs
Not storedKept by defaultKept longer if flagged
Silk ComputeOpen-weight models
Zero data retention
abliteration.aiOpen-weight models
Never stored by default
FeatherlessOpen-weight models
Not logged
Unfil.AIOpen-weight models
Up to 24 hours
xAI APIGrok models
30 days
OpenAI APIGPT models
Up to 30 days
Claude APIClaude models
Within 30 daysUp to 2 years if flagged2 years if flagged
MorphOpen-weight models
Up to 30 days
Gemini APIGemini models
55 days
Mistral APIMistral models
No period published
PRIVATE AI APICC-BYSources for every bar
What the policy says
"For Anthropic API users, we automatically delete inputs and outputs on our backend within 30 days of receipt or generation…"
Exceptions cover features you control, zero retention, policy enforcement and the law.
privacy.claude.com"We retain inputs and outputs for up to 2 years…"
Classification scores stay up to 7 years.
privacy.claude.com"By default, we will not use your inputs or outputs from our commercial products…"privacy.claude.com
"Anthropic may not train models on Customer Content from Services."anthropic.com
"To request ZDR for your organization, contact the Anthropic sales team."platform.claude.com
"Prompts submitted to, and outputs generated by, covered models are retained for 30 days to support our safety work, on every platform where these models are offered."
Covered Models are Claude Mythos and Claude Fable 5, 5.1 and 5.2.
privacy.claude.com"30-day minimum retention by default."
Zero retention excludes them unless Anthropic expressly authorizes it.
support.claude.comStrengths and shortfalls
Strengths
- Under zero retention, it stores nothing at rest after responding.
- Prompt caching is eligible for zero retention.
Shortfalls
- Zero retention needs a sales request and excludes Covered Models.
- Batch keeps data 29 days and Files until deleted, even under zero retention.
How to keep prompts out of Anthropic's storage
- Ask Anthropic's sales team for zero data retention. Each new organization needs it enabled separately, say the Claude API docs.
- Check that the model is not a Covered Model.
- Keep sensitive inputs out of Batch and Files.
- Skip the Console playground, which is outside zero retention.
- Don't rate sensitive outputs, since feedback you submit is an exception to the no-training rule.