Two small models, two Macs, and the point where a long conversation stops being quick. The limit turned out to be speed, and it sits well below what the models advertise
Status
Measured 23 and 24 November 2026 on a Mac mini (M4 Pro, 24 GB) with nothing else loaded, and on a Mac Studio (M1 Max, 64 GB) with our other models loaded but idle. Two runs for each speed figure up to 64K, one beyond. The speed figures are not part of our run log. The quality runs are
Fig. 1 Past 48K, every turn waitsBTL-4 Compact on both Macs. Worked from the reading speeds in section 4: 1,000 divided by tokens a second.
Read this first
Most of this was measured on an M4 Pro Mac mini with 24 GB, with nothing else loaded. Where a figure comes from our Mac Studio (M1 Max, 64 GB), the table says so. The Mac Studio had our other models loaded but idle.
The speed figures are from llama.cpp's own benchmark tool and do not join the run log. The quality figures near the end are full benchmark runs and do.
Both Macs use the same llama.cpp build (b11846) and the same model files, checked by sha256.
The short version
Both models slow down steadily as the context fills. By 32K of context they read new text at less than half their starting speed. By 64K, less than a third.
Nothing we could set took the slope away. Flash attention, batch size, a smaller or larger quant, the maker's own llama.cpp fork and a newer GPU path all left it where it was.
Our working limit is 32K to 48K. Past that a model still runs, but it stops feeling quick.
The advertised context is not the usable context. One of these models lists 1,048,576 tokens. The other lists 262,144. Neither is pleasant past 64K on these Macs.
On the 24 GB Mac, 128K fell off a cliff. On the 64 GB Mac it did not. Same file, same build.
Shrinking the context cache cost writing speed on the M1 Max. Badly, and worse the deeper the context.
A 10 GB file kept most of the quality of a 21.5 GB one. It took about half the memory.
What was tested
Two models, picked because both claim very long context and both are cheap to run.
Spark-X2.6-4B from XHToken. A 4B dense model. We used the maker's Q4_K_M file, 3.54 GB. Of its 36 layers, 27 look only at the last 512 tokens and 9 look at everything.
BTL-4 Compact from Bad Theory Labs. A 35B mixture of experts with about 2.1B parameters active per token, squeezed to 2.30 bits per weight in a single 9.97 GB file. Of its 40 layers, 10 keep a cache that grows with the context.
The test is llama.cpp's benchmark tool: read a 512-token prompt and write 128 tokens, starting with a set number of tokens already in the context. So each figure is the speed of the next piece of work at that depth, not the average over a whole long prompt.
1. Reading, on the M4 Pro
Tokens a second, reading 512 new tokens on top of what is already in the context.
Fig. 2 By 64K both models read at under a third of their starting speedM4 Pro. A 4B dense model and a 35B mixture of experts, falling along almost the same line.The table behind Fig. 2
Already in context
Spark-X2.6-4B
BTL-4 Compact
Nothing
656.6
722.2
8K
529.0
571.6
32K
318.6
304.4
48K
238.6
235.4
64K
200.6
196.7
The two models fall along almost the same line, though one is a 4B dense model and the other a 35B mixture of experts.
At 32K, reading is at 42 to 49% of its starting speed. At 64K, 27 to 31%.
There is no cliff in this range. It is a steady slope.
2. Writing, on the M4 Pro
Tokens a second, writing 128 tokens.
Fig. 3 Writing falls more gently, and BTL-4 Compact holds on betterM4 Pro. At 64K BTL-4 Compact keeps half its writing speed. Spark keeps 38%.The table behind Fig. 3
Already in context
Spark-X2.6-4B
BTL-4 Compact
Nothing
68.1
64.9
8K
60.8
58.3
32K
39.2
45.0
48K
33.0
39.8
64K
26.1
32.8
Writing falls too, more gently. BTL-4 Compact keeps half its writing speed at 64K. Spark keeps 38%.
BTL-4 Compact holds up better at depth, with fewer of its layers looking at the whole context.
3. What didn't help
All on the M4 Pro, all on Spark-X2.6-4B.
A different quant. We ran three files: a third-party 3.03 GB quant, the maker's Q4_K_M and the full BF16 at 8.23 GB. At 64K they read at 163.8, 200.6 and 186.6 tokens a second. The smallest file was the slowest.
The maker's own llama.cpp fork. On a real 25,435-token prompt it read at about the same speed as plain llama.cpp, 415 to 434 tokens a second on both.
Flash attention off. On the third-party quant, reading at 32K was 305 tokens a second with it off against 270 with it on, and writing was slower, 25.7 against 32.9. The slope was still there.
Batch size. Reading 4,096 tokens from cold ran at 500 tokens a second with a batch of 2,048 and 502 at the default 512.
Forcing the newer GPU path. llama.cpp has a newer Metal path that is switched on by default only for the newest Apple chips. Forced on here, reading was 5 to 8% slower: 604.8 against 655.4 with nothing in context, 503.2 against 527.2 at 8K.
Closing everything else. A clean rerun with nothing else loaded moved the 64K figure from 185.7 to 200.6. Better, not a different answer.
We have not measured an M5 Mac. Other people's published figures suggest the newest chips read several times faster at depth. That is their measurement, not ours.
4. Past 64K
BTL-4 Compact only. Reading, then writing, in tokens a second.
Fig. 4 At 128K the 24 GB Mac fell off a cliff. The 64 GB Mac did notBTL-4 Compact, same file and build on both Macs. The 24 GB Mac wasn't run at 96K at this setting.The table behind Fig. 4
Already in context
M4 Pro, 24 GB
Mac Studio, 64 GB
Nothing
722.2 / 64.9
703.6 / 65.4
8K
571.6 / 58.3
551.1 / 59.6
32K
304.4 / 45.0
337.9 / 46.4
48K
235.4 / 39.8
269.1 / 40.8
64K
196.7 / 32.8
223.3 / 36.4
96K
not run at this setting
166.3 / 30.0
128K
44.8 / 11.2
132.0 / 25.4
Up to 64K the two Macs are close. Within 3% with nothing in context. At 64K the Mac Studio is ahead by 14% reading and 11% writing.
At 128K the 24 GB Mac collapsed. Reading dropped to 44.8 tokens a second and writing to 11.2. The model took 15.3 GB and swap did not grow, so it wasn't swapping. We haven't established the cause.
The 64 GB Mac carried on down the same slope. 132 reading and 25 writing at 128K. Slow, but it works.
5. A smaller context cache
llama.cpp can store the context cache in 8 bits to save memory. The BTL-4 Compact card recommends it. On the Mac Studio, tokens a second writing:
Fig. 5 The 8-bit cache cost most of the writing speedBTL-4 Compact on the Mac Studio (M1 Max). The saving in memory is paid for at every depth.The table behind Fig. 5
Already in context
Full cache
8-bit cache
Nothing
65.4
60.5
8K
59.6
32.9
32K
46.4
13.7
96K
30.0
5.4
128K
25.4
4.2
The 8-bit cache made writing far slower on the M1 Max, and the gap grew with depth. At 32K it wrote at less than a third of the full-cache speed.
Reading was only about 10% slower at 96K and 128K.
On the M4 Pro the cost looked much smaller. One run at 96K with the 8-bit cache wrote at 25.0 tokens a second. We didn't run the full cache at 96K there, so we can't put a number on the difference.
The card's advice compares 8 bits with 4 bits, for quality. It doesn't mention speed on a Mac.
6. Does the small file hold up?
Speed says nothing about answers. So both models went through our full benchmark on the M4 Pro: 16 suites, 1,334 cases, single slot at 64K, reasoning off.
BTL-4 Compact against the 21.5 GB Q4_K_M build of the same model, measured on the Mac Studio four days earlier. Passed out of cases.
Fig. 6 A 10 GB file kept up with a 21.5 GB one, and beat it in one suiteBTL-4, the full benchmark on each file, a suite a row. A bar's length is the gap as a share of that suite's cases.The table behind Fig. 6
Suite
Compact, 9.97 GB
Q4_K_M, 21.5 GB
tagger
208 / 240
208 / 240
tagger_nullable
221 / 240
161 / 240
needle
68 / 110
65 / 110
grounding
94 / 125
95 / 125
enrichment
47 / 54
45 / 54
epistemics
48 / 48
48 / 48
synthesis
46 / 60
50 / 60
worldview
24 / 40
24 / 40
nullschema
25 / 72
32 / 72
toolcall
50 / 60
55 / 60
toolscale
39 / 40
40 / 40
tools
14 / 15
14 / 15
screening
57 / 60
55 / 60
contract
28 / 48
34 / 48
chainwalk
1 / 2
1 / 2
Most suites are within sampling noise at 12.5 GiB of memory against 23.2 GiB.
Two differences are too big for noise. Compact passed 60 more of the 240 tagger_nullable cases. And when the answer was already on the page, Compact reached for a tool anyway: it answered from the page 2 times in 24, against 22 in 24 for the Q4_K_M.
We can't yet say why. The Compact run used a server flag its maker calls required, which sorts reasoning text into its own field. The Q4_K_M run didn't use it, and it was on the other Mac. So the weights, the flag and the machine all differ.
7. Same test, two Macs
Both models have now run the full benchmark on both Macs with the same file, build and flags.
Spark-X2.6-4B gave the same result on both. Every suite count matched. Case by case, 1,334 of 1,334 had the same pass or fail, and 1,329 replies were word for word the same.
BTL-4 Compact did not match exactly. Of 18 counts, the 16 suites and two extra probes, 9 were equal and 8 more were within 2 cases. The tagger suite was 9 lower on the Mac Studio, 199 against 208.
The on-page behaviour reproduced. 2 in 24 on both Macs. So that one isn't the machine.
A likely reason for the difference between the two models: a mixture of experts picks which experts each token goes to, and a tiny numeric difference between two GPUs can flip that pick. A dense model has no such switch. We haven't tested this.
What we do with this
We keep local agents inside 32K to 48K of context. That is a setting for these Macs, not a property of the models.
We don't shrink the context cache on the M1 Max.
We treat a model's listed context as a ceiling on what loads, not on what's usable.
What to keep in mind
Two models. Both are small and both have unusual attention layouts. A large dense model will slow down sooner.
Next-step speed, not whole-prompt speed. Reading a long prompt from cold averages over every depth on the way up, so it is faster than the figure at the final depth. The 25,435-token prompt above took about a minute.
One run each past 64K. Two runs for everything up to 64K.
The Mac Studio had other models loaded. They were idle, but its figures are not from a quiet machine.
The 128K collapse on the 24 GB Mac is one run with no established cause.
The 8-bit cache was measured at depth on the Mac Studio only.
One benchmark run per model per Mac. The tool-use difference between the two BTL-4 builds needs one more run to separate the flag from the weights.