Skip to content
All experiments

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.

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 1startThe
    step 2startThecat
    step 3startThecatsat
    step 4startThecatsaton
    step 5startThecatsatonthe

    In 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 token

    For the whole window, in 32 bits:

    16,384numbers per token
    ×4bytes each (32-bit)
    ×32,768tokens (32k)
    =2.1 GBreserved at load
    • 32-bit
      2.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.

  • Why it sets the speed

    Cache read to write one token, Llama 3.2 1B

    1,900 tokens in

    • 32-bit
      125 MB
    • 8-bit
      34 MB

    7,900 tokens in

    • 32-bit
      518 MB
    • 8-bit
      140 MB

    32,500 tokens in

    • 32-bit
      2.1 GB
    • 8-bit
      574 MB

    The deeper the conversation, the more each new token reads, and the more a smaller cache saves.

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 in
    1.6×

    25 → 40 tok/s

  • 7.9k in
    2.7×

    6.8 → 18 tok/s

  • 32.5k in
    3.3×

    1.6 → 5.3 tok/s

LFM2.5 1.2B

  • 1.9k in
    1.00×

    38 → 38 tok/s

  • 7.9k in
    1.7×

    15 → 25 tok/s

  • 32.5k in
    3.3×

    3.6 → 12 tok/s

Qwen3 1.7B

  • 1.9k in
    2.8×

    13 → 36 tok/s

  • 7.9k in
    3.8×

    3.5 → 13 tok/s

  • 32.5k in
    17.5×

    0.2 → 3.5 tok/s

Gemma 3 1B

  • 1.9k in
    1.7×

    35 → 59 tok/s

  • 7.9k in
    2.0×

    26 → 52 tok/s

  • 32.5k in
    2.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

010 GB
  • Llama 3.2 1B

    −1.6 GB

    3.5 → 1.9 GB

  • LFM2.5 1.2B

    −0.6 GB

    2.1 → 1.5 GB

  • Qwen3 1.7B

    −5.3 GB

    8.9 → 3.6 GB

  • Gemma 3 1B

    −0.2 GB

    1.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 in
    8.1%

    about 1 in 12, 31 of 384 positions

  • 7.9k in
    9.6%

    about 1 in 10, 37 of 384 positions

LFM2.5 1.2B

  • 1.9k in
    8.6%

    about 1 in 12, 33 of 384 positions

  • 7.9k in
    6.3%

    about 1 in 16, 24 of 384 positions

Qwen3 1.7B

  • 1.9k in
    11.2%

    about 1 in 9, 43 of 384 positions

  • 7.9k in
    10.2%

    about 1 in 10, 39 of 384 positions

Gemma 3 1B

  • 1.9k in
    10.9%

    about 1 in 9, 42 of 384 positions

  • 7.9k in
    14.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.

  • 8k window

    study build, 2,048-token chunk

    Loads
    4.3 GB

    second phone

  • 16k window

    published, 2,048-token chunk

    Aborts
    8.6 GB
  • 32k window

    published, 2,048-token chunk

    Aborts
    17.2 GB

    the study's own build with this chunk aborted too

  • 32k window

    study build, 256-token chunk

    Loads
    2.1 GB

    and 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

080 tok/s
  • 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

06 GB
  • Llama 3.2 1B, 2k window

    −0.7 GB

    2.5 → 1.8 GB

  • Llama 3.2 1B, 8k window

    −2.6 GB

    6.0 → 3.4 GB

  • Llama 3.2 1B, 32k window

    256-token chunks

    −2.3 GB

    5.3 → 3.0 GB

  • Qwen3 1.7B, 2k window

    −0.4 GB

    2.5 → 2.1 GB

  • Qwen3 1.7B, 8k window

    −2.3 GB

    5.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

0300 tok/s
  • 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

