Innovative Performance of iPhone 18 Pro with Millie 2
The iPhone 18 Pro, boasting an impressive 12 GB of RAM, has successfully executed a 177-billion-parameter language model, utilizing a meticulously prepared cache.
In a notable demonstration, the AI model, dubbed Millie 2, responded to inquiries regarding approximately one million tokens of materials from the FDA.
According to a preprint published by LLMs For All on November 30, the device extracted segments of the model alongside the document’s archived history from its flash storage while simultaneously generating coherent text.
This cache encompassed a staggering 989,693 tokens related to FDA guidelines and regulations. In a reproduction of the findings from the study, Millie 2 referenced a specific section concerning reserve samples for finished pharmaceuticals, establishing the minimum requirement at double the quantity needed for mandatory testing—excluding sterility and pyrogen assessments—which aligns with the federal regulations archived previously.
The response was generated by Ternary, a variant of Millie 2 housing a model file size of 36.9 GB, achieving an output of 52 tokens at a rate of 11.65 tokens per second.
Integration of the Model within the iPhone
The primary compressed model file for Millie 2, known as Q3, measures 56.3 GB. Additionally, the phone required access to an attention history—essentially the model’s record of previously processed text.
Collectively, both the compressed text weights and comprehensive history amounted to roughly 69.5 GB at one million token positions, as delineated within the paper’s memory analysis.
Millie 2 operates utilizing approximately 6.7 billion parameters for each generated token, maintaining an index of document history in RAM while forecasting which weights and segments of prior history it will require next.
This indexing capability allows the phone to traverse the saved history while retaining only the granularity of data essential for immediate use. In one configuration of Q3, the weights and history data in RAM were condensed to about 6.1 GB, with additional memory allocated for different application functions.
The predictive data reading and reuse of RAM enabled the model to retain the majority of the full payload beyond the confines of active memory.
The specified in-RAM data comprises weights and attention history, inclusive of the index; other applications and system functions contribute to overall memory usage.
In the highlighted Q3 configuration outlined in the study, the iPhone demonstrated its capacity by generating 274 tokens at an astounding rate of 9.9 tokens per second during its swiftest recorded trial, aided by a cooling fan.
The timing commenced once the iPhone had restored the cache and initialized the question processing.

It is important to note that processing a fresh document necessitates a distinct pass to construct the cache; thus, the benchmark solely measures the speed of text generation after the input is fully prepared.
Source link: Cryptoslate.com.






