TerabyteWise
Updated · Specifications verified October 12, 2026

Run Ollama on a NAS: Check the Memory First

16 of 32 NAS models ship with more memory than the 4.9GB Llama 3.1 8B download

As an Amazon Associate we earn from qualifying purchases. Prices and availability come from Amazon.com as of the last update and may change.

Quick answer

Ollama runs on a NAS as a container, started with the command its Docker page lists under "CPU only", and what limits it there is memory. Ollama's FAQ says a model shown as 100% CPU was loaded entirely in system memory, and that required memory scales with the context window, 4,096 tokens by default. So a model's download size is the first figure to set against the memory in the NAS. Llama 3.2 3B is a 2.0GB download and Llama 3.1 8B is 4.9GB: of the 32 NAS models on record, 16 ship with more memory than the second, and 14 more pass it at the maker's memory limit.

As of October 12, 2026
Lowest price in the tables on this page
$145.99
In-stock listings in the tables on this page
24
Prices updated
52 minutes ago

What Ollama's documentation states

PointOllama's wording
Running with no graphics cardUnder "CPU only": docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
Where the model sits100% CPU means the model was loaded entirely in system memory
How to checkThe ollama ps command shows what is loaded, and its Processor column shows which memory the model was loaded into
Context windowBy default, Ollama uses a context window size of 4096 tokens; OLLAMA_CONTEXT_LENGTH overrides it
Memory and contextRequired RAM will scale by OLLAMA_NUM_PARALLEL * OLLAMA_CONTEXT_LENGTH
How long a model stays loadedBy default models are kept in memory for 5 minutes before being unloaded
Not enough memory for another modelAll new requests will be queued until the new model can be loaded
Where models are stored on Linux/usr/share/ollama/.ollama/models, or the directory set in OLLAMA_MODELS

Download size against NAS memory

ModelOllama tagDownloadContext windowNAS models shipping with more memoryMore at the maker's limit
Llama 3.2 1Bllama3.2:1b1.3GB128K32 of 320
Llama 3.2 3Bllama3.2:3b2.0GB128K26 of 325
Gemma 3 4Bgemma3:4b3.4GB128K26 of 325
Mistral 7Bmistral:7b4.4GB32K16 of 3214
Llama 3.1 8Bllama3.1:8b4.9GB128K16 of 3214
Qwen3 8Bqwen3:8b5.2GB40K16 of 3214
Gemma 3 12Bgemma3:12b8.2GB128K1 of 3224
Phi-4 14Bphi4:14b9.1GB16K1 of 3224
Qwen3 14Bqwen3:14b9.3GB40K1 of 3224
Gemma 3 27Bgemma3:27b17GB128K0 of 3215
DeepSeek-R1 32Bdeepseek-r1:32b20GB128K0 of 3215
Llama 3.1 70Bllama3.1:70b43GB128K0 of 327

How to read that table

It compares two published numbers, the download size on Ollama's library page and the memory each NAS maker states. It is not a test, and a NAS with exactly as much memory as the download has nothing left for its own system, which is why the count is of models with more memory, not the same.

The Ollama pages read here give no memory requirement per model and no speed for any hardware, so neither appears on this page. The context window column is the model's maximum; Ollama's default is 4,096 tokens whatever the model allows.

Llama 3.1 70B is a 43GB download. No NAS on record ships with that much memory, and 7 can be upgraded past it.

Graphics hardware Ollama lists

HardwareWhat Ollama states
NvidiaGPUs with compute capability 5.0 or higher and driver version 550 or newer
AMD RadeonSupported through the ROCm library; Linux needs the AMD ROCm v7 driver
AppleGPU acceleration through the Metal API
VulkanAdditional GPU support on Windows and Linux, enabled by default when the backend is installed; most Linux distributions need extra components

What that means for the graphics in a NAS

Ollama's hardware page names Nvidia, AMD Radeon and Apple graphics, and a Vulkan route that links to Intel's and AMD's Linux driver instructions. It does not state that the integrated graphics in any particular processor is supported, so nothing is claimed here for the graphics in any NAS.

