You can turn off training with codex an gemini. Not sure about Anthropic.
How much do you trust OpenAi or Anthropic to not use it as training data anyway? What if you are building a startup and they can just use their visibility into it to copy your IP instead of buying your company?