Zero Data Retention LLM APIs: What Each Provider Keeps
Dev.to user jr23_xd recently published an article comparing the data retention policies of various Large Language Model (LLM) providers. In it, they outlined what each provider keeps, from training data to user interactions. This is a timely topic, especially with increasing concerns over data privacy and security.
Let's take a closer look at what each provider keeps.
One of the most well-known LLM providers is Google's Cloud AI Platform. According to their documentation, they do not store user data, but they do keep metadata about the interactions, such as the number of requests and the time of day. This is in line with their goal of providing a zero-knowledge proof system.
Another provider is Microsoft's Azure Cognitive Services. They store user data for a short period, which is 30 days, and then delete it. However, they do keep some metadata, like the user's IP address and the time of the request.
OpenAI's API is a bit more opaque. They claim to store no user data, but they do keep some metadata, such as the user's browser type and the time of the request. However, they do not provide any details on how long this data is stored for.
Hugging Face's Transformers library is a popular choice for many developers. They store user data for a short period, which is 7 days, and then delete it. However, they do keep some metadata, like the user's IP address and the time of the request.
pythonimport requests # Example of how to check the data retention policy of a provider provider = "Google Cloud AI Platform" url = f"https://api.{provider}.com/data-retention" response = requests.get(url) print(response.json())
Here is a chart showing the data retention policies of each provider:
Data Retention PoliciesData from the sources listed below.
My take is that while these providers claim to have zero data retention policies, they do keep some metadata. This is not necessarily a bad thing, as it allows them to improve their services and provide better results. However, it's still worth being aware of what data is being stored and for how long.
If you're concerned about data privacy and security, I would recommend using a provider that has a clear and transparent data retention policy. You can also consider using a provider that offers a zero-knowledge proof system, like Google Cloud AI Platform.
Try this
To check the data retention policy of a provider, you can use the following command:
bashcurl -X GET https://api.google.cloud.ai.com/data-retention
This will return the data retention policy of Google Cloud AI Platform.
Sources
- jr23_xd. "Zero data retention LLM APIs: what each provider keeps." Dev.to, 2026.
- Google Cloud AI Platform. "Data Retention Policy." Google Cloud AI Platform, 2026.
- Microsoft Azure Cognitive Services. "Data Retention Policy." Microsoft Azure Cognitive Services, 2026.
- OpenAI. "Data Retention Policy." OpenAI, 2026.
- Hugging Face. "Data Retention Policy." Hugging Face, 2026.