0100 %
  • 1.9k tokens in

    likeliest token matches the original

    −2 points

    73% → 71%

  • 7.9k tokens in

    likeliest token matches the original

    +1 point

    62% → 63%

  • 32.5k tokens in

    likeliest token matches the original

    −34 points

    62% → 28%

  • Recall at 32.5k

    questions answered, of 9

    −9 answers

    9 → 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 phoneShow

Swipe the table sideways for more columns.

ModelWindowDepth32-bit tok/s8-bit tok/sFaster
Llama 3.2 1B2k1.9k40561.39×
Llama 3.2 1B8k1.9k26381.48×
Llama 3.2 1B8k7.9k6.6182.7×
Llama 3.2 1B32k1.9k25401.6×
Llama 3.2 1B32k7.9k6.8182.7×
Llama 3.2 1B32k32.5k1.65.33.3×
LFM2.5 1.2B2k1.9k66711.08×
LFM2.5 1.2B8k1.9k40461.15×
LFM2.5 1.2B8k7.9k15322.1×
LFM2.5 1.2B32k1.9k38381.00×
LFM2.5 1.2B32k7.9k15251.7×
LFM2.5 1.2B32k32.5k3.6123.3×
Qwen3 1.7B2k1.9k14271.9×
Qwen3 1.7B8k1.9k12302.4×
Qwen3 1.7B8k7.9k3.3123.5×
Qwen3 1.7B32k1.9k13362.8×
Qwen3 1.7B32k7.9k3.5133.8×
Qwen3 1.7B32k32.5k0.23.517.5×
Gemma 3 1B2k1.9k48671.42×
Gemma 3 1B8k1.9k36571.6×
Gemma 3 1B8k7.9k25512.0×
Gemma 3 1B32k1.9k35591.7×
Gemma 3 1B32k7.9k26522.0×
Gemma 3 1B32k32.5k13322.5×
CPU: memoryResident memory after load and at its peak, in GBShow

Swipe the table sideways for more columns.

ModelWindowAfter load, 32 → 8-bitPeak, 32 → 8-bitSaved
Llama 3.2 1B2k1.21 → 1.111.37 → 1.260.10
Llama 3.2 1B8k1.62 → 1.231.79 → 1.400.39
Llama 3.2 1B32k3.22 → 1.653.47 → 1.901.56
LFM2.5 1.2B2k1.10 → 1.061.27 → 1.230.04
LFM2.5 1.2B8k1.25 → 1.101.41 → 1.270.15
LFM2.5 1.2B32k1.86 → 1.272.07 → 1.480.59
Qwen3 1.7B2k1.83 → 1.482.01 → 1.660.35
Qwen3 1.7B8k3.24 → 1.853.43 → 2.041.39
Qwen3 1.7B32k8.59 → 3.318.85 → 3.585.28
Gemma 3 1B2k0.93 → 0.881.11 → 1.060.05
Gemma 3 1B8k0.96 → 0.901.15 → 1.070.08
Gemma 3 1B32k1.18 → 0.951.50 → 1.270.23
CPU: divergence and accuracyKL to the original model, perplexity and top-token agreement, every checkpointShow

Swipe the table sideways for more columns.

