Does Claude Code (Commercial: Team / Enterprise / API (incl. Bedrock, Google Cloud)) train on your code?
Anthropic · Commercial: Team / Enterprise / API (incl. Bedrock, Google Cloud) · checked 2026-10-19
No training, 30-day retention, ZDR if you qualify. Use Bedrock/Vertex for the quietest telemetry.
Trains on code
No
Default
Not used for training under Commercial Terms unless the org opts into a program like the Development Partner Program.
How to opt out
Nothing to do. Just don't join the Development Partner Program (admin opt-in, first-party API only).
Retention
Standard 30 days. ZDR available for qualified Claude for Enterprise orgs (enabled per-org by Anthropic). /feedback transcripts: 5 years. Local transcripts 30 days.
Telemetry
Claude API: metrics default on. Bedrock / Google Cloud / Foundry / Claude Platform on AWS: metrics, error reports and /feedback default OFF.
Disable telemetry
Same env vars as consumer; CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 disables all non-essential traffic.
Zero data retention
yes · Qualified Claude for Enterprise accounts only; not in the standard plan.
Offline / local model
no · No local-model mode documented.
Self-hostable
partial · Cloud sessions can run in an org's self-hosted environment; model still hosted.
Score
67/100 · training 40/40 · retention 17/25 · offline 0/20 · telemetry 10/15
Classes: training No · retention ≤ 30 days · telemetry On, can disable · offline no