How big a model can an office Mac run,
and at what settings?
Before building anything on a local language model you need its operating point: how fast it answers, how much memory longer documents cost, and what can be compressed without losing quality. This study measured all three for a 14-billion-parameter model on one Mac Studio, then put it to work: a private API, offline documents and a first document assistant.
The answer, in three numbers
What this means for real work
A capable model for one team member at a time, on a machine an office can buy outright.
No per-question cost, no data leaving
Once the machine is bought, every question is free and private. The same request format as cloud APIs means existing tools can point at it instead.
Know the limits before you build
Speed, memory and context length were measured, not assumed. That turns "can we run this locally?" into a sizing decision rather than a guess.
Let the model write, let programs format
The model produces text; ordinary, reliable programs make the PDF, check the numbers and keep the records.
The base for document answers
This model and its settings were the starting point for the document assistant; its keyword-search limits are why the next study added search by meaning.
How it works
Seven phases, each recorded with its settings, logs and raw numbers.
Build and verify
An isolated build of llama.cpp with Apple Metal, the official 4-bit model file, and a SHA-256 check before anything ran.
Benchmark
Repeated reading and writing speed, then 4K, 8K and 16K context windows, with memory and swap watched throughout.
Compress safely
Three precisions of working memory, compared on speed, memory and a fixed long-document test.
Put it to work
A local API, fully offline PDF writing, and question answering over documents with sources.
Results
In one paragraph
A 14-billion-parameter model, compressed to 4 bits (8.4 GiB), runs comfortably for one person on a 32 GB Mac: it reads about 260 tokens a second and writes about 30, faster than most people read. An 8,000-token window is the sweet spot; 16,000 works but starts to push the machine. Compressing the model's working memory to 8 bits saved over a gigabyte with no measured loss in a long-document test.
How to read the numbers
A token is a piece of a word, roughly three-quarters of an English word. The context window is how much text the model can see at once. Swap is the computer moving memory to disk: a little is harmless, a lot means it is running out.
1. Speed for one user
Three repeated benchmark runs were almost identical: reading a 512-token prompt at 262.25 ± 0.53 tokens per second and writing at 29.83 ± 0.03, with peak memory around 8.6 GiB and no new swap. All 41 layers ran on the Mac's GPU.
2. How much text it can hold
Peak memory by context window
The numbers
| Context | Combined speed | Peak memory | New swap |
|---|---|---|---|
| 4K + 128 | 198.47 tokens/s | 8.67 GiB | none |
| 8K + 128 | 199.27 tokens/s | 9.81 GiB | none |
| 16K + 128 | 183.88 tokens/s | 11.02 GiB | about 494 MiB |
The 8K setting is the daily default: almost no speed cost and plenty of room for other programs. 16K is for long documents, and was the first setting where the machine began to swap.
3. Compressing the working memory
The model's weights are fixed; its working memory (the KV cache) grows with the conversation and can be stored at different precision. At 16K, all three settings ran at about the same speed. On the same long document, 110 items, all three scored 7 out of 7 on automatically graded questions.
The numbers
| Working memory (KV cache) | Speed at 16K | Peak memory | Saved | Long-document test |
|---|---|---|---|---|
| 16-bit (reference) | 181.25 tokens/s | 11.06 GiB | — | 7 / 7 |
| 8-bit (recommended) | 183.08 tokens/s | 9.88 GiB | 1.17 GiB | 7 / 7 |
| 4-bit | 182.38 tokens/s | 9.21 GiB | 1.85 GiB | 7 / 7 |
No loss was found in this test. That is not proof that the lower settings are equivalent for all writing, code or longer contexts, so 8-bit is the recommended default and 16-bit stays the reference.
4. Things that are easy to misunderstand
- "Reasoning" mode is not a guarantee. It lets the model think at more length; on logic puzzles it still failed when it started from a wrong premise or went round in circles.
- A system prompt shapes tone, not training. Instructions changed the style and rules of answers, but did not remove every behaviour the model learned in training.
- The model does not need to "know" file formats. To produce a PDF fully offline, the model wrote the text and an ordinary program laid out the A4 pages, which were then checked visually and by extracting the text back.
5. A private drop-in for a cloud API
The model was served on the machine itself, listening only locally, with the same request format many applications already use for cloud models. Other programs on the Mac could call it exactly as they would call a cloud service, without anything leaving the computer.
6. The first document assistant
The last phase answered questions from Markdown, text and PDF files with keyword search (BM25): find the relevant passages, give only those to the model, require a source mark such as [S1], and save what was retrieved for checking. It correctly read a speed figure from page 1 of a PDF. Keyword search misses questions phrased in other words, which led directly to the meaning-based document search study.
Limits
What these results do not show.
- One machine and one user. Several people at once share the same speed; serving a team needs measuring under that load.
- The long-document test had seven graded questions. It can show a loss, but not prove there is none.
- Only the 4-bit model was tested. Larger or less compressed models need more memory than this Mac has to spare.
- No model was trained or fine-tuned here. Training on new material is measured in MedAdapt Lab.
Code and licence
The study's scripts, test material, raw measurements and phase reports are open source under the Apache License 2.0, as part of the AI-Lab repository. Model weights are not included; each keeps its publisher's licence and is downloaded separately at a pinned revision with a checked SHA-256. See the licence page.