Choose a model size for your hardware
Pick one row of the table below and use that model for the whole workshop. The Apple Silicon numbers on this page were measured in October 2026; the Windows and Linux rows are estimates from published benchmarks.
What uses your memory
- The model file. A model’s size is given in parameters, the learned numbers inside it. In the compressed form the workshop uses (Q4_K_M), the file is about 0.6 GB per billion parameters; less compressed versions are larger. Parameters and quantization explains the names.
- The context window’s memory. The context window is the amount of text the model can hold at once. It is counted in tokens, and a token is roughly a word or part of a word. For the 8B model, this memory is about 0.5 GB for every 4,096 tokens of context.
Both must fit in your computer’s memory (RAM) together with the operating system and your open applications.
flowchart LR
RAM[Your RAM] --> OS[OS and apps, about 3 GB]
RAM --> M[Model file]
RAM --> C[Context memory]
The tiers
| Your memory | Model tag | File | In memory | Context | What it cannot do |
|---|---|---|---|---|---|
| 8 GB | nishad/apertus:4b |
2.4 GB | about 2.8 GB | 4,096 tokens (hard limit) | Long documents in RAG; tool calls less reliable (11 of 20 in testing); quality below the 8B |
| 16 GB or more | nishad/apertus:8b |
5.1 GB | about 5.3 GB at 4,096 and 5.8 GB at 8,192 context | 8,192 tokens by default, up to 65,536 | Nothing in this workshop |
| 16 GB, curious | nishad/apertus:8b-v1.5-preview |
5.1 GB | as the 8B | 8,192 by default | Unofficial build, not checked against the original; see the Model guide |
Speed you can expect
The speeds below are for the 8B model, in tokens per second. The Apple Silicon rows are measured; the Windows and Linux rows are estimates. The 4B is roughly twice as fast.
| Machine | Tokens per second |
|---|---|
| Base Apple M1, M2 or M4 | about 14 to 24 |
| Apple M-Pro and M-Max | 40 to 80 |
| Windows or Linux laptop, no graphics card, DDR4 | 3 to 7 |
| Windows or Linux laptop, no graphics card, DDR5 | 9 to 14 |
The model must read the whole prompt before it answers. This step, called prompt processing, is slow on a CPU: a 2,000-token prompt takes 35 to 80 seconds before the first word appears. This is why Part 2 keeps the RAG prompts short on 8 GB machines. A RAG prompt is a prompt that includes passages fetched from your documents.
Special cases
- Intel Macs run Ollama on the CPU only, and cannot run LM Studio at all.
- Windows laptops with integrated Intel or AMD graphics run on the CPU. Ollama does not use the built-in graphics chip (the integrated GPU) by default.
- A laptop NVIDIA card with 6 to 8 GB fits the 8B only with a 4k (4,096-token) context window.
Measure your own machine
Run this in a terminal:
ollama run nishad/apertus:8b --verboseAsk one question and read the eval rate line, which gives the speed in tokens per second. While the model is still loaded, ollama ps shows SIZE, PROCESSOR (100% GPU, or a split between CPU and GPU) and CONTEXT.
eval rate is above 10 tokens per second, your machine is fast enough for both halves.Why 70B is not on the list
The 70B version, with 70 billion parameters, is a 44 GB file. It does not fit on a laptop, and the workshop does not need it.