Quick Take
- The Millie 2 team used an iPhone 18 Pro to answer a question from a prepared 989,693-token FDA document cache.
- Millie 2 streamed selected model weights and chunks of document history from flash storage as the iPhone generated text.
- The fan-cooled iPhone generated 9.9 tokens per second in the highlighted Q3 run after restoring the cache and processing the question.
An iPhone 18 Pro with 12 GB of RAM ran a 177-billion-parameter language model using a prepared cache, and Millie 2 answered a question about nearly a million tokens of FDA material.
The phone pulled pieces of the model and the document’s saved history from flash storage as it generated text, according to a Nov. 30 preprint from LLMs For All.
The cache covered 989,693 tokens of FDA material and regulations. In the answer reproduced in the paper, Millie 2 cited the section on reserve samples for finished drugs. It set the minimum at twice the amount needed for required tests, excluding sterility and pyrogen tests from that calculation, matching the archived federal rule.
That answer came from Ternary, a version of Millie 2 with a 36.9 GB model file, and the run generated 52 tokens at 11.65 tokens per second.
How the model fit on the iPhone
The main compressed Millie 2 model file, called Q3, was 56.3 GB. The phone also needed access to an attention history, the model’s record of the text it already processed.
Together, the compressed text weights and full history came to about 69.5 GB at a million token positions, according to the paper’s memory breakdown.
Millie 2 uses about 6.7 billion parameters per generated token, and keeps an index of the document history in RAM and predicts which weights and chunks of history it will need next.
It reuses data already in memory and starts reading missing pieces while earlier layers of the model are still working.
The index lets the phone look across the saved history while holding only the detailed data it will use. In one Q3 configuration, the weights and history data held in RAM at once came to about 6.1 GB, while other parts of the app used additional memory.
Millie 2 on 12 GB of RAM
Millie 2 pulls selected model weights and document history from flash storage as it generates text.
Reading ahead and reusing data in RAM let the model keep most of the full payload out of working memory.
The in-RAM figure covers weights and attention history, including the index. Other app and system allocations also use RAM.
In the paper’s highlighted Q3 configuration, the iPhone generated 274 tokens at 9.9 tokens per second in its fastest measured trial, and was cooled by a fan.
The timer started after the phone restored the cache and processed the question. A fresh document needs a separate processing pass to build that cache, so the benchmark measures only the speed of generating text once the input is ready.
LLMs For All links to the model files and a guide to building the iPhone software from source in its public runtime repository.


