HardwareParts and accessories

How much SSD space a self-hosted agent and local models need

An agent that calls a cloud model needs very little disk. Add local models and the drive fills fast: one 70B model at 4-bit is a 43 GB download, and people rarely keep only one. Here is how much each piece takes, from the Ollama library and the projects' own docs, and the drive size that follows.

In short: With a cloud model, a 256 GB SSD is plenty. With a few 7B to 14B local models, take 1 TB; with 27B to 70B models, or a collection you switch between, 2 TB. Put it on NVMe whenever the machine has the slot: an SD card is far slower on the small writes an agent makes all day.

At a glance
7-8B model at 4-bit (Ollama)4.4 GB (mistral:7b) to 5.2 GB (qwen3:8b)
70B model at 4-bit43 GB (llama3.3:70b)
Ollama container image on Jetson7 GB, per NVIDIA's Jetson AI Lab
OpenClaw minimum disk500 MB free, per its Raspberry Pi page
SD card against SSD on a Pi 52,000 against 70,000 or more 4 kB random write IOPS (Raspberry Pi's figures)

Model file sizes

The download sizes of the default tags in the Ollama library, read on the tags pages. Most are Q4_K_M, the usual 4-bit format; gpt-oss uses its own 4.25-bit format.

Ollama tagSizeFormat
llama3.2:1b1.3 GBQ8_0 (the q4_K_M variant is 808 MB)
llama3.2:3b2.0 GBQ4_K_M
gemma3:4b3.4 GBQ4_K_M
mistral:7b4.4 GBQ4_K_M
llama3.1:8b4.9 GBQ4_K_M
qwen3:8b, deepseek-r1:8b5.2 GB eachQ4_K_M
gemma3:12b8.2 GBQ4_K_M
qwen3:14b9.3 GBQ4_K_M
gpt-oss:20b14 GBMXFP4
gemma3:27b17 GBQ4_K_M
qwen3:30b19 GBQ4_K_M
qwen3:32b20 GBQ4_K_M
llama3.3:70b43 GBQ4_K_M
gpt-oss:120b65 GBMXFP4

Disk is rarely what stops a model; memory is. A model needs about its file size in RAM or VRAM plus its context. Which machine loads which model is on Mac mini 16 GB vs 24 GB and Ollama out of memory.

What else sits on the drive

  • The system. For Raspberry Pi OS, Raspberry Pi recommends an SD card of at least 8 GB for the Lite image and 32 GB for the desktop images: a floor, not a working size.
  • The agent. OpenClaw's Pi page gives a minimum of 500 MB free and recommends a 16 GB card or a USB SSD. Its Docker docs ask for at least 6 GB for a local source image build; that figure is RAM, not disk, and pre-built images avoid it.
  • Container images. NVIDIA's Jetson AI Lab notes 7 GB for the Ollama container image alone. Agents that bundle Chromium for their browser tool (OpenClaw's -browser image variant, NanoClaw's agent image) add more; their sizes are not published.
  • Swap. NVIDIA's OpenClaw tutorial for the Jetson asks for at least 16 GB of swap, which is a 16 GB file on the drive.
  • Logs, databases, workspaces. These grow with use and have no published size; rotate logs and prune old Docker images now and then.

For scale, NanoClaw's Proxmox helper creates a container with a 40 GiB disk by default for one install with Docker.

How big a drive: our sizing

Our estimate, built from the sizes above: OS, Docker images and logs, plus the models you keep, plus room to download a new model before you delete the old one. Not a measurement.

SetupWhat the models takeDrive to buy
Agent with a cloud modelNone128 to 256 GB
Plus one or two 3B to 8B models2 to 11 GB256 to 512 GB
Plus several 8B to 32B models5 to 20 GB each, easily 60 to 100 GB1 TB
A 70B model or a collection you switch between43 GB for one 70B, 65 GB for gpt-oss:120b2 TB

The memory of the machine caps what is worth storing: a 16 GB machine will not run a 43 GB model, so a 2 TB drive there only holds files you cannot load. Match the drive to the RAM you have.

NVMe, USB SSD or SD card

OpenClaw's Pi page says it bluntly: "Use a USB SSD, SD cards are slow and wear out." Raspberry Pi's own numbers show the gap for the small random writes an agent makes (4 kB random IOPS):

Storage, on a Raspberry Pi 5Read IOPSWrite IOPS
Raspberry Pi microSD card (SDR104)5,0002,000
Raspberry Pi SSD 256 GB40,00070,000
Raspberry Pi SSD 512 GB50,00090,000
Raspberry Pi SSD 1 TB90,00090,000

On a Pi 5, the NVMe route is an M.2 HAT and a 2230 or 2242 drive (Raspberry Pi SSD on Amazon; set-up on Raspberry Pi 5 NVMe). On a Pi 4, which has no PCIe, a USB 3 SSD (USB 3 SSD on Amazon). The mini PCs on our device sheets ship with NVMe drives, and the Jetson has an M.2 2280 slot (1 TB NVMe on Amazon). We have no maker figures for SATA drives in our sources, so we make no claim about them.

Mac mini: choose the storage when you order

The Mac mini M4 comes with a 256 GB SSD, configurable to 512 GB, 1 TB or 2 TB; the M4 Pro starts at 512 GB and goes to 1, 2, 4 or 8 TB. Apple sells the storage as a configure-to-order option, so decide when you buy. Our estimate, from the model sizes above: 256 GB is tight once macOS, Docker Desktop and a couple of 14B models share it; 512 GB is the comfortable size for a 24 GB Mac running 8B to 14B models, 1 TB for a 64 GB M4 Pro meant for 70B models.

What to buy

Shop links go through /go/ and open Amazon (amazon.fr in the EU and Switzerland, amazon.com elsewhere). As an Amazon Associate we earn from qualifying purchases. Your price does not change and no brand pays for a place on this page (disclosure). We write no price down: it moves, the shop shows today's.

Questions

How much disk space does a local LLM need?
About its download size: 2.0 GB for llama3.2:3b, 4.9 GB for llama3.1:8b, 9.3 GB for qwen3:14b, 20 GB for qwen3:32b and 43 GB for llama3.3:70b, all at 4-bit in the Ollama library.
Is 256 GB enough for an AI agent?
With a cloud model, yes: the agent, the OS and Docker images take a fraction of it. With local models, 256 GB fills after a handful of 8B to 14B models.
Does a faster SSD make the model answer faster?
No. Generation speed comes from memory bandwidth once the model is loaded. A faster drive shortens loading the model into memory; with Ollama keeping a model loaded for 5 minutes by default, that happens less often than you might think.
Can I run models from an SD card on a Raspberry Pi?
The files load, but the card is slow and wears out under an agent's writes; OpenClaw's Pi page says to use an SSD. OpenClaw also says not to run local LLMs on a Pi at all.
Can I add storage to a Mac mini later?
Apple sells the internal storage as a configure-to-order option, so choose it when you order. An external drive is the way to add space afterwards.

Sources