Explore this comparison’s ranking

Comparison Not counted

Which engine runs LFM2.5 2.6B best on M5 Max · 64 GiB?

Device
M5 Max · 64 GiB (Apple silicon Macs)
OS
macOS 27
Model
LFM2.5 2.6B, 2.6B parameters
Weights
4-bit
Workload
Archive 256 input / 128 output: 256 tokens in, 128 out
Decoding
Greedy, batch 1, context 4,096
Power
Plugged in

Memory: Peak memory while generating: the less, the better.

Not counted: fewer than two scored engines. A comparison counts once two engines have scores for this objective. Its experiments are below, with their own numbers. How rankings work

Every experiment

Medians over valid trials, with the lowest and highest beneath. Eligible experiments are complete and passed their output check. The ranking above selects each engine's configuration for this objective when its required metrics are measured.

Every experiment in this comparison
ExperimentRanking eligibilityDecode tok/s, higher is betterFirst token ms, lower is betterMemory GiB, lower is betterPrefill tok/s, higher is betterValid trials
LiteRT-LM 0.19.1 · CPU · litert-int4 Eligible, approximately: The experiments use different effective KV cache precision: litert-lm default, f16, model-dtype. The experiments here use different 4-bit schemes: litert-int4, Q4_K_M, mlx-affine-4bit-g64.54.1 range52.9–54.41,590 range1,583–1,6182.24 range2.24–2.24166.0 range163.2–166.86of 6 planned
llama.cpp b12110 · Metal · Q4_K_M Complete Its output check failed: 8/9 of the checks the model passes at BF16; needs 8 and the mandatory ones (needle-start, continuation-128). Left out, failed by every BF16 configuration: color, sort, needle-end.218.4 range212.3–220.462.5 range61.2–65.61.84 range1.84–1.864,141 range3,950–4,2376of 6 planned
Magnitude 0.2.17 · Metal · Q4_K_M Unsupported Magnitude's chat API renders LFM2.5 2.6B's own template, which always opens a thinking block, so it streams reasoning and can't run the closed-think prompts (measured in qualification).––––0of 6 planned
MLX LM 0.32.2 · Metal · mlx-affine-4bit-g64 Complete Its output check failed: 7/9 of the checks the model passes at BF16; needs 8 and the mandatory ones (needle-start, continuation-128). Left out, failed by every BF16 configuration: color, sort, needle-end.265.2 range264.8–265.648.5 range48.2–48.81.87 range1.77–2.015,341 range5,313–5,3766of 6 planned
Ollama 0.40.13 · Metal · Q4_K_M Complete Its output check failed: 8/9 of the checks the model passes at BF16; needs 8 and the mandatory ones (needle-start, continuation-128). Left out, failed by every BF16 configuration: color, sort, needle-end.228.0 range226.9–229.351.9 range51.3–54.91.84 range1.84–1.865,074 range4,798–5,1326of 6 planned
Rapid-MLX 1.0.2 · Metal · mlx-affine-4bit-g64 Complete Its output check failed: 7/9 of the checks the model passes at BF16; needs 8 and the mandatory ones (needle-start, continuation-128). Left out, failed by every BF16 configuration: color, sort, needle-end.265.2 range263.1–265.658.0 range55.3–59.32.12 range2.06–2.294,457 range4,360–4,6846of 6 planned
uzu 0.6.17 · Metal · mirai-m Unsupported uzu can't run the frozen prompts: Error: uzu counted 23 input tokens, not the frozen prompt's 26 (measured in qualification).––––0of 6 planned

Every trial, metric by metric

The line runs from an experiment's lowest to its highest valid trial, the dot is the median and each tick is one trial. Every scale starts at zero.

Decode speed tok/s, higher is better
Time to first token ms, lower is better
Peak memory GiB, lower is better
Prefill speed tok/s, higher is better

Caveats

  • Publisher cards identify the base model but do not always pin the exact export source checkpoint revision.
  • Engines may differ in quantization scheme, effective KV cache precision, kernels, and activations.

About this comparison

Worked out from its experiments: every experiment here shares the device, the OS major version, the power state, the base model, the quantization class and the workload. Measured under methodology v0.6. Comparison id glenn-m5-max-64gb--macos-27--lfm2.5-2.6b--4-bit--archive-256-128.