This calculator works out how much memory a local AI model needs on a NAS or home server, starting from Ollama's own download size for the model, then shows which NAS models hold it and what running it costs against a cloud API at your own token use.
Pick a model, the context length and how many requests run at once. The memory figure is the model's size plus an allowance for the context and memory kept free for the NAS; both are NTK planning figures you can change, or enter what ollama ps shows for your model.
1. The model
ollama ps replaces the model size and the allowance.| NAS | Memory | Result | Market price |
|---|
Own an older NAS? Check it in Can My NAS Run AI?, which also covers Immich, Synology Photos and Whisper.
2. Cloud API or local: what it costs
Enter your usage above to see the cost comparison.
A local model and a cloud model are not equally capable; this compares cost only. Drives, your time and the NAS's other jobs are not counted.
| Model | A month | A year |
|---|
The model's size. Ollama publishes the download size of each model it offers, at a stated quantisation (how many bits each weight is stored in). That size is the starting point: the whole model has to sit in memory.
Context. Ollama's FAQ says it uses a context window of 4,096 tokens by default. Ollama's documentation says a larger context length increases the memory needed to run a model, and that tasks needing a large context, such as agents and coding tools, should be set to at least 64,000 tokens. Ollama's FAQ says parallel requests to one model multiply its context size, and the memory needed scales with the number of parallel requests times the context length. Ollama's FAQ says the ollama ps command shows the models loaded into memory with their size, and 100% CPU means the model was loaded entirely into system memory. Ollama's hardware page lists NVIDIA GPUs (compute capability 5.0 and newer), AMD GPUs through ROCm, Apple GPUs through Metal, and further GPUs on Windows and Linux through Vulkan, which on most Linux distributions needs extra components installed. It does not list NPUs. Ollama publishes no per model figure, so NTK adds a planning allowance of 15% of the model size for every 4,096 tokens held in memory (the context length times the requests running at once). It is labelled as NTK's, and you can change it.
The NAS itself. 2 GB is kept free for the NAS system and its other apps, an NTK planning default you can change.
Measured beats planned. If you have run the model, the SIZE that ollama ps shows replaces the model size and the allowance.
Which NAS hold it. The total is compared with each NAS's memory as shipped and its maker's maximum, from NTK's NAS specification database. No speed figure is given: no primary benchmark of Ollama on these NAS processors exists.
Cost. Cloud = your input and output tokens a day times each vendor's published price per million, in US dollars, converted with the RBA rate (1.4333 Australian dollars per US dollar, 2026-09-30). Local = the hardware you buy for this (nothing if you own it), any memory upgrade, and electricity for the hours it runs at your rate. Picking a NAS fills in its maker's busy figure; at 24 hours a day the NAS is counted at that figure all day. Makers measure it during file transfers or typical operation, and Synology says its figures are not meant to be minimum or maximum power consumption figures (Synology, checked 2026-10-14), so a NAS that is idle most of the day will usually use less. A figure you measured at the wall is better. Break-even is shown only when it exists, and never as negative years.
| Model (Ollama) | Parameters | Quantisation | Download | Context window | Memory to plan for | Source |
|---|---|---|---|---|---|---|
| Llama 3.2 3B (llama3.2:3b) | 3.21B | Q4_K_M | 2 GB | 128K tokens | 4.3 GB | Ollama, checked 2026-10-18 |
| Qwen3.5 4B (qwen3.5:4b) | 4.21B | Q4_K_M | 3.3 GB | 256K tokens | 5.8 GB | Ollama, checked 2026-10-18 |
| Llama 3.1 8B (llama3.1:8b) | 8.03B | Q4_K_M | 4.9 GB | 128K tokens | 7.7 GB | Ollama, checked 2026-10-18 |
| Qwen3 8B (qwen3:8b) | 8.19B | Q4_K_M | 5.2 GB | 40K tokens | 8 GB | Ollama, checked 2026-10-18 |
| DeepSeek-R1 8B (deepseek-r1:8b) | 8.19B | Q4_K_M | 5.2 GB | 128K tokens | 8 GB | Ollama, checked 2026-10-18 |
| Gemma 4 E4B (gemma4:e4b) | 7.52B | Q4_K_M | 6.6 GB | 128K tokens | 9.6 GB | Ollama, checked 2026-10-18 |
| Qwen3.5 9B (qwen3.5:9b) | 8.95B | Q4_K_M | 6.6 GB | 256K tokens | 9.6 GB | Ollama, checked 2026-10-18 |
| Gemma 4 12B (gemma4:12b) | 11.9B | Q4_K_M | 8 GB | 256K tokens | 11.2 GB | Ollama, checked 2026-10-18 |
| Phi-4 14B (phi4:14b) | 14.7B | Q4_K_M | 9.1 GB | 16K tokens | 12.5 GB | Ollama, checked 2026-10-18 |
| Qwen3 14B (qwen3:14b) | 14.8B | Q4_K_M | 9.3 GB | 40K tokens | 12.7 GB | Ollama, checked 2026-10-18 |
| gpt-oss 20B (gpt-oss:20b) | 20.9B | MXFP4 | 14 GB | 128K tokens | 18.1 GB | Ollama, checked 2026-10-18 |
| Gemma 3 27B (gemma3:27b) | 27B | Q4_K_M | 17 GB | 128K tokens | 21.6 GB | Ollama, checked 2026-10-18 |
| Qwen3.5 27B (qwen3.5:27b) | 26.9B | Q4_K_M | 17 GB | 256K tokens | 21.6 GB | Ollama, checked 2026-10-18 |
| Qwen3 30B (mixture of experts) (qwen3:30b) | 30.5B | Q4_K_M | 19 GB | 256K tokens | 23.9 GB | Ollama, checked 2026-10-18 |
| Llama 3.1 70B (llama3.1:70b) | 70.6B | Q4_K_M | 43 GB | 128K tokens | 51.5 GB | Ollama, checked 2026-10-18 |
Memory to plan for = download + the NTK allowance at Ollama's default 4,096 token context and one request + 2 GB kept free for the NAS, rounded up.
{# s268 T543 (2): the "A month at| Model | Input, per million tokens | Output, per million tokens | Source |
|---|---|---|---|
| OpenAI GPT-6 Astra Standard processing, short context (requests up to 272K input tokens) Short context rate. OpenAI prices a request with more than 272K input tokens at 2x input and 1.5x output for the whole request. | US$10 | US$50 | OpenAI, checked 2026-10-18 Currency not named on the page; treated as US dollars |
| OpenAI GPT-6.1 Sol Standard processing, short context (requests up to 272K input tokens) Short context rate. OpenAI prices a request with more than 272K input tokens at 2x input and 1.5x output for the whole request. | US$2 | US$10 | OpenAI, checked 2026-10-18 Currency not named on the page; treated as US dollars |
| OpenAI GPT-6 Luna Standard processing, short context (requests up to 272K input tokens) Short context rate. OpenAI prices a request with more than 272K input tokens at 2x input and 1.5x output for the whole request. | US$0.10 | US$0.50 | OpenAI, checked 2026-10-18 Currency not named on the page; treated as US dollars |
| Anthropic Claude Opus 5.5 Base input and output tokens One rate at any request length: Anthropic includes the full 1M token context window at its standard price. | US$4 | US$20 | Anthropic, checked 2026-10-18 |
| Anthropic Claude Sonnet 5.5 Base input and output tokens One rate at any request length: Anthropic includes the full 1M token context window at its standard price. | US$2 | US$10 | Anthropic, checked 2026-10-18 |
| Anthropic Claude Haiku 5.5 Prompts up to 100,000 tokens (Anthropic charges more above that) Rate for prompts up to 100,000 tokens. Anthropic charges higher prices for a request whose prompt is over 100,000 tokens. | US$0.10 | US$0.50 | Anthropic, checked 2026-10-18 |
| Google Gemini 3.6 Flash Paid tier, standard. Google's price through December 31, 2026. Google lists US$1.50 in and US$7.50 out per million tokens starting January 1, 2027. Google lists one rate for this model, with no request length tier. | US$0.75 | US$3.75 | Google, checked 2026-10-18 |
| Google Gemini 3.5 Flash-Lite Paid tier, standard, text input Google lists one rate for this model, with no request length tier. | US$0.30 | US$2.50 | Google, checked 2026-10-18 |
Local inference keeps prompts and documents on hardware you control. If you handle personal information, the OAIC explains your obligations (oaic.gov.au).
Prices come from NTK's market price index of Australian retailers (2026-10-23); a NAS with too few current listings shows no price. Your first step for a faulty product is usually the retailer that sold it. The ACCC explains your rights under the Australian Consumer Law at accc.gov.au.
Method last reviewed: 2026-10-14. Model sizes and cloud prices last checked at the source: 2026-10-18. Exchange rate: RBA statistical table F11 (Exchange Rates), series FXRUSD, WM/Reuters, 2026-09-30.
Ask us anything about NAS, storage, or infrastructure. We reply by email.
Message sent!
We'll be in touch soon.