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. ...