Get featured

Do AI coding tools train on your code? Settings by plan

Guide · checked against the docs on

When you use an AI coding tool, your prompts and bits of your code go to the vendor. A common question is whether that vendor can use them to train its models. The answer depends on the tool and on your plan, and the rules change. This guide sums up what each vendor's own page said when we read it on October 15, 2026. Plan details are marked checked Oct 2026.

Not affiliated with or endorsed by GitHub, Anysphere (Cursor), Anthropic, OpenAI, Google, Windsurf or JetBrains. Check each vendor's current terms before relying on these details.

This isn't legal advice. Your own contract, your company's agreement and your admin settings decide what applies to you. Check them, or ask your admin.

Our tool pages: GitHub Copilot · Cursor · Claude Code · OpenAI Codex

Quick table (checked Oct 2026)

ToolFree / individual plansBusiness / teamEnterpriseWhere the setting is
GitHub CopilotFree, Pro, Pro+, Max: may be used for training since April 24, 2026; you can opt outNot used for trainingNot used for trainingGitHub → profile picture → Copilot settings → "Allow GitHub to use my data for AI model training"
CursorNot used unless you agree, flag/feedback exceptions; Privacy Mode stops training. Default: not stated on Cursor's pages. Turn on Privacy Mode in settings to be sure.Admin can enable Privacy Mode; members inherit itSame as teamCursor settings (Privacy Mode)
Claude Code (Anthropic)Free, Pro, Max: only if you allow it; you choose at signupTeam: not trained on under commercial termsEnterprise and API: not trained on under commercial termsClaude Privacy Settings
OpenAI Codex / ChatGPTFree, Plus, Pro: may be used; you can opt outBusiness: not used by defaultEnterprise and Edu: not used by defaultChatGPT Settings → Data controls → "Improve the model for everyone"; Codex has a separate "Include environments" setting
Gemini Code AssistIndividual tier stopped serving requests June 18, 2026Standard: prompts and responses not used for trainingEnterprise: sameNo training setting described
WindsurfPolicy says it depends on your terms; check your plan's terms.Check your termsCheck your termsCheck your terms
JetBrains AINon-commercial license: detailed code data may be collected by default, opt-outOrganization license: off by default, admin must allow, then user consentsSame as organizationIDE product settings

GitHub Copilot

GitHub's Copilot policy docs say that starting April 24, 2026, on Copilot Free, Pro, Pro+ or Max, "GitHub may use your interactions with GitHub features and services—including inputs, outputs, code snippets, and associated context—to train and improve AI models." The same page describes it as an opt-out, so it's on unless you turn it off.

Cursor

Cursor's privacy policy says: "We do not use Inputs or Suggestions to train our models, or permit third parties to use them for training, unless" they're flagged for security review, you report them (for example as feedback), or "you've explicitly agreed to their use for such training purposes."

Its security page adds that Privacy Mode "can be enabled in settings or by a team or enterprise admin," is "available to anyone (free or Pro)," and "When enabled, we will not train on your data." New team members inherit the team's setting.

Claude Code (Anthropic)

Anthropic's Claude Code data usage docs split plans in two:

OpenAI Codex and ChatGPT

OpenAI's help article on model improvement says:

Gemini Code Assist (Google)

Windsurf

Windsurf's privacy policy says training on user content depends on "the terms that apply to your use of the Services." We couldn't find a Windsurf page that clearly sets out defaults by plan, so we aren't guessing.

JetBrains AI

JetBrains' data collection and use policy covers "detailed code-related data," which includes prompts and code snippets. It says this data "can be used for product improvement and training AI models."

Quick steps

  1. Find your plan in the table above.
  2. If you're on a free or individual plan, check the setting named for your tool.
  3. If you're on a business plan, ask your admin what's switched on, and check your contract.
  4. Keep secrets out of your project folder. A line in your AGENTS.md or CLAUDE.md file asking the agent not to open secrets files can help, but it isn't a guarantee.

Not affiliated with or endorsed by GitHub, Anysphere (Cursor), Anthropic, OpenAI, Google, Windsurf or JetBrains. Check each vendor's current terms before relying on these details.