Advanced 11 minNAS

Ollama on a Synology NAS: an LLM on the server familial

Direct response

Yes, in practice on x86 NAS devices (Intel Celeron or AMD Ryzen) whose RAM can be upgraded: entry-level ARM models have only 1 to 2 GB of memory. Plan on 6 to 8 GB of free RAM for a 7B model in Q4, in addition to DSM. There is no official Ollama package: use Container Manager (DSM 7.2+) and the ollama/ollama image.

A Synology NAS can host a real local LLM, accessible from anywhere on your home or business network, without depending on a cloud. But not every configuration is suitable: the processor, available RAM, and how you expose the service on the network determine whether you get a usable tool or a disappointment. Here is what to check before installing, and what to expect from CPU-only operation.

By Mohamed Meguedmi·Update 2026-09-28·Tested on Windows, macOS, and Linux

#Which Synology NAS devices are compatible with Ollama

Memory is the first thing to check before any purchase or installation attempt. Ollama publishes Linux versions for both x86-64 and ARM64, so the ARM processor is not the real blocker. However, entry-level Synology NAS devices built around a Realtek ARM processor have only 1 GB (DS124, DS223j) or 2 GB (DS223) of memory, according to Synology's specifications, while a 7B model quantized in Q4 weighs about 5 GB by itself. x86 models (Intel Celeron or AMD Ryzen, generally the “Plus” series) are the realistic target because their memory can be expanded.

In practice, the “Plus” and higher-tier series, equipped with an Intel Celeron or an AMD Ryzen, are the ones that work. Before installing anything, check your exact model's specifications: the series name (Plus) is a clue, not a guarantee by itself.

!
What to check before buying a NAS for Ollama
With 1 or 2 GB of memory, an entry-level ARM NAS cannot load a useful model, even a small one. Check the installed and maximum memory in the Synology specifications before making any purchase dedicated to this project.

#How much RAM to plan for realistic use

The Local AI Kit

Your private ChatGPT, free, on your own machine in an hour — LM Studio, Ollama, Open WebUI, your documents, no cloud.

  • Lifetime online access
  • PDF + files
  • Lifetime updates

RAM requirements vary based on the loaded model, quantization, context length, and number of concurrent users; you also need to leave headroom for DSM and other packages running in parallel. A 7B model in Q4 uses about 5 GB for its weights, plus context and processes: plan for 6 to 8 GB of free RAM. On an 8 GB NAS, headroom becomes very limited once DSM and Container Manager are accounted for; 16 GB provides comfortable operation.

Original RAM on some compatible x86 Synology models
ModelCPUOriginal RAMMaximum RAM
DS225+ / DS425+Intel Celeron J41252 GB DDR46 GB
DS725+AMD Ryzen R1600 (2 cores)4 GB DDR4 ECC32 GB
DS925+AMD Ryzen V1500B (4 cores)4 GB DDR4 ECC32 GB
DS1525+ / DS1825+AMD Ryzen V1500B (4 cores)8 GB DDR4 ECC32 GB

The DS225+ and DS425+ ship with only 2 GB of RAM by default: that is far from enough for a usable LLM, even a small model. A memory upgrade is essential on these models before installing Ollama.

#Which Synology models to prioritize

The Ryzen-equipped models (DS725+, DS925+, DS1525+, DS1825+) offer expandable RAM up to 32 GB and a CPU better suited to computation than the Celerons in the DS225+/DS425+ lines. For serious LLM use, these are the ranges to target, with a memory upgrade to the maximum supported amount rather than the original configuration.

#Install Ollama via Container Manager

Synology does not offer Ollama as an official package in Package Center: you have to use Container Manager, which replaced the former Docker package starting with DSM 7.2 (on DSM 7.0 and 7.1, the former Docker package is still available).

  1. 01
    Check the DSM version
    Container Manager requires DSM 7.2 or later. On an earlier version, you need to use the old Docker package, which has a different interface.
  2. 02
    Open Container Manager and search for the official image
    From the DSM main menu, open Container Manager, go to Registry, search for ollama/ollama, select the official image, and click Download.
  3. 03
    Configure the port and start the container
    Map the container port (11434 by default for Ollama) to a high-numbered range on the host, along the lines of the 8000-9000 range recommended for this type of service, rather than changing DSM's default ports.
  4. 04
    Download a First Model Suited to the Available RAM
    Once the container is running, connect via the command line or the interface and retrieve a model sized for the RAM actually available on the NAS, not the total installed RAM.

#Add an interface: Open WebUI in Docker Compose

Ollama alone provides only an API and a command line, not a chat interface: to get an experience close to ChatGPT, you need a second piece of software connected to it. The recommended approach is to deploy Ollama and Open WebUI as two separate Docker containers on the same NAS, then obtain a model sized for the RAM actually available rather than the most capable model found online—the model choice remains governed by the same memory constraints as Ollama alone, described above. Since DSM 7.2, Container Manager has offered a “Project” tab that runs a docker-compose.yml file directly, without using SSH or typing commands in a terminal, bringing the Synology experience closer to that of a standard Linux server while remaining controlled from the DSM graphical interface.

  1. 01
    Create the project folder
    In File Station, create a dedicated folder, such as /volume1/docker/openwebui, to hold the project's docker-compose.yml file; keeping this folder separate from the one used to install Ollama alone prevents the two containers' configurations from getting mixed together.
  2. 02
    Write the docker-compose.yml file
    Declare two services: ollama (the API already installed in the previous step, or reintroduced here) and open-webui, connected to Ollama through its internal URL, with port 3000 exposed on the host for the web interface.
  3. 03
    Launch the project from Container Manager
    Create a new Project in Container Manager, point it to this folder, then deploy: the underlying command is equivalent to docker compose up -d and starts both containers together, in the correct dependency order.
  4. 04
    Open the interface and create the admin account
    Once the containers are running, open the NAS IP address followed by port 3000 in a browser on the local network, create the administrator account on first access, then retrieve a model from Ollama directly in the interface.