ModelWindowBooksDepthKL, 32 → 8-bitChange (95% interval)Perplexity, 32 / 8 / originalTop token matches, 32 / 8
Llama 3.2 1B2k31.9k0.229 → 0.218−0.0107 (−0.0204, −0.0010)47.7 / 47.1 / 37.471% / 72%
Llama 3.2 1B8k31.9k0.229 → 0.218−0.0107 (−0.0204, −0.0010)47.7 / 47.1 / 37.471% / 72%
Llama 3.2 1B8k37.9k0.295 → 0.275−0.0200 (−0.0389, −0.0037)40.4 / 39.2 / 29.365% / 64%
Llama 3.2 1B32k11.9k0.160 → 0.157−0.0027 (−0.0092, +0.0035)87 / 86.2 / 71.671% / 73%
Llama 3.2 1B32k17.9k0.205 → 0.197−0.0087 (−0.0185, +0.0007)40.6 / 40.6 / 29.363% / 60%
Llama 3.2 1B32k132.5k0.293 → 0.321+0.0280 (+0.0189, +0.0383)45.7 / 48.5 / 3963% / 60%
LFM2.5 1.2B2k31.9k0.244 → 0.247+0.0030 (−0.0088, +0.0138)73.7 / 75.3 / 7776% / 77%
LFM2.5 1.2B8k31.9k0.244 → 0.247+0.0030 (−0.0088, +0.0138)73.7 / 75.3 / 7776% / 77%
LFM2.5 1.2B8k37.9k0.233 → 0.235+0.0020 (−0.0048, +0.0088)136.3 / 137.2 / 14976% / 76%
LFM2.5 1.2B32k31.9k0.244 → 0.247+0.0030 (−0.0088, +0.0138)73.7 / 75.3 / 7776% / 77%
LFM2.5 1.2B32k37.9k0.233 → 0.235+0.0020 (−0.0048, +0.0088)136.3 / 137.2 / 14976% / 76%
LFM2.5 1.2B32k332.5k0.323 → 0.327+0.0043 (−0.0036, +0.0127)98.3 / 99.4 / 78.269% / 68%
Qwen3 1.7B2k31.9k0.169 → 0.165−0.0038 (−0.0143, +0.0050)47.7 / 48.5 / 42.279% / 80%
Qwen3 1.7B8k31.9k0.169 → 0.165−0.0038 (−0.0143, +0.0050)47.7 / 48.5 / 42.279% / 80%
Qwen3 1.7B8k37.9k0.156 → 0.156+0.0003 (−0.0137, +0.0114)50.8 / 49.8 / 43.578% / 80%
Qwen3 1.7B32k11.9k0.200 → 0.194−0.0056 (−0.0297, +0.0148)91.1 / 90.4 / 83.378% / 82%
Qwen3 1.7B32k17.9k0.167 → 0.155−0.0123 (−0.0203, −0.0023)46.2 / 46.2 / 40.573% / 70%
Qwen3 1.7B32k132.5k0.183 → 0.191+0.0083 (−0.0030, +0.0195)42.6 / 40.9 / 3178% / 75%
Gemma 3 1B2k31.9k0.166 → 0.167+0.0008 (−0.0080, +0.0102)61.8 / 61.3 / 54.174% / 73%
Gemma 3 1B8k31.9k0.166 → 0.167+0.0008 (−0.0080, +0.0102)61.8 / 61.3 / 54.174% / 73%
Gemma 3 1B8k37.9k0.188 → 0.189+0.0008 (−0.0100, +0.0122)57.3 / 59.5 / 48.372% / 73%
Gemma 3 1B32k31.9k0.166 → 0.167+0.0008 (−0.0080, +0.0102)61.8 / 61.3 / 54.174% / 73%
Gemma 3 1B32k37.9k0.188 → 0.189+0.0008 (−0.0100, +0.0122)57.3 / 59.5 / 48.372% / 73%
Gemma 3 1B32k332.5k0.183 → 0.180−0.0030 (−0.0126, +0.0063)52.4 / 52 / 44.672% / 72%
CPU: 32-bit against 8-bit directlySecond phone: divergence between the two files, and how often their likeliest token differsShow

Swipe the table sideways for more columns.

ModelWindowDepthKL between files, mean / worstLikeliest token differs
Llama 3.2 1B2k1.9k0.0131 / 0.20731 of 384
Llama 3.2 1B8k1.9k0.0131 / 0.20731 of 384
Llama 3.2 1B8k7.9k0.0143 / 0.20337 of 384
LFM2.5 1.2B2k1.9k0.0171 / 0.41233 of 384
LFM2.5 1.2B8k1.9k0.0171 / 0.41233 of 384
LFM2.5 1.2B8k7.9k0.0147 / 0.09824 of 384
Qwen3 1.7B2k1.9k0.0365 / 0.74843 of 384
Qwen3 1.7B8k1.9k0.0365 / 0.74843 of 384
Qwen3 1.7B8k7.9k0.0365 / 1.03639 of 384
Gemma 3 1B2k1.9k0.0283 / 0.23742 of 384
Gemma 3 1B8k1.9k0.0283 / 0.23742 of 384
Gemma 3 1B8k7.9k0.0261 / 0.48856 of 384
CPU: recallHidden facts asked at the deepest point each file reaches, and how many each file foundShow

