Skip to content

Decisions6 min read

Sending business data to an AI API: retention, training and what to check

By Published

Short answerOpenAI and Anthropic say they do not train on API data by default, but both keep it for a period: OpenAI keeps abuse monitoring logs for up to 30 days, and Anthropic deletes API inputs and outputs within 30 days, or up to 2 years if flagged. Google's Gemini API differs by tier: free use can improve Google's products and be read by human reviewers, paid use is not. Check the tier and the features that store data.

What each provider's page says today

I read each provider's own data pages, not summaries of them. This table is what those pages said when I wrote this article. They change, so re-read them before you sign anything. This is not legal advice: for your contract or your obligations under data protection law, ask a lawyer.

ProviderAPI data used for training?Standard retentionLonger retentionZero data retention
OpenAI APINo, since March 1, 2023, unless you explicitly opt in to share dataAbuse monitoring logs kept for up to 30 daysLonger if required by law or to protect services or others from harmZero Data Retention and Modified Abuse Monitoring, for eligible customers, subject to OpenAI's prior approval
Anthropic (Claude API)No for commercial products, including the API, unless you report feedback or otherwise choose to allow itPrivacy Center: inputs and outputs deleted within 30 days of receipt or generation. API docs: some models, called Covered Models, require 30-day retentionUsage Policy violations: inputs and outputs up to 2 years, trust and safety scores up to 7 yearsBy agreement through Anthropic's sales team, enabled per organization
Google Gemini API, unpaidYes: content is used to provide, improve and develop Google products, and human reviewers may read inputs and outputsAbuse monitoring page: 55 daysNot statedNot mentioned on the pages I read
Google Gemini API, paidNo: Google says it does not use prompts or responses to improve its productsLogged for a limited period for policy enforcement and legal disclosures; abuse monitoring page: 55 daysNot statedNot mentioned on the pages I read

Features that keep your data until you delete it

The headline retention period covers the request. Some features are built to store things, and they follow their own rules.

OpenAI's data controls page says the Responses API keeps application state for 30 days by default, or when the store parameter is true. Vector stores, files, assistants, threads and conversations are kept until you delete them, and assistants-related objects are removed from OpenAI's servers 30 days after you delete them. Embeddings and moderation calls store no application state.

Anthropic's API and data retention page says the Files API keeps files until you delete them or they reach their configured expiration, batch processing has a 29-day retention, and code execution containers keep data for up to 30 days. These features are not covered by zero data retention. The page also says that even under zero data retention, flagged content may be kept for up to 2 years.

This matters most for document assistants. If your policies and price lists sit in a provider's file store, they stay there until someone deletes them. I would put deletion in the offboarding checklist, next to revoking the API keys.

The free tier is the easiest mistake to make

Google's terms draw the line clearly. For the unpaid services, the page says not to submit sensitive, confidential or personal information. Gemini API use only counts as paid when it goes through a Cloud project with an active billing account.

That catches teams in testing. Someone creates a free key to try an idea, pastes in real customer emails, and the prototype quietly becomes the product. My rule: no business data goes through a free key, ever, including tests. Prototypes use made-up data until the paid account and its settings are in place.

The same applies to consumer chat apps. Anthropic's API retention page lists its consumer plans separately from the API, and says its consumer plans are outside the zero data retention arrangement. Staff pasting client files into a personal chat account is a different contract from your company's API account.

Where the data is processed, and the UAE question

Retention is one question. Location is another.

OpenAI's data controls page lists regional storage and processing in the United States and Europe, and regional processing in the United Arab Emirates through ae.api.openai.com, which needs additional approval. The United Kingdom is listed for regional storage only, without regional processing. Anthropic's page notes that when you use Claude through Amazon Bedrock or Google Cloud's Google-managed offering, the cloud provider is the data processor, so that provider's retention documentation applies instead.

The UAE has a federal personal data protection law. I will not tell you what it requires for your business. That is a question for a lawyer, and the answer shapes which provider, which region and which data you send at all.

What I check before business data goes to an API

This is the list I would run for every AI feature, before the first real record is sent:

  • The account is a paid business or API account, not a free tier or a personal chat plan.
  • Training settings are confirmed on the provider's current data controls page, and nobody has opted in by accident.
  • Each feature in use is listed with its own retention: plain requests, stored responses, files, vector stores, batches.
  • Zero data retention is requested if the data needs it, and the features that break it are avoided or accepted in writing.
  • The region is chosen and, where the provider requires it, approved.
  • Personal data is removed or masked before sending when the task does not need it. A summary of a complaint rarely needs the customer's ID number.
  • API keys live on the server, never in the mobile app. Anthropic's docs say organizations on zero data retention cannot call the API straight from a browser and must send requests from their own back end, which is how I would build it anyway.
  • Our own logs are covered too. Prompts and outputs stored in our database follow your retention rules, not the provider's.
  • A lawyer has read the provider's terms and data processing addendum against your obligations.

How this fits into a project with me

The provider choice and its data settings go into the written scope, before any code. I name the provider, the account tier, the features used and how long each one keeps data, and who deletes what at the end.

Custom AI systems and compliance work are quoted separately from my app packages, as a fixed quote after that scope. If the AI feature sits inside an app, the app can still be Launch at $999, Growth at $1,699 or Scale at $2,500. Model usage, hosting and other third-party fees are not included. Tell me what data the feature would touch, and I will tell you which of these checks it fails today.

Questions

Does OpenAI train on data sent through its API?
OpenAI's data controls page says data sent to the API has not been used to train or improve its models since March 1, 2023, unless you explicitly opt in. It still keeps abuse monitoring logs for up to 30 days by default.
Is the free Gemini API safe for customer data?
Google's own terms say not to submit sensitive, confidential or personal information to the unpaid services, because that content can be used to improve Google's products and read by human reviewers. Use a paid Cloud project for business data.
Does zero data retention mean nothing is ever stored?
No. Both OpenAI and Anthropic describe features that store data by design, such as files and vector stores, and Anthropic says flagged content may be kept for up to 2 years even under zero data retention.

Sources

Platform rules and fees in this article were checked against these official pages on 11 November 2026. They change, so confirm before you rely on them.

Sannan Malik is a software architect and product builder with 8+ years in software, CEO of Alpha Notic FZE and a Certified Scrum Product Owner. He builds mobile apps and business software for companies in the UAE, the wider Gulf, the UK, the US, Canada and Australia.

Let's build it

Got an idea? Let's talk.

The fastest way to reach me is WhatsApp. Tell me what you're building and I'll reply with how I'd approach it, which package fits, or what a custom scope would look like.

Message me on WhatsApp