18 of 25
model and chip pairs where ExecuTorch beat llama.cpp at prompt reading
OpenWeights, 3 and 4 September 2026
Five chips, two runtimes.
How fast five small models answer on five phone chips, in llama.cpp and in ExecuTorch.
Written by
Two engines, two waits
llama.cpp and ExecuTorch are two engines that run a language model on a phone's own processor. The OpenWeights Android app ships both. A model reads and writes text in tokens, which are pieces of words. It is mostly a large set of learned numbers, its weights, which the engine reads through again for every token it writes.
A reply has two waits. First the engine reads the whole prompt (prefill): the prompt-reading time, from the engine's own timer, or as a speed, in tokens read a second. Then it writes the reply one token at a time (decode): the time per token, which sets how fast the reply streams. Neither counts the app's own work around them.
This page times speed only (see Limits). The Dimensity 9300+ post draws the two waits.
What we found
18 of 25 model and chip pairs read the prompt sooner on ExecuTorch
llama.cpp took 2.0 to 3.7 times as long as ExecuTorch for Gemma 3 1B, 1.7 to 2.7 for LFM2.5 1.2B and 1.2 to 2.0 for Llama 3.2 3B, but won Qwen3 1.7B on the 8 Gen 3 and 8 Elite, and SmolLM3 3B everywhere.
19 of 25 wrote the reply faster on ExecuTorch
Time per token was furthest apart on the Tensor G5, where llama.cpp wrote at about half ExecuTorch's speed for 4 of 5 models. Why is unknown: the 8 Elite and Exynos 2400, in the same remote phone lab, show smaller gaps.
SmolLM3 took 7 to 11 times as long to read the prompt on ExecuTorch
The same questions came to 2.7 times as many tokens at the median on ExecuTorch, and the reports don't say why. Per token, ExecuTorch still read at 31 to 45% of llama.cpp's speed.
Qwen3 1.7B is not a like-for-like pair
Its llama.cpp file stores weights in 8 bits and every other file in 4, so llama.cpp had more to read for each reply token. Leave it out and ExecuTorch read the prompt sooner in 15 of 20 pairs and wrote faster in 16 of 20.
The results
Every model on every chip
Each line joins a pair's llama.cpp dot to its ExecuTorch ring, and further left is faster in both columns. Both scales are logarithmic, so equal gaps are equal ratios. A note on a model's name says how its pair differs.
llama.cpp, GGUFExecuTorch
Prompt-reading time, s
Time per token, ms
Every number
Medians per model and chip, llama.cpp beside ExecuTorch. Bold blue marks the faster runtime where the gap is wider than a repeat run of one file moved its median. Closer pairs are left plain, among them one of finding 1's 18 (Qwen3 1.7B, Exynos 2400) and one of finding 2's 19 (SmolLM3 3B, Exynos 2400).
Swipe the table sideways for more columns.
| Chip | Prompt-reading time, s | Prompt-reading speed, tok/s | Time per token, ms | |||
|---|---|---|---|---|---|---|
| llama.cpp | ExecuTorch | llama.cpp | ExecuTorch | llama.cpp | ExecuTorch | |
| Gemma 3 1B | ||||||
| D9500sDimensity 9500s | 1.27 | 0.43, faster | 61 | 164, faster | 42, faster | 48 |
| 8 Gen 3Snapdragon 8 Gen 3 | 1.02 | 0.37, faster | 69 | 192, faster | 51 | 27, faster |
| 8 EliteSnapdragon 8 Elite | 0.80 | 0.40, faster | 79 | 167, faster | 28, faster | 44 |
| Tensor G5Tensor G5 | 1.35 | 0.48, faster | 56 | 156, faster | 113 | 50, faster |
| Exynos 2400Exynos 2400 | 1.68 | 0.45, faster | 45 | 151, faster | 75 | 56, faster |
| LFM2.5 1.2B | ||||||
| D9500sDimensity 9500s | 0.81 | 0.30, faster | 138 | 321, faster | 31 | 25, faster |
| 8 Gen 3Snapdragon 8 Gen 3 | 0.73 | 0.44, faster | 130 | 217, faster | 43 | 27, faster |
| 8 EliteSnapdragon 8 Elite | 0.59 | 0.30, faster | 153 | 288, faster | 27 | 18, faster |
| Tensor G5Tensor G5 | 0.83 | 0.32, faster | 112 | 248, faster | 106 | 46, faster |
| Exynos 2400Exynos 2400 | 0.97 | 0.42, faster | 92 | 208, faster | 59 | 38, faster |
| Qwen3 1.7B | ||||||
| D9500sDimensity 9500s | 1.05 | 0.76, faster | 113 | 122 | 57, faster | 64 |
| 8 Gen 3Snapdragon 8 Gen 3 | 0.49, faster | 0.77 | 195, faster | 120 | 74 | 41, faster |
| 8 EliteSnapdragon 8 Elite | 0.37, faster | 0.75 | 266, faster | 130 | 40 | 41 |
| Tensor G5Tensor G5 | 1.17 | 0.89, faster | 93 | 102 | 184 | 94, faster |
| Exynos 2400Exynos 2400 | 0.89 | 0.81 | 100 | 112 | 97 | 67, faster |
| Llama 3.2 3B | ||||||
| D9500sDimensity 9500s | 2.39 | 1.36, faster | 39 | 87, faster | 82 | 82 |
| 8 Gen 3Snapdragon 8 Gen 3 | 2.11 | 1.82, faster | 43 | 66, faster | 107 | 91, faster |
| 8 EliteSnapdragon 8 Elite | 1.70 | 1.47, faster | 48 | 80, faster | 83 | 63, faster |
| Tensor G5Tensor G5 | 2.43 | 1.55, faster | 37 | 71, faster | 180 | 125, faster |
| Exynos 2400Exynos 2400 | 3.46 | 1.73, faster | 25 | 64, faster | 151 | 119, faster |
| SmolLM3 3B | ||||||
| D9500sDimensity 9500s | 1.18, faster | 12.69 | 42, faster | 13 | 79, faster | 91 |
| 8 Gen 3Snapdragon 8 Gen 3 | 1.43, faster | 10.33 | 39, faster | 14 | 101 | 85, faster |
| 8 EliteSnapdragon 8 Elite | 1.03, faster | 7.18 | 47, faster | 21 | 79 | 67, faster |
| Tensor G5Tensor G5 | 1.86, faster | 15.90 | 35, faster | 11 | 239 | 108, faster |
| Exynos 2400Exynos 2400 | 1.79, faster | 12.26 | 29, faster | 11 | 132 | 121 |
How we ran it
- Prompts
- The same 90 prompts: 30 GSM8K maths problems, 30 IFEval instruction-following prompts and 30 BFCL function-calling prompts, except that Gemma 3 skips BFCL, having no tool syntax. So 60 to 90 per model and chip, 19 to 772 tokens long and 92 at the median, with the likeliest next token always taken, thinking off (these models can reason at length before they answer), and replies capped at 640 tokens, BFCL's at 384. The two runtimes' token counts matched to within 4 at the median, except for Llama 3.2 3B (118 on ExecuTorch, 88 on llama.cpp) and SmolLM3 3B (152 on ExecuTorch, 57 on llama.cpp).
- Files
- Each runtime ran its own file format, quantized (its numbers stored in fewer bits: smaller and faster, at some cost in accuracy). llama.cpp ran 4-bit GGUF files (Q4_K_M), except Qwen3 at 8 bits (Q8_0). ExecuTorch ran exports for its CPU backend, XNNPACK, with 4-bit weights and 8-bit activations, the numbers passed from layer to layer: react-native-executorch's exports for LFM2.5 (8da4w) and Llama 3.2 (SpinQuant), and for the other three, files the reports name only as INT8-INT4, with no publisher or revision. So each pair compares a whole setup, file and runtime, not the runtime alone.
- Phones
- One phone per chip. The benchmark matrix labels the Dimensity 9500s as D9400, and it lists a sixth chip, the Exynos 2500, which has no SmolLM3 run and is left out here.
- Runs
- One pass per model, chip and runtime with no repeats, on 3 and 4 September 2026. On 7 September, five ExecuTorch files on two phones were each run twice (in the reruns post), none of them a llama.cpp file. Their medians moved by up to 12% for prompt reading and 10% per token. 7 of the table's 75 pairs of numbers are closer than that.
- Phone time
- 29 hours in all, plus loading and Test Lab queueing. Generation time per run ran from 6 minutes (LFM2.5-1.2B on ExecuTorch, 8 Elite) to about 100 minutes (SmolLM3 on llama.cpp, Tensor G5).
Limits
- What it is for
- Comparing how fast the two runtimes the app ships run each model on a given phone. Picking one also needs the pass rates below.
- Speed, not answers
- Summed over the five chips, ExecuTorch's files passed fewer prompts than llama.cpp's in 12 of the 14 model and test pairs. The worst: ExecuTorch's Gemma 3 file solved 0 to 2 of 30 GSM8K maths problems against llama.cpp's 12 to 14, and llama.cpp's SmolLM3 file got 0 of 30 BFCL function calls right against ExecuTorch's 22 to 27. A speed win for those setups is no reason to pick them. Every pass rate is in the repository's benchmark matrix.
- Not the same tokens
- For Llama 3.2 3B and SmolLM3 3B, ExecuTorch's prompt-reading time covers more tokens, so the speed column, per token, is the fairer comparison. A fair SmolLM3 timing needs both runtimes to see the same tokens, which this page doesn't have.
- Not matched conditions
- The Dimensity 9500s ran in hand under a desk fan. The Snapdragon 8 Gen 3 ran on Qualcomm Device Cloud and the 8 Elite, Tensor G5 and Exynos 2400 on Firebase Test Lab, racked, where phones throttle (slow themselves down to cool off) within about 40 seconds. A slower run lasts longer, so more of it is throttled.
- Not recorded
- The reports don't record either runtime's version, thread count or core pinning, whether llama.cpp used the GPU, any warm-up, or which runtime ran first on each phone.