Company files on a NAS, and you'd like AI to help without sending data outside? How to run an open AI model on the NAS, what it needs, what it can do.
- Date
- Reading
- 4 min read
- Written by
- Nick Li
- Tags
- #AI#Engineering
Many companies already keep their files on a NAS. The natural next question: can AI help summarise documents and draft replies without sending company data outside?
It can. The way to do it is to run an open AI model on the NAS itself, with a ChatGPT-style web interface. The data stays inside the company, there's no monthly fee and no region restriction. Expectations about quality and speed matter, though, and we'll be clear about them below.
Why not just use a free cloud AI API
Plenty of online guides show how to get a free AI API key and connect it to a NAS. We don't recommend that for Hong Kong businesses, for two reasons:
- Region: taking Google as an example, Hong Kong is not on the official list of regions for the Gemini API.
- Data: the Gemini API terms say content submitted to the free tier is used to improve Google's products and may be read by human reviewers, and warn against submitting sensitive, confidential or personal information. Contracts and customer records on a NAS are exactly that.
If you use cloud AI, choose a service that officially supports your region and a paid plan that doesn't train on your data. To keep data from leaving at all, run a local model on the NAS.
Can your NAS run it
- It needs Container Manager, Synology's Docker package, which only some models offer. Open Package Center and search for "Container Manager"; if it's there, you can install it.
- Enough memory: an AI model has to load into memory to run, so free memory must be larger than the model file. With Gemma 3, the 1b version is about 806MB, 4b about 3.4GB and 12b about 8.2GB. The NAS and its other packages need memory too; on a 4GB NAS, start with 1b.
- Expect it to be slow: a typical NAS has a processor but no graphics card, so answers come much more slowly than from cloud AI, and larger models are slower.
Setup
1. Install Container Manager from Package Center.
2. Create a project: in Container Manager, go to Project, create a new one, choose a folder and paste the settings below. This is the version of Open WebUI with Ollama (the program that runs AI models) built in, so one container holds both:
services:
open-webui:
image: ghcr.io/open-webui/open-webui:ollama
ports:
- "3000:8080"
volumes:
- ollama:/root/.ollama
- open-webui:/app/backend/data
environment:
- WEBUI_SECRET_KEY=change-this-to-a-long-random-string
restart: always
volumes:
ollama:
open-webui:
3. Open the web interface: on the office network, open http://<NAS IP>:3000 in a browser and create the first account; it becomes the administrator.
4. Download a model: log in to the NAS with SSH and run the command below to download Gemma 3's 1b version, then choose it in the web interface and start chatting:
sudo docker exec -it open-webui ollama pull gemma3:1b
If SSH is new to you, start with our NAS series.
Staying safe
- Don't open port 3000 to the internet or forward it on your router. To use it from outside, connect back to the office network with Tailscale, as in our article on reaching your NAS from your phone.
- Change
WEBUI_SECRET_KEYto a long random string, not the example text. - Create accounts only for colleagues who need one, and turn off open sign-up in the admin settings.
- Keep the NAS and the container updated; see our NAS security checklist.
What it can and can't do
- Good at: summarising document text you paste in, drafting emails and notices, rewriting, first-draft translation between Chinese and English. Nothing leaves the office network.
- Weaker at: small models know less and reason less well than large cloud AI; complex analysis, calculations and recent information are unreliable, and answers are slower.
- Same rule as always: someone checks anything that goes to a customer or feeds a decision. For how to split the work, see Six daily business tasks: where AI really helps.
The value of private AI is that your data never has to leave the company.
If you'd like a private AI assistant set up on your company NAS, or aren't sure yours can run one, talk to us.
