SLAP documentation

Sizing SLAP: hardware, models and how many people

For the person choosing the machine and the AI models for a site. How to install is in the setup guide.

Status (2026-12-01). Most measured numbers here come from one machine, the team's demo PC, which has no GPU. A slower laptop was measured once on 2026-12-01 (A slower machine). Nothing has been measured on a GPU or with many people using the web page at once. Figures marked estimate were worked out, not measured. A full comparison across different hardware is planned but waits on access to that hardware (SCOPE.md NB-09). For planning on other machines, from a laptop to a multi-GPU server, see the hardware chart (estimates).


The short answer#

What limits SLAP is how many people ask at the same moment, not how many accounts it has. By default it answers one question at a time, and everyone else waits in line.


How SLAP uses the machine#


Models compared#

Measured on the demo PC, one person asking one document question.

Model Download Memory it uses First word after Answer finished after Reads Writes
llama3.2:3b (default) 2.0 GB 2.6 GB 6.5 s about 10 s 190 tokens/s 23 tokens/s
gemma3:4b (optional) 3.4 GB 2.9 GB 8.5 s 11 to 13 s 158 tokens/s 20 tokens/s
granite4:tiny-h 4.2 GB 4.4 GB 4.8 s 5.7 s 256 tokens/s 48 tokens/s
nomic-embed-text (required) 0.3 GB 0.4 GB - - - -
gpt-oss:20b 13 GB not measured not measured not measured not measured not measured

The answers in the test were short, 40 to 180 tokens. Longer answers take longer to write, at the "Writes" speed.


How many people at once#

Bar chart. Seconds until the last person sees the first word. 1 person: llama3.2:3b 7, gemma3:4b 9, granite4:tiny-h 5. 2 people: 15, 19, 10. 4 people: 32, 41, 21.

When several people ask at the same moment, SLAP answers them one after another. Each person ahead of you adds about one whole answer's time.

Seconds until the last person sees the first word:

People asking at the same moment llama3.2:3b gemma3:4b granite4:tiny-h
1 6.5 8.5 4.8
2 15 19 10
4 32 41 21
8 70 not measured not measured

How many questions it finishes, one after another:

Model Document questions a minute
llama3.2:3b about 7
gemma3:4b about 6
granite4:tiny-h about 11

What this means for a site. If you want nobody to wait more than about half a minute for the first word, the demo PC with the default model copes with 3 or 4 people asking at the same moment. People spend most of their time reading and typing rather than waiting, so how often that many ask at once depends on how your people work.

Accounts were not tested. What was measured is people asking at the same moment, which is what makes others wait.


One answer at a time, or several?#

Line chart for llama3.2:3b. Seconds until the last person sees the first word, for 1, 2, 4 and 8 people. One at a time: 6.5, 15, 32, 70. Four at a time: 6.5, 13, 26, 57.

The setting OLLAMA_NUM_PARALLEL lets a model work on several answers at once. SLAP ships with 1. The test tried 4:

Without a GPU, keep it at 1. The test answers were short, and with long answers four at a time may help a little more. On a GPU it may help more too. Neither has been measured.


Running more than one model#


Choosing a machine#

Memory to plan for = 4 GB + every model you keep ready. The 4 GB covers the operating system (about 2 GB, estimate), SLAP's other parts (1.5 GB, measured) and the search model (0.4 GB, measured).

Memory What fits Measured?
8 GB llama3.2:3b or gemma3:4b, one at a time. No room for a second model. No, estimate
16 GB Any of the small models, or two of them kept ready together. No, estimate
32 GB (the demo PC) All three small models kept ready together, or gpt-oss:20b. Yes, the demo PC does both
With a GPU Depends on the GPU's own memory. A model runs fast only if it fits there. No

A slower machine#

Measured once, on 2026-12-01, on the team's Windows laptop from 2019: an Intel Core i7-10510U (4 cores, 15 W), no usable GPU, and Docker given 4 processor threads and 8 GB of memory. It ran the default llama3.2:3b on Ollama 0.33.2, one question at a time. The questions were real document questions built with Open WebUI's own prompt, 1,500 to 1,800 tokens each.

For document questions, a machine like this makes people wait minutes, not seconds.


The settings#

They live in .env. Change them there, then run ./start_mvp.sh again. Settings come from .env every time SLAP starts (D-20).

Setting SLAP ships with The demo PC uses What it does Advice
OLLAMA_NUM_PARALLEL 1 2 How many answers one model works on at once Keep 1 without a GPU
OLLAMA_MAX_LOADED_MODELS 1 3 How many models stay ready in memory 2 or more, so search and chat both stay
OLLAMA_KEEP_ALIVE 15m -1 (forever) How long an unused model stays ready Longer if memory allows
CHAT_MODEL llama3.2:3b - The model SLAP downloads and offers first See the model table

How this was measured#


Not yet known#


Source: docs/sizing/README.md in the CapstoneLocalAI repository (local working copy). Built Dec 3, 2026.