> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LLM providers and data handling

**In short**

> Sourcery sends the relevant diff and code context to OpenAI and Anthropic. None of your code
>     trains OpenAI's, Anthropic's, or Sourcery's models. Anthropic retains nothing, and OpenAI
>     retains data for no more than 30 days.

## Providers

To review your code, Sourcery sends the relevant sections of the diff and the surrounding code context to two LLM providers, OpenAI and Anthropic.

## Retention and training

None of your code is used by OpenAI, Anthropic, or Sourcery to train any model. The retention windows are:

- Anthropic retains nothing, under a zero-day retention agreement.
- OpenAI retains data for no more than 30 days.

For how Sourcery itself handles your code, see [code retention](/trust/code-retention/).

## Choosing your own provider

You cannot switch providers from the dashboard today. If you need Sourcery to use your own model deployment, such as an existing enterprise contract with Anthropic or Azure OpenAI, [bring your own LLM](/trust/bring-your-own-llm/) is available on the Team plan.
