The 8 models we measured on 24 GB
The table lists every measured model with its file size from the catalog, the memory ollama ps reports after the run, and the writing speed at a short prompt (median of 3 runs). Sorted by speed. Each model name leads to its row of raw values on LLMBOX Bench.
| Model | Size | File | Memory at 8K | Memory at 32K | tok/s, short prompt |
|---|---|---|---|---|---|
| Gemma 4 E4B | E4B | 6.6 GB | no figure | no figure | 59.5 |
| gpt-oss-20b | 21B, 3.6B active | 14 GB | 12.7 GB | 12.8 GB | 32.4 |
| Gemma 4 12B | 12B | 8 GB | no figure | no figure | 27.5 |
| Qwen2.5-Coder 7B | 7B | 4.7 GB | 4.9 GB | 5.5 GB | 26.2 |
| DeepSeek R1 8B | 8B | 5.2 GB | 6.1 GB | 7.9 GB | 23.6 |
| Qwen3.5 9B | 9B | 6.6 GB | 6.3 GB | 6.1 GB | 21.7 |
| Qwen2.5-Coder 14B | 14B | 9 GB | 9.6 GB | 12.1 GB | 14 |
| DeepSeek R1 14B | 14B | 9 GB | 10 GB | 12.1 GB | 13.9 |
Ollama reported all 6 models with a memory figure at 100% on the GPU, at 8K and at 32K. We print no memory figure for the two Gemma 4 models: Ollama 0.33.0 does not count their mapped weights, so the figure would be too small. Where the reported memory is below the file size (gpt-oss-20b, Qwen3.5 9B), we print what Ollama reports and do not correct it.
How fast they write: short and long prompt
Writing speed depends on how much is already in the context. We measured three cases: a short prompt, one with about 2,900 tokens (8K window) and one with about 12,900 tokens (32K window). The last column is the time the model needs to read the long prompt before the first word appears.
| Model | short | 2,900 tokens | 12,900 tokens | Loss short → long | Reading the long prompt |
|---|---|---|---|---|---|
| Gemma 4 E4B | 59.5 | 58.1 | 39.2 | 34% | 19.8 s |
| gpt-oss-20b | 32.4 | 31.8 | 27.3 | 16% | 24.4 s |
| Gemma 4 12B | 27.5 | 25.5 | 18.4 | 33% | 50.7 s |
| Qwen2.5-Coder 7B | 26.2 | 24.4 | 20.5 | 22% | 39.6 s |
| DeepSeek R1 8B | 23.6 | 21.5 | 17.2 | 27% | 45.6 s |
| Qwen3.5 9B | 21.7 | 21.3 | 20 | 8% | 28.1 s |
| Qwen2.5-Coder 14B | 14 | 12.7 | 10.1 | 28% | 82.9 s |
| DeepSeek R1 14B | 13.9 | 12.6 | 10.1 | 27% | 82.1 s |
In the configurator we call 20 tok/s and more smooth and 8 to 20 usable. By that scale 6 of the 8 models wrote smoothly at a short prompt and 4 at the long one; none fell below 8 tok/s. Qwen2.5-Coder 14B wrote 14 tok/s at a short prompt and 10.1 at the long one. How speed follows from memory bandwidth and file size is in the speed guide.
How much of the 24 GB is in use
A Mac shares its memory between the system and the GPU. Our catalog plans with about 18 GB for the GPU on a Mac with 24 GB (a planning assumption, not reserved memory). The largest measured value stayed below it: gpt-oss-20b with 12.8 GB at a 32K window. The 14B models took 12.1 GB at 32K.
Two settings differ from Ollama's defaults: flash attention is on, and the KV cache is set to q8_0. With the default cache the context takes more memory; the calculation is in the RAM guide. The figures here hold for exactly these settings.
Larger models: not measured, only calculated
This table is a calculation from our catalog, not a measurement: file size plus a reserve for 8K of context, compared with the about 18 GB for the GPU. None of these models ran on our Mac.
| Model | File | Memory at 8K (planned) | Against about 18 GB |
|---|---|---|---|
| Devstral Small 24B | 14 GB | 17 GB | fits by calculation |
| Mistral Small 3.2 | 15 GB | 18 GB | fits by calculation |
| Gemma 3 27B | 17 GB | 20 GB | does not fit by calculation |
| Qwen3.5 27B | 17 GB | 20 GB | does not fit by calculation |
| Qwen3-Coder 30B | 19 GB | 22 GB | does not fit by calculation |
| DeepSeek R1 32B | 20 GB | 23 GB | does not fit by calculation |
By this calculation Devstral Small 24B and Mistral Small 3.2 still fit, and from Gemma 3 27B (17 GB file) on they do not. Qwen3-Coder 30B needs 22 GB by plan. A model that does not fit the GPU share still starts: Ollama then loads part of it on the CPU, and ollama ps shows the split. We have no measurement of that on this machine. Which machines hold a larger model is on the pages for Qwen Coder and DeepSeek R1. Two machines with 128 GB that hold all 6 models of the table by the same calculation are compared in DGX Spark vs ThinkStation PGX.
Other Macs with 24 GB: what carries over
We measured one machine. The memory in use comes from the model file and the cache, not from the chip; with the same settings, expect it on another Mac with 24 GB, but we did not measure that.
Speed depends on memory bandwidth. The M5 in the measured machine has 153 GB/s according to Apple; the Mac mini M6 with 24 GB is in our catalog with 170 GB/s. Scaling the measured speed by that ratio gives 15.6 instead of 14 tok/s for Qwen2.5-Coder 14B. That is a calculation, not a measurement. Which Mac suits which model is in the list of Macs for local LLMs. The entry model with 16 GB is compared in Mac mini M6 vs GEEKOM A8 Max.
How we measured
56 runs on November 10, 2026 on a MacBook Pro with an Apple M5 and 24 GB (macOS 26.3, on AC power), Ollama 0.33.0. Three tests per model: a short prompt (3 runs), about 2,900 tokens in an 8K window and about 12,900 tokens in a 32K window (2 runs each). Every figure above is the median of the runs as Ollama reports them. All raw values, the script and the method are on LLMBOX Bench, with a CSV to recompute them.
What the measurement does not tell you: it comes from one machine and one day. We did not rate the quality of the answers. Every model ran in the quantization Ollama ships under its tag.
Frequently asked questions
Is 24 GB of unified memory enough for local LLMs?
For models with files up to 14 GB, yes: in our measurement on a MacBook Pro M5 with 24 GB the largest of 8 models, gpt-oss-20b, took 12.8 GB with a 32K window and sat 100% on the GPU. We measured nothing larger; by our catalog calculation, models from Gemma 3 27B (17 GB file) on do not fit the about 18 GB for the GPU.
How fast is a 14B model on an M5 with 24 GB?
Qwen2.5-Coder 14B wrote 14 tok/s at a short prompt and 10.1 with about 12,900 tokens in the prompt (Ollama 0.33.0, November 10, 2026).
Can a Mac with 24 GB run Qwen3-Coder 30B?
We did not measure it. Its file is 19 GB and our catalog plans 22 GB at 8K of context. That is more than the about 18 GB a Mac with 24 GB gives the GPU; by calculation it does not fit.
Sources & context
Official sources, checked on November 12, 2026. Technical details and model tags can change. This guide is an editorial assessment; it contains no hardware measurements of our own.
- LLMBOX Bench: raw data of this measurement
- Apple: M5 announcement (memory bandwidth)
- Ollama: FAQ, memory and running locally
How LLMBOX assesses memory, prices and speed is explained in the Methodology. Found a mistake? Send us the exact passage and your source.
Macs with 24 GB in our catalog
Two Macs with the same memory size as the measured machine, with the shops in our catalog. The measured machine itself is a MacBook Pro. Prices come from the shops and change.
Apple Mac mini M6 24 GB
DEIn stock€1,319free shipping
ATIn stock€1,342.48free shipping
ATIn stock€1,405+ €8.90 shippingAd
ATIn stock€1,489+ €6.39 shippingAd
DEOut of stock€1,346free shippingAd
DEOut of stock€1,382.67+ €6.99 shipping
ATOut of stock€1,394.29+ €9.99 shipping
DE · ATPrice in shopview ↗Ad
All 8 offersShow fewer
Delivery in the USA
Prices include VAT, sorted by price including shipping, as of Oct 21, 2026. Only shops with an affiliate program are listed, not the whole market. For purchases through “Ad” links we earn a commission; your price stays the same.
Apple Mac mini M5 Pro 24 GB
DEIn stock€1,689free shippingAdDEIn stock€1,699free shippingAd
DEIn stock€1,699free shipping
DEIn stock€1,699free shippingAd
ATIn stock€1,724.27free shipping
ATIn stock€1,713.28+ €10.99 shippingAd
DEIn stock€1,832.54+ €6.99 shipping
ATIn stock€1,862+ €8.90 shippingAd
ATIn stock€1,889+ €9.99 shipping
ATIn stock€1,979+ €6.39 shippingAd
DE · ATPrice in shopview ↗Ad
All 11 offersShow fewer
Delivery in the USA
Prices include VAT, sorted by price including shipping, as of Oct 16, 2026. Only shops with an affiliate program are listed, not the whole market. For purchases through “Ad” links we earn a commission; your price stays the same.
