An iPhone 18 Pro with 12 GB of RAM executed a 177-billion-parameter language model using a precomputed cache, as Millie 2 responded to a question spanning nearly one million tokens of FDA material.
The device retrieved segments of the model and the document’s cached history from flash storage during text generation, according to a November 30 preprint from LLMs For All.
The cache encompassed 989,693 tokens of FDA material and regulations. In the response reproduced in the paper, Millie 2 cited the section governing reserve samples for finished drugs, establishing a minimum of twice the quantity required for mandatory tests while excluding sterility and pyrogen tests from that calculation, consistent with the archived federal rule.
The answer originated from Ternary, a variant of Millie 2 built on a 36.9 GB model file, generating 52 tokens at 11.65 tokens per second.
How the Model Fit on the iPhone
The primary compressed Millie 2 model file, designated Q3, measured 56.3 GB. The device also required access to an attention history—the model’s record of text it had already processed.
Combined, the compressed text weights and full history totaled approximately 69.5 GB across one million token positions, according to the paper’s memory breakdown.
Millie 2 utilizes approximately 6.7 billion parameters per generated token and maintains an index of the document history in RAM, predicting which weights and history chunks will be needed next.
It reuses data already resident in memory and begins loading missing pieces while earlier layers of the model are still operating.
The index allows the phone to scan the saved history while retaining only the detailed data it will actually use. In one Q3 configuration, the weights and history data held in RAM simultaneously totaled about 6.1 GB, while other application components consumed additional memory.
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 featured Q3 configuration, the iPhone generated 274 tokens at 9.9 tokens per second during its fastest measured trial and was cooled by an external fan.
The timer began after the phone restored the cache and processed the question. A new document requires a separate processing pass to construct that cache, so the benchmark measures only text-generation speed once the input is prepared.
LLMs For All provides links to the model files and a guide for building the iPhone software from source in its public runtime repository.
Also Read
- Algorand Rallies 29% Upon Broad Market’s Quantum Panic
- ‘Code Red’: Coinbase CEO Orders Employees to Accelerate Post-Quantum Protections
- African Currencies Diverge As Hawkish Fed Bets, Commodity Swings Reshape FX Flow – MarketForces Africa
- Twenty One Capital Acquires $5 Million in Bitcoin During Market Downturn