→
Set the right expectations from the start, before installing anything
For non-real-time use—ask a question and wait 30 to 60 seconds for the complete answer—CPU-only inference on a Celeron-based NAS remains functional. For interactive use, with responses appearing progressively without noticeable delay, you need a GPU or dedicated inference hardware, which a Synology NAS does not provide.

#Realistic expectations with CPU only

A Synology NAS runs Ollama on the CPU only: there is no dedicated GPU to use on these machines. Actual throughput must be measured on the target model and workload, because it varies with context length, the Ollama version, and concurrent NAS activity (backups, indexing, and other packages). A qualitative ballpark observed for long generation is around 5 tokens per second—more than sufficient for asynchronous use (summarization, background processing), but more limiting for a demanding live conversation.

i
What a Synology NAS does well
An asynchronous use case—document summarization, information extraction, automations triggered by a script—handles modest throughput well. A fast interactive conversation, much less so.

#Network security: do not expose Ollama to the Internet

A NAS generally contains all the personal or business files of a household or small organization: it’s a machine to protect as a priority, not expose for convenience. Forwarding a DSM port or container port directly to the Internet places a device containing all your files directly in the path of automated scans, and Synology NAS devices have already been targeted by ransomware campaigns for precisely this reason.

!
Simple rule
Keep Ollama accessible only on the local network (LAN) or through a VPN to your own network. Never forward the container's port to the Internet in the router or DSM configuration.

#Compared with a production Docker deployment

This guide targets a simple, single-container installation on a home or small-business NAS. For a production stack with an HTTPS reverse proxy, dedicated web interface, vector RAG, and monitoring, the approach is different and more complex to operate: it is covered by this site's production Docker Compose guide, designed for a dedicated Linux server rather than a NAS.

#Who this setup makes sense for

A Ollama on a Synology NAS is suitable for anyone who already has an x86 NAS running for storage and wants to add a light, asynchronous AI workload accessible across the local network: summarizing documents placed in a shared folder, extracting information from archived emails, or serving as a component in a home automation system. It is not the right target if the goal is a smooth, fast everyday conversation, or if the NAS already serves as the primary backup and has no memory headroom for an LLM without risking slower performance for its usual tasks.

You already have an x86 Plus NAS with free RAM
This is the most cost-effective scenario: no additional hardware to buy, just a possible memory upgrade and a container to configure.
You want an instant conversation like ChatGPT
A NAS CPU alone remains slow compared with a dedicated GPU or a recent unified-memory chip; for this use case, a mini PC or a machine with a GPU is a better choice.
The NAS already hosts critical backups
Check the available RAM and CPU load before adding Ollama: an undersized service can slow existing backup tasks.
Frequently asked questions
Can all Synology NAS devices run Ollama?+
No, not in practice. Ollama exists for both x86-64 and ARM64, but entry-level NAS devices with Realtek ARM processors have only 1 GB (DS124, DS223j) or 2 GB (DS223) of memory, which is too little to load a model. The realistic options are x86-64 devices (Intel Celeron or AMD Ryzen, generally the “Plus” series and above), whose memory can be expanded.
How much RAM does a Synology NAS need for Ollama?+
Allow 6 to 8 GB of free RAM for a 7B model in Q4 (about 5 GB of weights plus context), in addition to what DSM and other active packages consume—the exact requirement varies with quantization, context length, and the number of simultaneous users. Models shipped with only 2 GB by default (DS225+, DS425+) require a memory upgrade before any installation.
Is there an official Ollama package in Synology Package Center?+
No, and that probably won't change: Ollama remains third-party software from Synology's perspective. You have to use Container Manager (DSM 7.2 or later), which replaced the old Docker package and also provides a Project tab for running a docker-compose.yml file directly from the interface, without SSH, then retrieve the official ollama/ollama image from the container manager's Registry.
What speed should you expect from Ollama on a Synology NAS?+
The NAS runs on the CPU alone, without a dedicated GPU. Throughput depends heavily on the model, context, and NAS load; an observed ballpark for long-form generation is around 5 tokens per second. That's fine for asynchronous use (summaries, background tasks), but CPU-only inference on a Celeron-based NAS is better suited to waiting 30 to 60 seconds for a complete response than to a conversation that appears progressively as it is generated.
Is it safe to make Ollama accessible from the Internet?+
No. A NAS often contains all your personal or professional files; forwarding a DSM port or container port to the Internet exposes it directly to automated scans, and Synology NAS devices have already been targeted by ransomware campaigns for this precise reason. Stick to local network access or a VPN to your own network.
How do you add a ChatGPT-style chat interface to Ollama on Synology?+
By deploying Open WebUI as a second container linked to Ollama, using a docker-compose.yml file placed, for example, in /volume1/docker/openwebui and launched from the Project tab in Container Manager (DSM 7.2+), without needing to open an SSH session. The interface is then accessible on port 3000 from any device on the local network, with an administrator account created on first access.
Did this guide help you?

Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.