Ollama's Docker commands for a graphics card add a --gpus or --device option. The "CPU only" command has neither, and it is the one that needs nothing from the NAS beyond container support.

Related pages

Sizes at every quantization, a calculator for your own unit, and which NAS models state container support.

LLM model size chart · Local AI RAM calculator · Home Assistant on a NAS (container and VM support by model)

Where this comes from

Ollama's FAQ, hardware and Docker documentation and its library tag pages, read on October 12, 2026. NAS memory figures are each maker's, as recorded on this site's device pages.

Checked on October 12, 2026. Sources: Ollama documentation: FAQ; Ollama documentation: Hardware support; Ollama documentation: Docker; Ollama library: llama3.2 tags; Ollama library: llama3.1 tags; Ollama library: gemma3 tags; Ollama library: qwen3 tags; Ollama library: deepseek-r1 tags; Ollama library: mistral tags; Ollama library: phi4 tags.

NAS on Amazon.com, by price

Every new NAS listing tracked, cheapest first. Memory figures on this page are for the models named in its tables only.

Price per
24 products
ProductCapacityPrice$ / TBTypePrimeBuy
8 Bay NAS Case, Support MATX ITX Motherboard & ATX PSU, SATA & SAS HDD Compatible, 8x3.5 Hot-Swap + 2x2.5 SSD, Dual-Chamber NAS PC Case Support 4 Fans Mounting, BlackDiskless$145.99-NAS device · network-Buy on Amazon
BUFFALO LinkStation 210 2TB 1-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home2 TB included$153.99-NAS + drives bundle-Buy on Amazon
JONSBO N3 Mini-ITX NAS PC Chassis, ITX Computer Case, 8HHD+1-SSDD isk Bays NAS Mini Aluminum with Steel Plate Case, Built-in 2x10cm Fan, Power Support: SFX105mm, Support 130mm CPU CoolerDiskless$159.59-NAS device · network-Buy on Amazon
Synology DS124 Personal Backup & File Hub - Protect Photos, Secure Home Surveillance (1-Bay Diskless NAS)Sold by AmazonDiskless$159.99-NAS device · networkPrimeBuy on Amazon
6 Bay NAS Case, Aluminum MATX ITX NAS PC CaseDiskless$169.99-NAS device · network-Buy on Amazon
AUDHEID 8 Bay Mini ITX Micro ATX NAS Case, Hot Swap Drive Bays DIY Storage Enclosure, Dual Independent Air Channel, Support 3.5"/2.5" HDD SSD for Home Media Server Small Business Data BackupDiskless$184.99-NAS device · network-Buy on Amazon
LincStation E1 4-Bay NAS Storage, Quad-Core 2.0GHz, 4GB RAM, 64GB eMMC, 2.5GbE Port & 4K HDMI 2.0, Supports M.2 NVMe SSD & SATA HDD Up to 76TB, Remote Access for iOS/Android/Windows (Diskless)Diskless$185.99-NAS device · network-Buy on Amazon
BUFFALO LinkStation 210 4TB 1-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home4 TB included$192.99-NAS + drives bundle-Buy on Amazon
Asustor Drivestor 2 Gen 2 AS1202T 2 Bay NAS Storage for Personal Home UsersDiskless$199.99-NAS device · network-Buy on Amazon
Synology 2-Bay DiskStation DS223j (Diskless)Sold by AmazonDiskless$209.99-NAS device · networkPrimeBuy on Amazon
BUFFALO LinkStation 210 6TB 1-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home6 TB included$230.99-NAS + drives bundle-Buy on Amazon
UGREEN NAS DH2300 2-Bay for Beginners & Personal Users, Phone BackupDiskless$239.00-NAS device · network-Buy on Amazon
QNAP TS-233-US 2 Bay Affordable Desktop NAS with ARM Cortex-A55 Quad-core Processor and 2 GB DDR4 RAM (Diskless)Diskless$239.00-NAS device · network-Buy on Amazon
QNAP TS-233-US 2 Bay Desktop NASSold by AmazonDiskless$239.00-NAS device · networkPrimeBuy on Amazon
UGREEN NAS DH2300 2-Bay Desktop NAS (Diskless) Bundle with Cat 8 Ethernet Cable 3FT, High Speed Braided 40Gbps 2000Mhz Network Cord Cat8 RJ45Drives included$241.84-NAS + drives bundle-Buy on Amazon
UGREEN NAS DH2300 2-Bay Desktop NAS,Network Attached Storage (Diskless) Bundle Cat 8 Ethernet Cable 10FT, High Speed Braided 40Gbps 2000Mhz Network Cord Cat8 RJ45 LAN CablesDrives included$246.50-NAS + drives bundle-Buy on Amazon
JONSBO N5 NAS Pc Case, E-ATX,12HDD+4SSD Drive Bay GPU HP Host, Supports Max. 4 GPU,E-A.TX(330mm) MB/ATX PSU Supports, with 3 Fans Built-in, 8 Slots PCI, Solid Wood Veneer Computer Case,Home ServerDiskless$249.99-NAS device · network-Buy on Amazon
UGREEN NAS DH2300 2-Bay NAS and USB4 80Gbps Cable Kit, 64TB Ready Network Attached Storage with Remote Access & Fast Charging for Mac/iPad64 TB included$252.43-NAS + drives bundle-Buy on Amazon
LincStation N1 6-Bay NAS Storage - 16G RAM, 128G ROM, Intel N5105 Quad-Cor 2.9 GHz, 2 Bays 2.5" SATA HDD + 4xM.2 NVMe SSD Slots, 4K HDMI, 2.5GbE, 2-Year Warranty, Network Attached Storage (Diskless)Diskless$256.49-NAS device · network-Buy on Amazon
HKUXZR N100/N150 NAS Motherboard Mini-ITX, 4-Core Low Power Processor, 2X 2.5GbE Intel i226-V, 6X SATA 6Gbps, 2X M.2 NVMe 2280, 1x PCIe 3.0 x4, TF Slot, Dual 4K Display, 6X USB (N150+Motherboard)Diskless$269.99-NAS device · network-Buy on Amazon
UGREEN NASync DH2300 2-Bay Desktop NAS Bundle with 2.5gb SwitchDrives included$275.18-NAS + drives bundle-Buy on Amazon
STATIONPC PocketCloud Portable NAS, M.2 NVMe & SD Card Slots, Up to 8TB Capacity (Diskless), One-Click Backup, Wi-Fi 6 Support, LCD Display & App Control, Dual 3200mAh Batteries for Outdoor BackupDiskless$279.99-NAS device · network-Buy on Amazon
Asustor Drivestor 4 Gen 2 AS1204T, 4 Bay NAS, Personal Home Cloud BackupDiskless$282.99-NAS device · network-Buy on Amazon
BUFFALO LinkStation 220 4TB 2-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home4 TB included$285.99-NAS + drives bundle-Buy on Amazon

Frequently asked questions

Can Ollama run on a NAS without a graphics card?

Yes. Ollama's Docker page lists a CPU-only command, and its FAQ says a model shown as 100% CPU is loaded entirely in system memory.

How much memory does a NAS need for Ollama?

More than the model's download, at least. Llama 3.1 8B is 4.9GB and Llama 3.2 3B is 2.0GB on Ollama's library pages, and Ollama says required memory also scales with the context window.

What is Ollama's default context window?

4,096 tokens, by Ollama's FAQ. The OLLAMA_CONTEXT_LENGTH variable overrides it, and required memory scales with it.

Where does Ollama keep its models in Docker?

In the volume its Docker command mounts at /root/.ollama. On a plain Linux install the FAQ gives /usr/share/ollama/.ollama/models, changeable with OLLAMA_MODELS.