Researchers demonstrate large language model operation on iPhone 18 Pro
A research team successfully operated a 177-billion-parameter language model on an iPhone 18 Pro using a streaming memory management technique.
WEB3C AI Research News and Report2 min read0 views
Single-source report. This story is based on a single published report and has not been independently verified.
A research team from LLMs For All has demonstrated the ability to run a 177-billion-parameter language model on an iPhone 18 Pro equipped with 12 GB of RAM. According to a preprint submitted on November 30, the system, known as Millie 2, successfully processed a query based on a cache of nearly one million tokens of FDA documentation.
The model utilizes a streaming approach to manage memory constraints, pulling specific model weights and document history chunks from flash storage as needed. By maintaining a compact index in RAM and predicting required data blocks, the runtime keeps the active memory footprint significantly lower than the total data size. In a tested configuration, the system held approximately 6.1 GB of weights and attention history in RAM simultaneously.
During testing, the device was cooled by an external fan to maintain performance. In one highlighted trial, the system generated text at a speed of 9.9 tokens per second after the cache was restored and the query was processed. A separate configuration, referred to as Ternary, achieved 11.65 tokens per second while processing a 36.9 GB model file.
The research indicates that the total data payload, including compressed text weights and attention history, reached approximately 69.5 GB at one million token positions. The project has made its runtime software and model files available through a public repository.
Why it matters
This demonstration shows that mobile devices with limited RAM can execute massive language models by streaming data from storage, potentially expanding the accessibility of large-scale AI on consumer hardware.
Quick answers
How does the iPhone manage a 69.5 GB workload with only 12 GB of RAM?
The Millie 2 runtime streams model weights and document history from flash storage as needed, keeping only a compact index and the currently required data blocks in RAM.
What was the performance of the model during testing?
In one configuration, the system generated text at 9.9 tokens per second, while another configuration achieved 11.65 tokens per second.