On-device AI leaderboard

Top Engines

Desktop: 3 engines ranked

  1. Rank 1: MLX LM 95 out of 100, range 95 to 96
  2. Rank 2: Ollama 93 out of 100, range 91 to 94
  3. Rank 3: llama.cpp 92 out of 100, range 84 to 93
+ 6 engines with incomplete coverage

Coverage

Speed score per device, out of 100: each device ranked on its own.
DesktopMobile
M5 Max 64 GiB macOS 27 Apple M5 MaxOnePlus 13 16 GB Android 16 Qualcomm Snapdragon 8 Elite (SM8750)Pixel 8 8 GB Android 16 Google Tensor G3iPhone 12 4 GB iOS 27 Apple A14 Bionic
llama.cpp85 out of 100, in 22 of 22 comparisons97 out of 100, in 6 of 6 comparisons86 out of 100, in 4 of 4 comparisons69 out of 100, in 5 of 5 comparisons
LiteRT-LMNot ranked. Results in 4 of 22 comparisons; a rank needs 11.78 out of 100, in 4 of 6 comparisons98 out of 100, in 3 of 4 comparisonsNot measured on this device.
uzuNot ranked. Results in 7 of 22 comparisons; a rank needs 11.Not measured on this device.Not measured on this device.100 out of 100, in 5 of 5 comparisons
Magnitude91 out of 100, in 12 of 22 comparisonsNot measured on this device.Not measured on this device.Not measured on this device.
MLX LM98 out of 100, in 18 of 22 comparisonsNot measured on this device.Not measured on this device.Not measured on this device.
Ollama88 out of 100, in 22 of 22 comparisonsNot measured on this device.Not measured on this device.Not measured on this device.
Rapid-MLX98 out of 100, in 12 of 22 comparisonsNot measured on this device.Not measured on this device.Not measured on this device.
ExecuTorchNot ranked. Results in 2 of 22 comparisons; a rank needs 11.Not ranked. Results in 2 of 6 comparisons; a rank needs 3.Not ranked. Results in 1 of 4 comparisons; a rank needs 2.Not ranked. Results in 1 of 5 comparisons; a rank needs 3.
ZMLNot ranked. Results in 4 of 22 comparisons; a rank needs 11.Not measured on this device.Not measured on this device.Not measured on this device.

Performance

Performance scope: Desktop.

LFM2.5 1.2B Instruct on M5 Max · 64 GiB · 8-bit · Archive 256 input / 128 output · macOS 27

Speed

Response time, ms

Response time, ms. Medians, ms.
EngineMedian Range
Magnitude25.5 25.3 to 25.6
Ollama30.5 24.1 to 32.3
MLX LM30.7 30.6 to 31.2
Rapid-MLX33.5 31.3 to 37.3
llama.cpp34.5 34.0 to 36.6
uzu75.1 74.3 to 76.5
LiteRT-LM277 276 to 278
  1. Rank 1: Magnitude 25.5 ms, range 25.3 to 25.6; open the experiment and its raw trials
  2. Rank 2: Ollama 30.5 ms, range 24.1 to 32.3; open the experiment and its raw trials
  3. Rank 3: MLX LM 30.7 ms, range 30.6 to 31.2; open the experiment and its raw trials
  4. Rank 4: Rapid-MLX 33.5 ms, range 31.3 to 37.3; open the experiment and its raw trials
  5. Rank 5: llama.cpp 34.5 ms, range 34.0 to 36.6; open the experiment and its raw trials
  6. Rank 6: uzu 75.1 ms, range 74.3 to 76.5; open the experiment and its raw trials
  7. Rank 7: LiteRT-LM 277 ms, range 276 to 278; open the experiment and its raw trials

Lowest Memory

Peak memory, GiB

Peak memory, GiB. Medians, GiB.
EngineMedian Range
Ollama1.41 1.41 to 1.43
llama.cpp1.41 1.41 to 1.43
MLX LM1.44 1.43 to 1.45
uzu1.46 1.46 to 1.52
Rapid-MLX1.69 1.68 to 1.70
LiteRT-LM1.73 1.73 to 1.73
Magnitude1.90 1.89 to 1.90
  1. Rank 1: Ollama 1.41 GiB, range 1.41 to 1.43; open the experiment and its raw trials
  2. Rank 2: llama.cpp 1.41 GiB, range 1.41 to 1.43; open the experiment and its raw trials
  3. Rank 3: MLX LM 1.44 GiB, range 1.43 to 1.45; open the experiment and its raw trials
  4. Rank 4: uzu 1.46 GiB, range 1.46 to 1.52; open the experiment and its raw trials
  5. Rank 5: Rapid-MLX 1.69 GiB, range 1.68 to 1.70; open the experiment and its raw trials
  6. Rank 6: LiteRT-LM 1.73 GiB, range 1.73 to 1.73; open the experiment and its raw trials
  7. Rank 7: Magnitude 1.90 GiB, range 1.89 to 1.90; open the experiment and its raw trials

Performance Breakdowns

Generation by precision on LFM2.5 1.2B Instruct

Generation by precision on LFM2.5 1.2B Instruct. Medians, tok/s.
EngineBF168-bit4-bit
uzuNot measured 374.3 540.7
Rapid-MLX198.0 361.9 Not measured
MLX LM199.0 361.1 Not measured
Magnitude199.6 330.1 444.5
Ollama199.6 326.2 454.6
llama.cpp190.5 325.0 438.1
LiteRT-LMNot measured 119.1 Not measured
ExecuTorchNot measured Not measured 472.1
ZML192.6 Not measured Not measured

Explore Benchmarks

Open the explorer