Swipe the table sideways for more columns.

ModelWindowPhoneBooksAsked32-bit found8-bit foundOriginal model found
Llama 3.2 1B2kfirst312121211
Llama 3.2 1B8kfirst321192019
Llama 3.2 1B32kfirst19798
LFM2.5 1.2B2ksecond312121212
LFM2.5 1.2B8ksecond321212121
Qwen3 1.7B2kfirst312121212
Qwen3 1.7B8kfirst321212121
Qwen3 1.7B32kfirst19457
Gemma 3 1B2kfirst312121212
Gemma 3 1B8kfirst321121215
Gemma 3 1B32kfirst3275412
CPU: short chat questions141 held-out questions from the app, first-token divergence, and 47 repliesShow

Swipe the table sideways for more columns.

ModelFirst-token KL, 32 → 8-bitChange (95% interval)Rows worse / better by 0.1Reply KL, 32 → 8-bit
Llama 3.2 1B0.269 → 0.107−0.163 (−0.199, −0.130)0 / 670.100 → 0.095
LFM2.5 1.2B0.149 → 0.124−0.024 (−0.043, −0.006)9 / 230.090 → 0.091
Qwen3 1.7B1.456 → 0.924−0.532 (−0.954, −0.152)18 / 230.297 → 0.266
Gemma 3 1B3.705 → 3.469−0.236 (−0.646, +0.156)44 / 540.497 → 0.469
GPU: speed, memory and thermal levelEvery file, 32-bit against 16-bit, with the phone and the estimated throttle levelShow

Swipe the table sideways for more columns.

ModelWindowPhoneDepth32-bit tok/s16-bit tok/sFasterThrottle level, 32 | 16
Llama 3.2 1B2ksecond1.9k47571.21×L0 | L0
Llama 3.2 1B8ksecond1.9k57681.19×L0 | L0
Llama 3.2 1B8ksecond7.9k20271.36×L11–12 | L5–12
Llama 3.2 1B32kthird1.9k66781.18×L0 | L0
Llama 3.2 1B32kthird7.9k33431.29×L0 | L0
Llama 3.2 1B32kthird32.5k5.36.61.24×L12 | L12
Qwen3 1.7B2ksecond1.9k29301.05×L0 | L0
Qwen3 1.7B8kthird1.9k37471.29×L0 | L0
Qwen3 1.7B8kthird7.9k8.0131.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.

ModelWindowPhoneGPU memory, 32 → 16-bitSaved
Llama 3.2 1B2ksecond2.53 → 1.81 GB0.72 GB
Llama 3.2 1B8ksecond6.03 → 3.43 GB2.61 GB
Llama 3.2 1B32kthird5.29 → 3.03 GB2.25 GB
Qwen3 1.7B2ksecond2.53 → 2.06 GB0.47 GB
Qwen3 1.7B8kthird5.56 → 3.34 GB2.22 GB
GPU: divergence, recall and chat questionsKL to the original model and between the files, needles, and the app's questionsShow

Swipe the table sideways for more columns.

