Chat on WhatsApp

Privacy — does Anthropic train models on my code?

No — not on commercial-tier inputs. Under Anthropic’s Commercial Terms of Service, customer inputs and outputs (Claude Pro, Claude Team, Anthropic API) are not used for model training. That’s contractual, not just a setting.

For zero-data-retention setups (regulated industries, NDA-heavy work), Anthropic supports a zero-data-retention mode on the API and Bedrock / Vertex routes — inputs aren’t logged at all past the live request. Free-tier claude.ai consumer use can opt-in to training (the consumer privacy notice differs), but Claude Code does not run on free-tier accounts. Net effect: your codebase stays in your VCS — nothing leaves except the API call you made.

Was this helpful?