3.8×
faster writing 7.9k tokens into a text: Qwen3 1.7B on a phone's CPU with an 8-bit cache instead of 32-bit
OpenWeights, 20 and 21 November 2026
Shrinking the KV cache on a phone.
A model keeps a running memory of the conversation, the KV cache, and reads all of it to write each new token. Stored in 8 bits instead of 32 on a phone's CPU, or in 16 on its GPU, where the arithmetic drops to 16 bits too: how much faster and smaller it gets, and what it does to the answers. Four models, with windows (the most text a file can hold) of 2k to 32k tokens.
Written by
What the KV cache is
The cache in three pictures
Why its size matters on a phone.
What the cache keeps
For every token (a word or part of one), the model keeps a key, which lets later tokens find it, and a value, what they take from it. Looking back over them is called attention.
step 1startThestep 2startThecatstep 3startThecatsatstep 4startThecatsatonstep 5startThecatsatontheIn each step:
- The newest token goes in. Its key and value are worked out and written to the cache.
- The whole cache is read: every token before it, and the newest too.
- Out comes the next token, the newest in the step below.
In a chat, the whole prompt takes the start token's place, read in at once.
How big it gets
Llama 3.2 1B, a 32k window
Numbers kept for each token:
2a key and a value×16layers×8key-value heads in each layer×64numbers in each key or value=16,384numbers per tokenFor the whole window, in 32 bits:
16,384numbers per token×4bytes each (32-bit)×32,768tokens (32k)=2.1 GBreserved at load- 32-bit2.1 GB
- 16-bit (GPU)1.1 GB
- 8-bit (CPU)0.58 GB
16 bits halves it. 8 bits is one byte a number, plus a scale and an offset for each token and head, about 8% extra. Here 1 GB is 1,000 MB, as everywhere on this page.
- 32-bit
Why it sets the speed
Cache read to write one token, Llama 3.2 1B
1,900 tokens in
- 32-bit125 MB
- 8-bit34 MB
7,900 tokens in
- 32-bit518 MB
- 8-bit140 MB
32,500 tokens in
- 32-bit2.1 GB
- 8-bit574 MB
The deeper the conversation, the more each new token reads, and the more a smaller cache saves.
- 32-bit
How we measured it
- The files
- Four small chat models, Llama 3.2 1B, LFM2.5 1.2B, Qwen3 1.7B and Gemma 3 1B, already shrunk to 4-bit weights with ExecuPack's recipe. Each comes as a pair of files: one keeps the cache in 32 bits, the other in 8.
- Window and depth
- A file's window is fixed when the file is built: 2k, 8k or 32k tokens. Depth is how far into a text the model is when it writes: we measured at 1.9k, 7.9k and 32.5k tokens in, each with the files whose window reaches that far.
- Reading and writing
- A model reads a prompt many tokens at a time, then writes its reply one token at a time. The speeds here are writing speeds, in tokens a second (tok/s), except where a figure says the file read.
- The phones
- Three of Qualcomm's Snapdragon SM8975 reference phones in its device cloud, called first, second and third below, running ExecuTorch 1.5.1, the library inside OpenWeights' Android chat app (the app). How much memory the phones have is not in the study's results.
- On the GPU
- ExecuTorch cannot build an 8-bit cache for the GPU, so each GPU pair is 32-bit against its 16-bit mode, which keeps the cache in 16 bits and also does the arithmetic in 16 bits. The GPU files run through Vulkan, the standard interface for programming the GPU.
- Against the original
- Each file's predictions were compared with the original, unshrunk model's by KL divergence, a measure of how far apart two sets of predictions are: 0 means identical.
- Recall
- Nine facts hidden through each book (a “special magic number”). Each file is asked, at the deepest point it reaches, about the ones hidden before it: 4 a book at 1.9k, 7 at 7.9k, all 9 at 32.5k.
What we found
On the CPU, an 8-bit cache makes long chats much faster
1.7× to 3.8× faster 7.9k tokens into a chat, and up to 5.3 GB less memory.
It nudges the answers, not consistently for the worse
About 1 in 10 next-token picks change. Their distance from the original model, and their recall, mostly did not change. The one clear worsening: Llama 32.5k tokens in, 9.6% further from the original (one book).
On the GPU, 16-bit mode is faster and smaller
1.05× to 1.29× faster writing and 0.4 to 2.6 GB less memory, much of it likely attention's working space.
But 16-bit mode broke Llama deep into a long text
At 32.5k tokens it answered 0 of 9 recall questions, against 9 of 9 at 32-bit.
Llama's published GPU files above 8k do not load on this phone
Reading the prompt in 256-token pieces instead of 2,048 let a 32k file load.
What we would ship
The 8-bit cache in CPU files at 8k and 32k, where it saves most (at 2k, only 0.04 to 0.35 GB), after a check in the app. GPU files stay 32-bit.
The results
On the CPU, the deeper the chat, the more the 8-bit cache gains
How many times faster each model writes its reply with the 8-bit cache than with the 32-bit one, at three points in a long text.
Llama 3.2 1B
- 1.9k in1.6×
25 → 40 tok/s
- 7.9k in2.7×
6.8 → 18 tok/s
- 32.5k in3.3×
1.6 → 5.3 tok/s
LFM2.5 1.2B
- 1.9k in1.00×
38 → 38 tok/s
- 7.9k in1.7×
15 → 25 tok/s
- 32.5k in3.3×
3.6 → 12 tok/s
Qwen3 1.7B
- 1.9k in2.8×
13 → 36 tok/s
- 7.9k in3.8×
3.5 → 13 tok/s
- 32.5k in17.5×
0.2 → 3.5 tok/s
Gemma 3 1B
- 1.9k in1.7×
35 → 59 tok/s
- 7.9k in2.0×
26 → 52 tok/s
- 32.5k in2.5×
13 → 32 tok/s
Each model's 32k file on the first phone: the median time per token over 127 single-token steps at each point. All bars share one scale up to 4×; Qwen3's 17.5× at 32.5k runs off it, marked by the break. Its 32-bit file held 8.9 GB, and memory pressure is the likely cause. At 1.9k, LFM2.5's 32k file gained nothing: only 6 of its 16 layers keep a cache; the other 10 are short convolutions that keep a small, fixed state.
And needs far less memory
Peak memory of the test process with each model's 32k file. The cache is reserved in full when the model loads, so the saving is there from the first token.
32-bit cache8-bit cache
Llama 3.2 1B
−1.6 GB3.5 → 1.9 GB
LFM2.5 1.2B
−0.6 GB2.1 → 1.5 GB
Qwen3 1.7B
−5.3 GB8.9 → 3.6 GB
Gemma 3 1B
−0.2 GB1.5 → 1.3 GB
The 8-bit cache is 27% of the 32-bit cache's size in all. LFM2.5 and Gemma 3 save least because few of their layers keep the whole window; most of Gemma 3's layers look back only over recent tokens. From a 2k to a 32k window, Gemma's 32-bit file grows by 0.26 GB after load, against 2.01 GB for Llama.
The 8-bit cache changes some predictions
How often the 8-bit file's likeliest next token differs from the 32-bit file's, reading the same book with the same true text fed in at every step.
Share of positions where the two files' likeliest next token differs; bars run from 0 to 20%
Llama 3.2 1B
- 1.9k in8.1%
about 1 in 12, 31 of 384 positions
- 7.9k in9.6%
about 1 in 10, 37 of 384 positions
LFM2.5 1.2B
- 1.9k in8.6%
about 1 in 12, 33 of 384 positions
- 7.9k in6.3%
about 1 in 16, 24 of 384 positions
Qwen3 1.7B
- 1.9k in11.2%
about 1 in 9, 43 of 384 positions
- 7.9k in10.2%
about 1 in 10, 39 of 384 positions
Gemma 3 1B
- 1.9k in10.9%
about 1 in 9, 42 of 384 positions
- 7.9k in14.6%
about 1 in 7, 56 of 384 positions
Second phone, each model's 8k file. Measured as a divergence (KL), the two files differ by 0.013 to 0.036 on average, and by up to 1.04 at a single position.
Against the original model, mostly no clear change
Did the 8-bit file's predictions end up closer to the original model's than the 32-bit file's did, or further from them? One cell per model and point in the text.
Llama 3.2 1B
1.9k, 8k file
Closer
4.7% closer
7.9k, 8k file
Closer
6.8% closer
32.5k, 32k file
Further
9.6% further
LFM2.5 1.2B
1.9k, 8k file
No clear change
1.2% further
7.9k, 8k file
No clear change
0.8% further
32.5k, 32k file
No clear change
1.3% further
Qwen3 1.7B
1.9k, 8k file
No clear change
2.3% closer
7.9k, 8k file
No clear change
0.2% further
32.5k, 32k file
No clear change
4.5% further
Gemma 3 1B
1.9k, 8k file
No clear change
0.5% further
7.9k, 8k file
No clear change
0.4% further
32.5k, 32k file
No clear change
1.6% closer
“No clear change” means the change is within how much it varies from position to position and book to book (its 95% interval includes zero). The percentage is the change as a share of how far the 32-bit file already was from the original: both files sit 0.16 to 0.33 away from it (KL), mostly because of the 4-bit weights, and the cache moved that by −0.020 to +0.028. One result we cannot explain: on 141 short questions from the app, the 8-bit file's first token came closer to the original for Llama, LFM2.5 and Qwen3 (Llama: 0 questions worse by 0.1, 67 better), which is surprising for a cache that only loses precision. Until we know why, it counts neither way.
The cache changed few recall answers
How many recall questions each cache answered, and how many the original model did.
Answered with the 32-bit cache → with the 8-bit cache
Llama 3.2 1B
1.9k, 2k file
same
12 → 12 of 12
original 11
7.9k, 8k file
+1
19 → 20 of 21
original 19
32.5k, 32k file
+2
7 → 9 of 9
original 8
LFM2.5 1.2B
1.9k, 2k file
same
12 → 12 of 12
original 12
7.9k, 8k file
same
21 → 21 of 21
original 21
32.5k, 32k file
Not asked
Qwen3 1.7B
1.9k, 2k file
same
12 → 12 of 12
original 12
7.9k, 8k file
same
21 → 21 of 21
original 21
32.5k, 32k file
+1
4 → 5 of 9
original 7
Gemma 3 1B
1.9k, 2k file
same
12 → 12 of 12
original 12
7.9k, 8k file
same
12 → 12 of 21
original 15
32.5k, 32k file
−1
5 → 4 of 27
original 12
LFM2.5's answers come from the second phone, from a fresh model, which ran only its 2k and 8k files: on the first phone they were asked after a rewind that does not restore its state. Deep into a text, Qwen3 and Gemma recall little with either cache, and less than the original model: that comes from shrinking the model, not from the cache.
Which Llama GPU files loaded, against the attention memory each asks for
Each Llama 3.2 1B GPU file tried, with the working memory its attention asks for while reading a prompt: two 32-bit buffers of attention heads × prompt chunk × window. Llama has 32 attention heads, which share the 8 key-value heads the cache keeps; the prompt chunk is how many prompt tokens the GPU reads in one pass. The two published files that aborted ask for 2 and 4 times as much as the largest file that loaded.
- Loads
8k window
study build, 2,048-token chunk
4.3 GBLoadssecond phone
- Aborts
16k window
published, 2,048-token chunk
8.6 GBAborts - Aborts
32k window
published, 2,048-token chunk
17.2 GBAbortsthe study's own build with this chunk aborted too
- Loads
32k window
study build, 256-token chunk
2.1 GBLoadsand its 32-bit predictions at 32.5k were in line with the CPU's
That pattern makes the buffers the leading suspect, but it is not established: the abort came about 10 milliseconds after the GPU was set up, before the weights could have been uploaded, and the error's own message was lost. Vulkan may also cap such buffers, so the sizes are what the code asks for, not what was allocated. Each published file was tried once; the published 8k file and other models' files were not tested. The GPU results below use the study's own builds: the 8k file with 2,048-token chunks and the 32k file with 256-token chunks.
GPU writing speed and memory, 32-bit against 16-bit mode
16-bit mode changes more than the cache, so these gains cannot be credited to the cache alone. Writing speed 1.9k tokens in, before the GPU throttles (slows itself down as it heats), and the GPU memory each file needs.
Writing speed
32-bit16-bit
Llama 3.2 1B, 2k window
second phone
1.21×47 → 57 tok/s
Llama 3.2 1B, 8k window
second phone
1.19×57 → 68 tok/s
Llama 3.2 1B, 32k window
third phone, 256-token chunks
1.18×66 → 78 tok/s
Qwen3 1.7B, 2k window
second phone
1.05×29 → 30 tok/s
Qwen3 1.7B, 8k window
third phone
1.29×37 → 47 tok/s
GPU memory
32-bit16-bit
Llama 3.2 1B, 2k window
−0.7 GB2.5 → 1.8 GB
Llama 3.2 1B, 8k window
−2.6 GB6.0 → 3.4 GB
Llama 3.2 1B, 32k window
256-token chunks
−2.3 GB5.3 → 3.0 GB
Qwen3 1.7B, 2k window
−0.4 GB2.5 → 2.1 GB
Qwen3 1.7B, 8k window
−2.3 GB5.6 → 3.3 GB
Both files of a pair ran on one phone, so compare speeds within a row, not across rows. The cache is a small part of the memory saved: Llama's 32-bit cache at an 8k window is 0.54 GB, so halving it saves at most 0.27 GB of the 2.6 GB its 16-bit file saved. The rest is most likely attention's working buffers, 4.3 GB for that file at 32 bits, which 16-bit mode also keeps in 16 bits. The smaller buffers of the 256-token build (2.1 GB) are why Llama's 32k file needs less GPU memory than its 8k file. Up to 7.9k tokens the two files' predictions differ by 0.0012 to 0.0067 (KL), below the CPU's 8-bit cache everywhere. Llama's 8k file drifted slightly further from the original in all three books (+0.012); Qwen's did not. Gemma 3 and LFM2.5 do not run on the GPU in this recipe.
A caveat on GPU reading speed: how warm the GPU starts changes it
How fast each file read (not wrote) the whole 32.5k-token book, the same two files run twice: first with the 16-bit file starting 18 °C warmer, then in reverse order with both starting at about the same temperature.
32-bit16-bit
First run
32-bit started at 30 °C, 16-bit at 48 °C
1.35×146 → 197 tok/s
Repeat, reverse order
both started at 38 to 40 °C
1.97×127 → 250 tok/s
The GPU throttles within 10 to 20 seconds of work when it starts near 50 °C, and within one to two minutes from 30 to 40 °C. Starting 9 °C warmer, the 32-bit file read 13% slower; starting 11 °C cooler, the 16-bit file read 27% faster. Both first runs passed the study's own gate (GPU at or under 50 °C), so the gate was too loose to make one pair's reading speeds comparable.
Llama 3.2 1B on the GPU through one 32k book
Llama 3.2 1B's 32k files on the GPU (the 256-token build), reading one book: how often each file's likeliest next token matched the original model's, at three points in the text, and how many recall questions it answered at the end.
32-bit16-bit
1.9k tokens in
likeliest token matches the original
−2 points73% → 71%
7.9k tokens in
likeliest token matches the original
+1 point62% → 63%
32.5k tokens in
likeliest token matches the original
−34 points62% → 28%
Recall at 32.5k
questions answered, of 9
−9 answers9 → 0 of 9
At 32.5k the 16-bit file was worse at 127 of 128 positions, and its recall answers repeated the question back. A second run gave identical values. The CPU files on the same book matched the original 63% (32-bit) and 60% (8-bit) of the time at 32.5k. Where between 7.9k and 32.5k the failure begins was not measured, and the cause was not isolated. The leading suspect is in ExecuTorch's GPU attention, which adds up one term per earlier token, in 16 bits for buffer-stored 16-bit tensors, so rounding error can grow with the length of the text. Since 16-bit mode changes the arithmetic as well as the cache, this is not evidence that a 16-bit cache fails on its own.
Every number
Each table folds open.
CPU: writing speedEvery file, 32-bit against 8-bit cache, first phoneShowHide
Swipe the table sideways for more columns.
| Model | Window | Depth | 32-bit tok/s | 8-bit tok/s | Faster |
|---|---|---|---|---|---|
| Llama 3.2 1B | 2k | 1.9k | 40 | 56 | 1.39× |
| Llama 3.2 1B | 8k | 1.9k | 26 | 38 | 1.48× |
| Llama 3.2 1B | 8k | 7.9k | 6.6 | 18 | 2.7× |
| Llama 3.2 1B | 32k | 1.9k | 25 | 40 | 1.6× |
| Llama 3.2 1B | 32k | 7.9k | 6.8 | 18 | 2.7× |
| Llama 3.2 1B | 32k | 32.5k | 1.6 | 5.3 | 3.3× |
| LFM2.5 1.2B | 2k | 1.9k | 66 | 71 | 1.08× |
| LFM2.5 1.2B | 8k | 1.9k | 40 | 46 | 1.15× |
| LFM2.5 1.2B | 8k | 7.9k | 15 | 32 | 2.1× |
| LFM2.5 1.2B | 32k | 1.9k | 38 | 38 | 1.00× |
| LFM2.5 1.2B | 32k | 7.9k | 15 | 25 | 1.7× |
| LFM2.5 1.2B | 32k | 32.5k | 3.6 | 12 | 3.3× |
| Qwen3 1.7B | 2k | 1.9k | 14 | 27 | 1.9× |
| Qwen3 1.7B | 8k | 1.9k | 12 | 30 | 2.4× |
| Qwen3 1.7B | 8k | 7.9k | 3.3 | 12 | 3.5× |
| Qwen3 1.7B | 32k | 1.9k | 13 | 36 | 2.8× |
| Qwen3 1.7B | 32k | 7.9k | 3.5 | 13 | 3.8× |
| Qwen3 1.7B | 32k | 32.5k | 0.2 | 3.5 | 17.5× |
| Gemma 3 1B | 2k | 1.9k | 48 | 67 | 1.42× |
| Gemma 3 1B | 8k | 1.9k | 36 | 57 | 1.6× |
| Gemma 3 1B | 8k | 7.9k | 25 | 51 | 2.0× |
| Gemma 3 1B | 32k | 1.9k | 35 | 59 | 1.7× |
| Gemma 3 1B | 32k | 7.9k | 26 | 52 | 2.0× |
| Gemma 3 1B | 32k | 32.5k | 13 | 32 | 2.5× |
CPU: memoryResident memory after load and at its peak, in GBShowHide
Swipe the table sideways for more columns.
| Model | Window | After load, 32 → 8-bit | Peak, 32 → 8-bit | Saved |
|---|---|---|---|---|
| Llama 3.2 1B | 2k | 1.21 → 1.11 | 1.37 → 1.26 | 0.10 |
| Llama 3.2 1B | 8k | 1.62 → 1.23 | 1.79 → 1.40 | 0.39 |
| Llama 3.2 1B | 32k | 3.22 → 1.65 | 3.47 → 1.90 | 1.56 |
| LFM2.5 1.2B | 2k | 1.10 → 1.06 | 1.27 → 1.23 | 0.04 |
| LFM2.5 1.2B | 8k | 1.25 → 1.10 | 1.41 → 1.27 | 0.15 |
| LFM2.5 1.2B | 32k | 1.86 → 1.27 | 2.07 → 1.48 | 0.59 |
| Qwen3 1.7B | 2k | 1.83 → 1.48 | 2.01 → 1.66 | 0.35 |
| Qwen3 1.7B | 8k | 3.24 → 1.85 | 3.43 → 2.04 | 1.39 |
| Qwen3 1.7B | 32k | 8.59 → 3.31 | 8.85 → 3.58 | 5.28 |
| Gemma 3 1B | 2k | 0.93 → 0.88 | 1.11 → 1.06 | 0.05 |
| Gemma 3 1B | 8k | 0.96 → 0.90 | 1.15 → 1.07 | 0.08 |
| Gemma 3 1B | 32k | 1.18 → 0.95 | 1.50 → 1.27 | 0.23 |
CPU: divergence and accuracyKL to the original model, perplexity and top-token agreement, every checkpointShowHide
Swipe the table sideways for more columns.
| Model | Window | Books | Depth | KL, 32 → 8-bit | Change (95% interval) | Perplexity, 32 / 8 / original | Top token matches, 32 / 8 |
|---|---|---|---|---|---|---|---|
| Llama 3.2 1B | 2k | 3 | 1.9k | 0.229 → 0.218 | −0.0107 (−0.0204, −0.0010) | 47.7 / 47.1 / 37.4 | 71% / 72% |
| Llama 3.2 1B | 8k | 3 | 1.9k | 0.229 → 0.218 | −0.0107 (−0.0204, −0.0010) | 47.7 / 47.1 / 37.4 | 71% / 72% |
| Llama 3.2 1B | 8k | 3 | 7.9k | 0.295 → 0.275 | −0.0200 (−0.0389, −0.0037) | 40.4 / 39.2 / 29.3 | 65% / 64% |
| Llama 3.2 1B | 32k | 1 | 1.9k | 0.160 → 0.157 | −0.0027 (−0.0092, +0.0035) | 87 / 86.2 / 71.6 | 71% / 73% |
| Llama 3.2 1B | 32k | 1 | 7.9k | 0.205 → 0.197 | −0.0087 (−0.0185, +0.0007) | 40.6 / 40.6 / 29.3 | 63% / 60% |
| Llama 3.2 1B | 32k | 1 | 32.5k | 0.293 → 0.321 | +0.0280 (+0.0189, +0.0383) | 45.7 / 48.5 / 39 | 63% / 60% |
| LFM2.5 1.2B | 2k | 3 | 1.9k | 0.244 → 0.247 | +0.0030 (−0.0088, +0.0138) | 73.7 / 75.3 / 77 | 76% / 77% |
| LFM2.5 1.2B | 8k | 3 | 1.9k | 0.244 → 0.247 | +0.0030 (−0.0088, +0.0138) | 73.7 / 75.3 / 77 | 76% / 77% |
| LFM2.5 1.2B | 8k | 3 | 7.9k | 0.233 → 0.235 | +0.0020 (−0.0048, +0.0088) | 136.3 / 137.2 / 149 | 76% / 76% |
| LFM2.5 1.2B | 32k | 3 | 1.9k | 0.244 → 0.247 | +0.0030 (−0.0088, +0.0138) | 73.7 / 75.3 / 77 | 76% / 77% |
| LFM2.5 1.2B | 32k | 3 | 7.9k | 0.233 → 0.235 | +0.0020 (−0.0048, +0.0088) | 136.3 / 137.2 / 149 | 76% / 76% |
| LFM2.5 1.2B | 32k | 3 | 32.5k | 0.323 → 0.327 | +0.0043 (−0.0036, +0.0127) | 98.3 / 99.4 / 78.2 | 69% / 68% |
| Qwen3 1.7B | 2k | 3 | 1.9k | 0.169 → 0.165 | −0.0038 (−0.0143, +0.0050) | 47.7 / 48.5 / 42.2 | 79% / 80% |
| Qwen3 1.7B | 8k | 3 | 1.9k | 0.169 → 0.165 | −0.0038 (−0.0143, +0.0050) | 47.7 / 48.5 / 42.2 | 79% / 80% |
| Qwen3 1.7B | 8k | 3 | 7.9k | 0.156 → 0.156 | +0.0003 (−0.0137, +0.0114) | 50.8 / 49.8 / 43.5 | 78% / 80% |
| Qwen3 1.7B | 32k | 1 | 1.9k | 0.200 → 0.194 | −0.0056 (−0.0297, +0.0148) | 91.1 / 90.4 / 83.3 | 78% / 82% |
| Qwen3 1.7B | 32k | 1 | 7.9k | 0.167 → 0.155 | −0.0123 (−0.0203, −0.0023) | 46.2 / 46.2 / 40.5 | 73% / 70% |
| Qwen3 1.7B | 32k | 1 | 32.5k | 0.183 → 0.191 | +0.0083 (−0.0030, +0.0195) | 42.6 / 40.9 / 31 | 78% / 75% |
| Gemma 3 1B | 2k | 3 | 1.9k | 0.166 → 0.167 | +0.0008 (−0.0080, +0.0102) | 61.8 / 61.3 / 54.1 | 74% / 73% |
| Gemma 3 1B | 8k | 3 | 1.9k | 0.166 → 0.167 | +0.0008 (−0.0080, +0.0102) | 61.8 / 61.3 / 54.1 | 74% / 73% |
| Gemma 3 1B | 8k | 3 | 7.9k | 0.188 → 0.189 | +0.0008 (−0.0100, +0.0122) | 57.3 / 59.5 / 48.3 | 72% / 73% |
| Gemma 3 1B | 32k | 3 | 1.9k | 0.166 → 0.167 | +0.0008 (−0.0080, +0.0102) | 61.8 / 61.3 / 54.1 | 74% / 73% |
| Gemma 3 1B | 32k | 3 | 7.9k | 0.188 → 0.189 | +0.0008 (−0.0100, +0.0122) | 57.3 / 59.5 / 48.3 | 72% / 73% |
| Gemma 3 1B | 32k | 3 | 32.5k | 0.183 → 0.180 | −0.0030 (−0.0126, +0.0063) | 52.4 / 52 / 44.6 | 72% / 72% |
CPU: 32-bit against 8-bit directlySecond phone: divergence between the two files, and how often their likeliest token differsShowHide
Swipe the table sideways for more columns.
| Model | Window | Depth | KL between files, mean / worst | Likeliest token differs |
|---|---|---|---|---|
| Llama 3.2 1B | 2k | 1.9k | 0.0131 / 0.207 | 31 of 384 |
| Llama 3.2 1B | 8k | 1.9k | 0.0131 / 0.207 | 31 of 384 |
| Llama 3.2 1B | 8k | 7.9k | 0.0143 / 0.203 | 37 of 384 |
| LFM2.5 1.2B | 2k | 1.9k | 0.0171 / 0.412 | 33 of 384 |
| LFM2.5 1.2B | 8k | 1.9k | 0.0171 / 0.412 | 33 of 384 |
| LFM2.5 1.2B | 8k | 7.9k | 0.0147 / 0.098 | 24 of 384 |
| Qwen3 1.7B | 2k | 1.9k | 0.0365 / 0.748 | 43 of 384 |
| Qwen3 1.7B | 8k | 1.9k | 0.0365 / 0.748 | 43 of 384 |
| Qwen3 1.7B | 8k | 7.9k | 0.0365 / 1.036 | 39 of 384 |
| Gemma 3 1B | 2k | 1.9k | 0.0283 / 0.237 | 42 of 384 |
| Gemma 3 1B | 8k | 1.9k | 0.0283 / 0.237 | 42 of 384 |
| Gemma 3 1B | 8k | 7.9k | 0.0261 / 0.488 | 56 of 384 |
CPU: recallHidden facts asked at the deepest point each file reaches, and how many each file foundShowHide
Swipe the table sideways for more columns.
| Model | Window | Phone | Books | Asked | 32-bit found | 8-bit found | Original model found |
|---|---|---|---|---|---|---|---|
| Llama 3.2 1B | 2k | first | 3 | 12 | 12 | 12 | 11 |
| Llama 3.2 1B | 8k | first | 3 | 21 | 19 | 20 | 19 |
| Llama 3.2 1B | 32k | first | 1 | 9 | 7 | 9 | 8 |
| LFM2.5 1.2B | 2k | second | 3 | 12 | 12 | 12 | 12 |
| LFM2.5 1.2B | 8k | second | 3 | 21 | 21 | 21 | 21 |
| Qwen3 1.7B | 2k | first | 3 | 12 | 12 | 12 | 12 |
| Qwen3 1.7B | 8k | first | 3 | 21 | 21 | 21 | 21 |
| Qwen3 1.7B | 32k | first | 1 | 9 | 4 | 5 | 7 |
| Gemma 3 1B | 2k | first | 3 | 12 | 12 | 12 | 12 |
| Gemma 3 1B | 8k | first | 3 | 21 | 12 | 12 | 15 |
| Gemma 3 1B | 32k | first | 3 | 27 | 5 | 4 | 12 |
CPU: short chat questions141 held-out questions from the app, first-token divergence, and 47 repliesShowHide
Swipe the table sideways for more columns.
| Model | First-token KL, 32 → 8-bit | Change (95% interval) | Rows worse / better by 0.1 | Reply KL, 32 → 8-bit |
|---|---|---|---|---|
| Llama 3.2 1B | 0.269 → 0.107 | −0.163 (−0.199, −0.130) | 0 / 67 | 0.100 → 0.095 |
| LFM2.5 1.2B | 0.149 → 0.124 | −0.024 (−0.043, −0.006) | 9 / 23 | 0.090 → 0.091 |
| Qwen3 1.7B | 1.456 → 0.924 | −0.532 (−0.954, −0.152) | 18 / 23 | 0.297 → 0.266 |
| Gemma 3 1B | 3.705 → 3.469 | −0.236 (−0.646, +0.156) | 44 / 54 | 0.497 → 0.469 |
GPU: speed, memory and thermal levelEvery file, 32-bit against 16-bit, with the phone and the estimated throttle levelShowHide
Swipe the table sideways for more columns.
| Model | Window | Phone | Depth | 32-bit tok/s | 16-bit tok/s | Faster | Throttle level, 32 | 16 |
|---|---|---|---|---|---|---|---|
| Llama 3.2 1B | 2k | second | 1.9k | 47 | 57 | 1.21× | L0 | L0 |
| Llama 3.2 1B | 8k | second | 1.9k | 57 | 68 | 1.19× | L0 | L0 |
| Llama 3.2 1B | 8k | second | 7.9k | 20 | 27 | 1.36× | L11–12 | L5–12 |
| Llama 3.2 1B | 32k | third | 1.9k | 66 | 78 | 1.18× | L0 | L0 |
| Llama 3.2 1B | 32k | third | 7.9k | 33 | 43 | 1.29× | L0 | L0 |
| Llama 3.2 1B | 32k | third | 32.5k | 5.3 | 6.6 | 1.24× | L12 | L12 |
| Qwen3 1.7B | 2k | second | 1.9k | 29 | 30 | 1.05× | L0 | L0 |
| Qwen3 1.7B | 8k | third | 1.9k | 37 | 47 | 1.29× | L0 | L0 |
| Qwen3 1.7B | 8k | third | 7.9k | 8.0 | 13 | 1.7× | L12 | L7–12 |
Throttle level 0 is the GPU uncapped at 1,450 MHz; 12 is capped at 636 MHz. Levels are estimated from samples.
Swipe the table sideways for more columns.
| Model | Window | Phone | GPU memory, 32 → 16-bit | Saved |
|---|---|---|---|---|
| Llama 3.2 1B | 2k | second | 2.53 → 1.81 GB | 0.72 GB |
| Llama 3.2 1B | 8k | second | 6.03 → 3.43 GB | 2.61 GB |
| Llama 3.2 1B | 32k | third | 5.29 → 3.03 GB | 2.25 GB |
| Qwen3 1.7B | 2k | second | 2.53 → 2.06 GB | 0.47 GB |
| Qwen3 1.7B | 8k | third | 5.56 → 3.34 GB | 2.22 GB |
GPU: divergence, recall and chat questionsKL to the original model and between the files, needles, and the app's questionsShowHide
Swipe the table sideways for more columns.
| Model | Window | Phone | Books | Depth | KL, 32 → 16-bit | Change (95% interval) | KL between files, mean / worst | Top token matches, 32 / 16 |
|---|---|---|---|---|---|---|---|---|
| Llama 3.2 1B | 2k | second | 3 | 1.9k | 0.227 → 0.226 | −0.0004 (−0.0046, +0.0031) | 0.0014 / 0.036 | 72% / 73% |
| Llama 3.2 1B | 8k | second | 3 | 1.9k | 0.219 → 0.232 | +0.0126 (+0.0072, +0.0191) | 0.0031 / 0.061 | 72% / 72% |
| Llama 3.2 1B | 8k | second | 3 | 7.9k | 0.295 → 0.307 | +0.0121 (+0.0073, +0.0162) | 0.0067 / 0.090 | 65% / 65% |
| Llama 3.2 1B | 32k | third | 1 | 1.9k | 0.146 → 0.149 | +0.0028 (+0.0006, +0.0051) | 0.0012 / 0.010 | 73% / 71% |
| Llama 3.2 1B | 32k | third | 1 | 7.9k | 0.193 → 0.197 | +0.0047 (−0.0049, +0.0114) | 0.0039 / 0.060 | 62% / 63% |
| Llama 3.2 1B | 32k | third | 1 | 32.5k | 0.261 → 1.853 | +1.5927 (+1.2757, +1.9356) | 1.3677 / 8.020 | 62% / 28% |
| Qwen3 1.7B | 2k | second | 3 | 1.9k | 0.146 → 0.150 | +0.0034 (−0.0004, +0.0073) | 0.0029 / 0.176 | 80% / 79% |
| Qwen3 1.7B | 8k | third | 3 | 1.9k | 0.151 → 0.147 | −0.0044 (−0.0080, +0.0001) | 0.0035 / 0.046 | 81% / 80% |
| Qwen3 1.7B | 8k | third | 3 | 7.9k | 0.140 → 0.140 | −0.0009 (−0.0049, +0.0028) | 0.0030 / 0.127 | 79% / 78% |
Swipe the table sideways for more columns.
| Model | Window | Asked | 32-bit found | 16-bit found | Original model found |
|---|---|---|---|---|---|
| Llama 3.2 1B | 2k | 12 | 12 | 12 | 11 |
| Llama 3.2 1B | 8k | 21 | 20 | 19 | 19 |
| Llama 3.2 1B | 32k | 9 | 9 | 0 | 8 |
| Qwen3 1.7B | 2k | 12 | 12 | 12 | 12 |
| Qwen3 1.7B | 8k | 21 | 21 | 21 | 21 |
Swipe the table sideways for more columns.
| Model | Phone | First-token KL, 32 → 16-bit | Change (95% interval) | Rows worse / better by 0.1 | Reply KL, 32 → 16-bit |
|---|---|---|---|---|---|
| Llama 3.2 1B | second | 0.234 → 0.209 | −0.025 (−0.057, +0.002) | 12 / 20 | 0.085 → 0.083 |
| Qwen3 1.7B | third | 1.105 → 0.519 | −0.587 (−0.947, −0.290) | 8 / 30 | 0.281 → 0.255 |
Qwen3's average on the chat questions is set by a few uncertain questions (its median is about 0.003 with both files), so its fall with 16-bit is not evidence that 16-bit is more accurate in general.
GPU: the 32k pair, run twiceLlama 3.2 1B's 32k files, first 32-bit first, then 16-bit first from a matched temperatureShowHide
Swipe the table sideways for more columns.
| Run | Cache | Started at | Whole-book read | Writing at 1.9k / 7.9k / 32.5k, tok/s | KL at 32.5k | GPU memory |
|---|---|---|---|---|---|---|
| First | 32-bit | 30.3 °C | 220 s, 146 tok/s | 66 / 33 / 5.3 | 0.261 | 5.29 GB |
| First | 16-bit | 48.4 °C | 163 s, 197 tok/s | 78 / 43 / 6.6 | 1.853 | 3.03 GB |
| Repeat | 32-bit | 39.6 °C | 253 s, 127 tok/s | 66 / 33 / 5.3 | 0.261 | 5.29 GB |
| Repeat | 16-bit | 37.8 °C | 129 s, 250 tok/s | 78 / 43 / 6.6 | 1.853 | 3.03 GB |
How we ran it
- The KV cache
- ExecuTorch stores the cache in 32-bit numbers by default; the 8-bit files use its 8-bit cache.
- The files
- The four models, each exported with ExecuPack's recipe (4-bit weights, 8-bit activations), with the same weights in both files of a pair. On the CPU the pair differs only in the cache.
- The phones
- The CPU pass ran on the first, its repeat and most GPU runs on the second, the rest on the third. Where two phones ran the same file, the predictions matched exactly.
- Reading a book
- Up to three books from PG-19 (one for Llama's and Qwen3's 32k files), 32,500 tokens each, wrapped in the model's chat format. At each depth the phone scores 128 next-token predictions, fed the book's true next token at every step rather than its own guess, so every file is scored on exactly the same text.
- Against the original
- The same predictions from the original model, in 32-bit on a GPU, compared by KL divergence over its 64 likeliest tokens plus one bucket for the rest. That undercounts differences inside the bucket, so it is a lower bound. The second phone also stored each file's own probabilities, so the two files of a pair could be compared with each other directly.
- Recall and chat
- The facts are hidden in the style of RULER's needles. The 141 short questions come from the app's earlier tests.
- Heat
- The GPU runs waited before each book until the phone's thermal cap was off, its thermal status at most 1 and the GPU at or under 50 °C, and logged the cap every 2 to 5 seconds.
- Review
- OpenAI Codex reviewed the CPU study and the second phone's GPU runs three times, recomputing the numbers from the raw results; an independent agent reviewed the third phone's round the same way. What they found is corrected here.
Limits
- Small samples
- One phone model, three books, and one book for Llama and Qwen at 32k. The intervals describe these texts; they do not establish that 8 bits and 32 are equivalent.
- Speed
- The CPU runs were not temperature-gated. Repeated on a second phone, the 2k and 8k files wrote within 5% of the first phone's speed except LFM2.5 at 2k (7 to 8% faster) and Qwen3 at 2k (26 to 31% faster), so small gains, under about 1.15×, are within the noise; the large ones are not. GPU runs were short and separated by cooling, so they do not measure sustained speed, and each GPU speed is one run per file: the one pair run twice, Llama's 32k, repeated its writing speeds within 0.6%.
- Not the app
- Everything ran through a test harness on the app's library, not the app's own chat runner.
- The 16-bit failure
- One model and one book. Qwen3 has no 32k GPU file: its export was killed on the build machine, most likely for lack of memory.
Sources
The ExecuTorch links point at v1.5.1. The phones' raw results and the script that turns them into this page are not yet published.