Explore benchmarks
Filter by model, hardware, workload and quantization. Every score links to the comparisons and experiments behind it.
Top Engines
| # | Engine | Speed score out of 100 |
|---|---|---|
| 1 | Magnitude†, an approximate comparison, see details | 100 /100 Score |
| 2 | MLX LM†, an approximate comparison, see details | 99 /100 Score |
| 3 | Ollama†, an approximate comparison, see details | 99 /100 Score |
| 4 | Rapid-MLX†, an approximate comparison, see details | 98 /100 Score |
| 5 | llama.cpp†, an approximate comparison, see details | 92 /100 Score |
| 6 | ZML†, an approximate comparison, see details | 76 /100 Score |
details
Speed Decode speed: tokens generated per second.
Score: 100 is the best result in every comparison an engine entered; 80 is 80% of the best, on average. Only complete experiments with a passed output check count. How rankings work
† Magnitude: approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.
† MLX LM: approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
† Ollama: approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
† Rapid-MLX: approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
† llama.cpp: approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
† ZML: approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.
Coverage
| Desktop | Mobile | |||
|---|---|---|---|---|
| M5 Max 64 GiB macOS 27 Apple M5 Max | OnePlus 13 16 GB Android 16 Qualcomm Snapdragon 8 Elite (SM8750) | Pixel 8 8 GB Android 16 Google Tensor G3 | iPhone 12 4 GB iOS 27 Apple A14 Bionic | |
| llama.cpp | 921/1 out of 100, in 1 of 1 comparisons | Failed Failed in 1 comparison. No trial was valid. | Failed Failed in 1 comparison. No trial was valid. | Unsupported Unsupported in 1 comparison. llama.cpp errored on the opposite check in qualification: The app wrote no result for run (exit 1); iOS ends an app that exceeds its memory limit or leaves the foreground. |
| Magnitude | 1001/1 out of 100, in 1 of 1 comparisons | Not measured on this device. | Not measured on this device. | Not measured on this device. |
| MLX LM | 991/1 out of 100, in 1 of 1 comparisons | Not measured on this device. | Not measured on this device. | Not measured on this device. |
| Ollama | 991/1 out of 100, in 1 of 1 comparisons | Not measured on this device. | Not measured on this device. | Not measured on this device. |
| Rapid-MLX | 981/1 out of 100, in 1 of 1 comparisons | Not measured on this device. | Not measured on this device. | Not measured on this device. |
| ZML | 761/1 out of 100, in 1 of 1 comparisons | Not measured on this device. | Not measured on this device. | Not measured on this device. |
Speed
| Rank | Engine | Decode and TTFT |
|---|---|---|
| 1 | Magnitude†, approximate comparison, see details | 199.6 tok/s 113 ms TTFT |
| 2 | MLX LM†, approximate comparison, see details | 198.3 tok/s 94.2 ms TTFT |
| 3 | Ollama†, approximate comparison, see details | 197.6 tok/s 136 ms TTFT |
| 4 | Rapid-MLX†, approximate comparison, see details | 195.1 tok/s 100 ms TTFT |
| 5 | llama.cpp†, approximate comparison, see details | 184.2 tok/s 142 ms TTFT |
| 6 | ZML†, approximate comparison, see details | 150.9 tok/s 130 ms TTFT |
details
LFM2.5 1.2B Instruct on M5 Max · 64 GiB · bf16 · Archive 2048 input / 128 output · macOS 27
Medians with the model warmed; model loading is excluded. Each table uses one matched comparison.
Magnitude: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.
MLX LM: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
Ollama: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
Rapid-MLX: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
llama.cpp: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
ZML: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.
Memory usage by engine
| Rank | Engine | Memory |
|---|---|---|
| 1 | Ollama†, approximate comparison, see details | 2.45 GiB |
| 2 | llama.cpp†, approximate comparison, see details | 2.45 GiB |
| 3 | Magnitude†, approximate comparison, see details | 2.96 GiB |
| 4 | MLX LM†, approximate comparison, see details | 3.26 GiB |
| 5 | Rapid-MLX†, approximate comparison, see details | 3.45 GiB |
| 6 | ZML†, approximate comparison, see details | 4.75 GiB |
details
LFM2.5 1.2B Instruct on M5 Max · 64 GiB · bf16 · Archive 2048 input / 128 output · macOS 27
Memory ranks require comparable, calibrated measurements. Unavailable measurements remain unranked.
Ollama: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
llama.cpp: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
Magnitude: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.
MLX LM: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
Rapid-MLX: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default.
ZML: † Approximate comparison. The experiments use different effective KV cache precision: f16, magnitude default, model-dtype, zml default. Its phases were timed by the harness clock around the engine API, so they include transport that engine counters leave out.
Every comparison
| Comparison | Magnitude | MLX LM | Ollama | Rapid-MLX | llama.cpp | ZML |
|---|---|---|---|---|---|---|
| LFM2.5 1.2B Instruct on M5 Max · 64 GiB bf16 · Archive 2048 input / 128 output · macOS 27 | 100†, approximate | 99†, approximate | 99†, approximate | 98†, approximate | 92†, approximate | 76†, approximate |
Each engine’s Speed score in each matched comparison, out of 100, or why it has none. How rankings work