Roar AI
Mulai gratis
Resources

AI data residency: where your data actually goes

What AI data residency means, where prompts, answers, logs and backups end up when you use an AI model, and the questions to ask any provider.

In short
  • Data residency is where data is stored and processed. With AI there are several places to track: where the model runs, what the provider logs, and where your app's database and its backups sit.
  • Residency, sovereignty and localisation mean different things: where data is, whose laws apply to it, and laws that require it to stay in a country.
  • Four questions cover most of it: where each model runs, what is stored and for how long, whether your data trains anything, and where backups go.

When a company starts using AI models, its data begins to travel in ways that are easy to miss. A prompt typed in one country may be processed in another, logged by the provider for a few weeks, and answered with text that is then saved in an app's database somewhere else again. None of that is necessarily a problem, but each step is a place your data lives, and some customers, contracts and laws care which country that is.

This guide explains what AI data residency means, where data goes at each step of an AI request, and what to ask before you choose a provider. It is general information, not legal advice; for a specific law or contract, ask a lawyer who knows it.

What data residency means

Data residency is the physical location where data is stored and processed. A database in a data centre in one country has its residency in that country. A request sent to a model running in another country is processed there, even if it was typed somewhere else and never stored.

For AI, residency is not one answer but several. The prompt, the model's processing of it, any logs, the answer saved in your app and the backups of that app can each be in a different country.

Data residency, data sovereignty and data localisation

These three terms are often used as if they were the same. They are related, but they answer different questions:

  • Data residency is where the data physically is.
  • Data sovereignty is whose laws apply to it. Data is generally subject to the laws of the country it is in, and sometimes also to the laws of the country where the company holding it is based.
  • Data localisation is a legal requirement to keep certain data inside a country, or to meet conditions before sending it abroad.

Most data protection laws regulate sending personal data across borders rather than banning it. Some allow transfers only to countries judged to protect data adequately, or under approved safeguards. Some let the government restrict transfers to particular countries, and some set conditions for processing personal data abroad. Banking, health and government work often carry stricter rules of their own.

Where your data goes when you use an AI model

Each step of an AI request has its own residency. These are the places to check:

WhatWhere it usually isWhat to ask
The model processing your promptWherever the model runs. Frontier models such as GPT, Claude and Gemini run on their makers' own infrastructure, usually outside your country.In which countries can my requests be processed?
Logs of prompts and answersWith the provider, for a set number of daysAre prompts stored? For how long? Can I turn it off?
TrainingDepends on the provider's termsIs my data used to train or improve models?
Your app's databaseWherever your app's database is hostedWhich region? Can I choose it?
BackupsOften a different place from the databaseWhere are backups kept, and are they encrypted?
Search indexes and embeddingsWherever your vector store runsIs it in the same region as the rest of the data?

The model is usually the step people think about, and the backups are the one they forget.

How to keep AI data in one country

Few teams need every byte to stay in one country. More often, one kind of data does: customer records, health information, documents covered by a contract. These steps keep that data where it needs to be without giving up frontier models for everything else.

  1. Host the app and its database in the country, or in the region your rules allow.
  2. Use a model that runs in the country for the sensitive work, and frontier models for work that does not involve that data.
  3. Keep personal data out of prompts where you can. Send an ID instead of a name, or remove details the model does not need.
  4. Turn off prompt logging for sensitive workloads, so no copy is kept after the answer comes back.
  5. Write down where each kind of data goes. A one-page map of what is stored where is what a customer's security review or an auditor will ask for.

Questions to ask any AI provider

  • In which countries can my requests be processed, model by model?
  • Are prompts and answers stored, for how long, and can I turn that off?
  • Is my data used to train or improve any model?
  • Where do my app's database and its backups live, and can I choose?
  • Which other companies process my data on your behalf, and where?

A provider that answers each of these plainly, per model and per service, is easier to defend in a review than one that answers with a general privacy page.

How Roar AI handles it

Roar AI answers those questions one by one:

  • Where your app runs is your choice. Each app and its PostgreSQL database run in the region you pick, and the hosting page lists the regions.
  • Every model says where it runs. Each model page states where its requests are processed. Some models run on Roar AI’s own hardware in a single country and nowhere else, some in one of Roar AI’s regions, and frontier models run on international infrastructure.
  • You decide whether prompts are stored. With logging on, prompt content is encrypted and deleted after seven days by default. With it off, nothing is written.
  • Your data trains nothing. Roar AI does not train models on your prompts, your app data or your files.
  • Guardrails can block sensitive data. An account's data guardrails can stop a request, such as one carrying a card number, before it reaches an external model.
  • Backups are stated plainly. Each database is backed up twice a day and each copy is kept for 90 days. The backups are encrypted before they leave the server, and the off-site copy may be stored in another country.
  • Incidents are the one exception. During a declared incident, such as the loss of a site, data may be recovered in another region so that the service can be restored.

The security page has the details, and the hosting page shows each region.

Questions people ask

Sometimes. Many data protection laws set conditions for sending personal data abroad rather than banning it, while some sectors, such as banking, health and government, have stricter rules. Contracts with large customers often add requirements of their own. Check the rules that apply to your data and your customers.

Can I use ChatGPT, Claude or Gemini and keep data in my country?

Frontier models such as GPT, Claude and Gemini run on their makers' infrastructure, usually outside your country. If some data must stay in the country, use a model that runs there for that work, and use frontier models for everything else. Each Roar AI model page states where that model runs.

Does an AI gateway change where my data goes?

A gateway passes each request to the model you chose, so the model's location still decides where the prompt is processed. What the gateway adds is its own location and its own logs. Roar AI's gateway answers in several regions, and prompt logging can be turned off.

What is the difference between data residency and data sovereignty?

Data residency is where data physically is. Data sovereignty is whose laws apply to it, which usually follows from where it is, and sometimes also from where the company holding it is based.

Start building
in minutes

Get a key, call any model, ship your app. Pay in your local currency.