Roar AI
Mulai gratis
Resources

AI data residency in Sri Lanka: keeping prompts in the country

Where prompts, answers and app data go when a Sri Lankan team uses AI, what the Personal Data Protection Act asks, and how to keep sensitive work in Sri Lanka.

Sri Lankan teams adopting AI face a question their customers and auditors increasingly ask: where does our data go? Most AI models run abroad, so a prompt typed in Colombo is usually processed in another country, and the answer may then be saved in an app's database somewhere else again.

This guide covers what Sri Lankan law asks of data that leaves the country, where each part of an AI request is processed, and how to keep the sensitive part of your work in Sri Lanka without giving up frontier models for everything else. It is general information, not legal advice; for a specific contract or regulation, ask a lawyer who knows it. Our global guide to AI data residency explains the terms in more detail.

What Sri Lankan law asks

Sri Lanka's Personal Data Protection Act, No. 9 of 2022 sets conditions for processing personal data outside the country, rather than banning it outright. Banking, health and government work often carry stricter rules of their own, and contracts with large customers can add requirements on top.

In practice, that means a team should know, and be able to show, where each kind of personal data goes when it uses an AI model.

Where your data goes in an AI request

WhatWhere it is with Roar AI
The model processing your promptDepends on the model. Qwen 3.8 27B LK runs on Roar AI’s own hardware in Colombo and nowhere else. Frontier models such as GPT, Claude and Gemini run on international infrastructure, outside Sri Lanka.
The gateway your request entersRoar AI’s gateway in Colombo
Logs of prompts and answersOff, or encrypted and deleted after seven days by default
Your app and its databaseIn the region you pick, Colombo included
BackupsEncrypted before they leave the server; the off-site copy may be stored in another country

Each model page states where that model’s requests are processed, so you can check before you send it anything sensitive.

How to keep sensitive work in Sri Lanka

  1. Host the app and its database in Colombo.
  2. Send the sensitive work to a model that runs in the country. Qwen 3.8 27B LK suits customer records, contracts, scanned documents and agents that call your own tools, and its prompts and answers never leave Sri Lanka. It is never routed abroad, even as a fallback, so during maintenance or an outage its requests are refused rather than sent out of the country.
  3. Use frontier models for everything else. Work that carries no personal data can go to whichever model suits it, on the same API key.
  4. Turn prompt logging off 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 is what a customer’s security review or an auditor will ask for.

What Roar AI does and does not keep in Sri Lanka

  • In Colombo: Qwen 3.8 27B LK, the gateway your requests enter, and any app and database you place there.
  • Not in Sri Lanka: frontier models, and the off-site copy of your backups.
  • 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.
  • Your data trains nothing. Roar AI does not train models on your prompts, your app data or your files.

Usage is billed in Sri Lankan rupees on one monthly invoice. The security page has the details.

Questions people ask

Is there an AI model hosted in Sri Lanka?

Yes. Roar AI runs Qwen 3.8 27B LK on its own hardware in Colombo, so prompts and answers are processed in Sri Lanka and nowhere else. It is billed per token in rupees, like any other model on Roar AI.

Does the Personal Data Protection Act stop me using ChatGPT, Claude or Gemini?

Not by itself. The Act sets conditions for processing personal data outside Sri Lanka rather than banning it. Many teams keep personal data out of prompts sent to frontier models, and send work that involves it to a model that runs in the country. Check the rules for your sector and your contracts.

Can I host my app and database in Sri Lanka?

Yes. Roar AI runs apps and their PostgreSQL databases in Colombo. Backups are encrypted, and the off-site copy may be stored in another country.

Start building
in minutes

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