Same Hardware. Different Runtime. Same Result.

Correction, 24 October 2026. The MLX runs in this post used a different, shorter prompt than the Ollama runs, and the post gave a wrong reason for MLX’s faster generation at short context. Different prompt. The MLX script looked for fixture files named 4k.txt, 15k.txt and so on. The files are named pad_4k.txt, pad_15k.txt. So every MLX run used the script’s fallback: one sentence, “The quick brown fox jumps over the lazy dog.”, repeated and cut at four characters per target token (bench.py, load_fixture). The recorded token counts fit that fallback at all 12 sizes. The 89 % ratio comes from the cut; the post put it down to the tokeniser. Shorter prompts. At each size label the MLX prompt was shorter: 13,333 tokens against Ollama’s 15,011 at 15K, and 35,555 against 39,991 at 40K (Phase B summary). So the record shows no MLX cliff up to 35,555 tokens of one repeated sentence. Side-by-side numbers at the same label, such as 1.650 against 1.774 ms/tok at 15K, compare different lengths and different text. exp_051 re-ran it on the same text on 24 October: MLX shows no cliff to 40K and reads prompts 12–24 % faster than Ollama. A4B. The Ollama model, gemma4:26b, is also Gemma 4 26B-A4B, with about 4B active parameters per token; 25.8B is its total (Exp 012-Alpha in the scientific log). Both runtimes ran the same architecture, so A4B does not explain MLX’s faster generation at 4K (52.41 against 42.05 t/s). These records do not explain that gap, and it did not reproduce in exp_051: there MLX generated at Ollama’s speed at 4K and up to 22 % slower beyond. Prefill gap. 1.650 against 1.774 ms/tok is a 7 % gap. 3 % is the gap to Ollama with FA=0 and q8_0 (1.694 ms/tok). FA=1 + q8_0 row. 25.08 is a generation speed. The 15K prefill was 8.316 ms/tok (Exp 007, 15K, repeat 1). The record: the Exp 011 evidence and Exp 012-Alpha in the scientific log. ...

June 9, 2026 · 9 min · Nestor

The Cliff That Wasn't

Correction, 24 October 2026. Several numbers in this post did not match the published record. The corrected numbers leave the findings unchanged. Exp 008 table. The 4K and 8K rows held Condition C’s numbers. Exp 008 recorded 1.557 ms/tok and 40.42 t/s at 4K, and 1.642 ms/tok and 42.60 t/s at 8K. The 25K prefill of 1.869 ms/tok is in no file; Exp 008 recorded 1.983 (Phase A summary). Condition B table. Nine values matched no evidence file. Phase A recorded 2.417 ms/tok and 33.44 t/s at 4K, 3.244 ms/tok and 31.70 t/s at 8K, 25.36 t/s at 15K, and 9.125 ms/tok and 19.87 t/s at 25K (Phase A summary). Phase B recorded 11.434 ms/tok at 32.5K and no generation speed (Phase B summary). The 25K row is below Condition B’s cliff threshold of 10.81 ms/tok, so it is not a cliff. The cliff starts at 32.5K, as the post said. Condition D, 15K prefill. 25.08 is Exp 007’s generation speed at 15K. Its prefill was 8.316 ms/tok (Exp 007, 15K, repeat 1). Dates. The cliff measurement this post starts from was made on 28 April 2026 (Incident 003-Alpha). It put the cliff between 25K and 35K tokens. The post said March and about 22K. The Ollama log shows both flags on since at least 5 March 2026; the post said they were added about a month before Exp 007. Which machine. The Ollama log entry that shows the flags is from the Mac Mini. No record shows the MacBook Pro’s settings. Update: production setting. Production ran Flash Attention off with q8_0 from 7 June until 29 August 2026, when the Ollama 0.33.0 upgrade forced q8_0 off. Since then it runs Flash Attention off with the default fp16 KV cache (Exp 015 and Exp 023 in the log). The record: Incident 007-Alpha, Exp 008 and Exp 010 in the scientific log. ...

June 7, 2026 · 12 min · Nestor

The Silicon Wager: M4 Pro vs M5 Max — When the Right Machine Changes Everything

Correction, 24 October 2026. This post called the Mac mini’s wall a memory-bandwidth limit. It came from an Ollama setting that was switched on during the Mini runs. Settings. The Mini ran with OLLAMA_FLASH_ATTENTION=1 and OLLAMA_KV_CACHE_TYPE=q8_0 on. The pre-registration said Flash Attention off (Incident 007-Alpha in the scientific log). The MacBook Pro’s settings were never recorded, so “same environment variables” is not supported. The Mini’s wall. With both settings off (Exp 008), the Mini shows no cliff up to 39,991 tokens. Its prefill at 40K took 88.6 s (Exp 008). In this post’s run it took 1,539 s (Exp 007). Both are prompt_eval_duration, repeat 1. Exp 010 traced the cliff to Flash Attention. So the wall is not a memory-bandwidth limit, and the “Mini <18K” ceiling no longer applies. The comparison. The Mini numbers here were taken with those settings on. With them off, the Mini generates 31.08 t/s at 25K (Exp 008), against 14.40 here. The MacBook’s 40K–50K cliff has not been re-run with known settings. Times. 1,190 s and 48 s were whole-request times, including generation, and they came from different phases. Input processing alone at 35K (prompt_eval_duration, repeat 1, Phase A) took 1,181 s on the Mini and 43.5 s on the MacBook. At 40K the MacBook’s prefill took 55 s; 59 s was its whole-request time. The Mini’s 26 minutes at 40K holds (1,539 s). Speed-up range. “+200% to +470%” was wrong. On the Phase A means, the MacBook generates 130 % faster at 4K and 438 % faster at 35K (Mini, MacBook). The record: Incident 007-Alpha and Exp 008 in the scientific log. ...

May 29, 2026 · 10 min · Nestor

Should We Stop Asking Local LLMs to Think?

Note, 24 October 2026. On a bounded task (a 3.8K-token prompt in a 16K context), thinking cut gemma4:26b’s wrong replies from 10 to 1 on 30 dev enquiries, at about a minute each (exp_050). The runaway below came from an open-ended request over a long context. The advice to keep the question precise and the context small still stands. The claim that thinking is “just more cycles for the model to wander” does not hold on that task. ...

April 21, 2026 · 11 min · Miktam