Stack Sizer
Size a self-hosted stack from official sources.
Load and options
LocalAI
v1.0.0Load
Model up to 8B params at Q4_K_M (≤5.1 GB file, e.g. gallery qwen3-8b), 8,192-token context, 1 request at a time, one model loaded.
Options
Recommended resources
App requirements + system baseline + safety headroom. Nothing else is added, and nothing is rounded to a machine size.
vCPU 5.52, RAM 10.5 GiB, Disk 16.153 GiB
vCPU5.52
RAM10.5GiB
Disk16.153GiB
Breakdown
| Line | From | vCPU | RAM (GiB) | Disk (GiB) | Sources |
|---|---|---|---|---|---|
| LocalAI | LocalAI · Medium load | 4.5 | 7.5 | 5.946 | 12345678910 |
| System baseline | Operating system, Container runtime (Docker Engine, containerd), System logs (journald), plus logs for 1 containers | 0.1 | 1.25 | 8.1 | 111213141516 |
| Safety headroom | vCPU 20%, RAM 20%, disk 15% of apps + baseline | 0.92 | 1.75 | 2.107 | 1712181519 |
| Recommended total | 5.52 | 10.5 | 16.153 |
Sources
- MaziyarPanahi/Qwen3-8B-GGUF: Qwen3-8B.Q4_K_M.gguf, 5,027,783,904 B (LocalAI, read 14 Oct 2026)
- Qwen/Qwen3-8B config.json: 36 layers, 8 KV heads, head_dim 128 (8.2B parameters) (LocalAI, read 14 Oct 2026)
- LocalAI v4.11.0 gallery/qwen3.yaml: backend llama-cpp, context_size 8192, mmap true (LocalAI, read 14 Oct 2026)
- llama.cpp server README: KV cache type -ctk/-ctv default f16; --cache-ram default 8192 MiB (LocalAI, read 14 Oct 2026)
- LocalAI docs, Text generation (llama.cpp): one parallel slot unless set; host prompt cache cache_ram 8192 MiB with idle-slot saving on by default since 4.3 (LocalAI, read 14 Oct 2026)
- LocalAI v4.11.0 pkg/vram/estimate.go: memory estimate = GGUF size + KV cache + overhead (0.02 × 2 × GGUF size + 0.15 GB) (LocalAI, read 14 Oct 2026)
- LocalAI docs, Model configuration: threads default = processor count (example threads: 8), cache_type_k/v map to llama.cpp -ctk/-ctv (LocalAI, read 14 Oct 2026)
- Docker Hub manifest of localai/localai:v4.11.0 (linux/amd64): 18 layers, 305,525,063 B compressed; layers decompressed and counted: 878,025,216 B (LocalAI, read 14 Oct 2026)
- Docker Hub manifest of localai/localai-backends:v4.11.0-cpu-llama-cpp (linux/amd64, same digest as latest-cpu-llama-cpp): 1 layer, 50,037,362 B compressed; decompressed: 172,602,368 B (LocalAI, read 14 Oct 2026)
- Docker: containerd image store is the default on fresh Engine 29+ installs and keeps images compressed and uncompressed (LocalAI, read 14 Oct 2026)
- Ubuntu Server: System requirements (Sizing policy, read 10 Oct 2026)
- Google Kubernetes Engine: About GKE node sizing (Sizing policy, read 10 Oct 2026)
- ANAROQ measurement: dockerd and containerd at rest (Ubuntu 24.04, Docker 29.8.2) (Sizing policy, read 10 Oct 2026)
- Docker Community Forums: Docker resource usage & overhead (Sizing policy, read 10 Oct 2026)
- journald.conf(5), Ubuntu Manpages (Sizing policy, read 10 Oct 2026)
- Docker Docs: Local file logging driver (Sizing policy, read 10 Oct 2026)
- AWS Compute Optimizer: Rightsizing recommendation preferences (Sizing policy, read 10 Oct 2026)
- Kubernetes: Node-pressure Eviction (Sizing policy, read 10 Oct 2026)
- mke2fs(8), Ubuntu Manpages (Sizing policy, read 10 Oct 2026)
Deployment Spec
Turn this result into a link you can keep or share. Everything is in the link; nothing is sent to us.
A short lowercase image id, for example ubuntu-24.04.