ModelWindowPhoneBooksDepthKL, 32 → 16-bitChange (95% interval)KL between files, mean / worstTop token matches, 32 / 16
Llama 3.2 1B2ksecond31.9k0.227 → 0.226−0.0004 (−0.0046, +0.0031)0.0014 / 0.03672% / 73%
Llama 3.2 1B8ksecond31.9k0.219 → 0.232+0.0126 (+0.0072, +0.0191)0.0031 / 0.06172% / 72%
Llama 3.2 1B8ksecond37.9k0.295 → 0.307+0.0121 (+0.0073, +0.0162)0.0067 / 0.09065% / 65%
Llama 3.2 1B32kthird11.9k0.146 → 0.149+0.0028 (+0.0006, +0.0051)0.0012 / 0.01073% / 71%
Llama 3.2 1B32kthird17.9k0.193 → 0.197+0.0047 (−0.0049, +0.0114)0.0039 / 0.06062% / 63%
Llama 3.2 1B32kthird132.5k0.261 → 1.853+1.5927 (+1.2757, +1.9356)1.3677 / 8.02062% / 28%
Qwen3 1.7B2ksecond31.9k0.146 → 0.150+0.0034 (−0.0004, +0.0073)0.0029 / 0.17680% / 79%
Qwen3 1.7B8kthird31.9k0.151 → 0.147−0.0044 (−0.0080, +0.0001)0.0035 / 0.04681% / 80%
Qwen3 1.7B8kthird37.9k0.140 → 0.140−0.0009 (−0.0049, +0.0028)0.0030 / 0.12779% / 78%

Swipe the table sideways for more columns.

ModelWindowAsked32-bit found16-bit foundOriginal model found
Llama 3.2 1B2k12121211
Llama 3.2 1B8k21201919
Llama 3.2 1B32k9908
Qwen3 1.7B2k12121212
Qwen3 1.7B8k21212121

Swipe the table sideways for more columns.

ModelPhoneFirst-token KL, 32 → 16-bitChange (95% interval)Rows worse / better by 0.1Reply KL, 32 → 16-bit
Llama 3.2 1Bsecond0.234 → 0.209−0.025 (−0.057, +0.002)12 / 200.085 → 0.083
Qwen3 1.7Bthird1.105 → 0.519−0.587 (−0.947, −0.290)8 / 300.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 temperatureShow

Swipe the table sideways for more columns.

RunCacheStarted atWhole-book readWriting at 1.9k / 7.9k / 32.5k, tok/sKL at 32.5kGPU memory
First32-bit30.3 °C220 s, 146 tok/s66 / 33 / 5.30.2615.29 GB
First16-bit48.4 °C163 s, 197 tok/s78 / 43 / 6.61.8533.03 GB
Repeat32-bit39.6 °C253 s, 127 tok/s66 / 33 / 5.30.2615.29 GB
Repeat16-bit37.8 °C129 s, 250 tok/s78 / 43 / 6.61.8533.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.

Keep reading

All experiments
  • 8.5 GB

    of memory for Qwen3 1.7B at a 32k window before the first prompt, on the 16 GB Pixel; the 12 GB phones stopped it

    OpenWeights, 7 September 2026

    Does the exported window matter?

    A compiled model fixes its context window, how much text it can hold at once, when it is exported, and reserves memory for all of it. Does a larger window also change the answers or the speed? A small matrix, run to decide whether a full sweep was worth it.

    Alpha Romer Coma

  • 9 of 9

    were fastest with NPU prefill: eight models, Qwen3 1.7B in two formats

    OpenWeights, 2 to 10 November 2026

    Prefill and decode on CPU, GPU and NPU

    A model reads the prompt (prefill), then writes the reply a token at a time (decode). Eight models, one of them in two formats, on a Snapdragon 8 Elite Gen 5, with each phase on the CPU, the GPU or the NPU, the part of the chip built for AI.

    Alpha Romer Coma

  • 1.5%

    of its writing speed left: the app's engine at 4 threads, with six of its eight cores taken out of use by hand

    OpenWeights, 3 to 11 November 2026

    Why CPU decode stalls when a phone throttles

    When a Snapdragon 8 Elite Gen 5 phone overheats, it stops using six of its eight cores, and llama.cpp, the engine that runs the model, nearly stops writing the reply if it uses more than two threads. Why, the fix the OpenWeights app now carries, and whether ordinary chat gets that hot.

    Alpha Romer Coma