Millie 2: Streaming a 177-Billion-Parameter Language Model on Phones at Million-Token Context

Ben Krause

LLMs For All

Published November 30, 2026 · on the feed December 3, 2026 · ▲ 2 · arXiv 2611.41874

The abstract

Millie 2 runs a 177-billion-parameter language model with a million-token context on a phone with 12 GB of RAM. At that length, its compressed weights and attention data occupy 69.5 GB. On an iPhone 18 Pro, it generates 14.1 tokens/s at short context and 9.9 tokens/s when answering a question about a million-token document. Millie 2 streams model weights by predicting which experts a layer will use and favoring experts whose weights are already in RAM. We propose Residency-Biased Attention (RBA) for streaming attention data. Millie 2 uses an earlier layer's state to score a compact index of the full history, giving a bonus to blocks whose keys and values are already in RAM. The model fetches missing blocks while earlier layers compute. The destination layer then computes attention with the per-token keys and values of its selected blocks. To recover model quality, we keep the compressed weights fixed and train their shared scales under the same expert-selection constraints used on the phone. The resulting model scores close to its parent across reasoning, coding, instruction-following, and agentic benchmarks. We also evaluate browser and Android agents with model inference on the phones. These methods make it practical to run a large language model at long context on a phone even when its compressed weights and attention history together far exceed the phone's RAM.

The Brief

2:13

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Millie 2. Streaming a 177-Billion-Parameter Language Model on Phones at Million-Token Context. By Ben Krause, from LLMs For All. Published on the thirtieth of November.

Picture the arithmetic. Take a language model whose parameter count, in billions, is one hundred and seventy-seven. Given a context of a million tokens, it needs its compressed weights and its attention data together, and at that length they occupy sixty-nine point five gigabytes. The phone it is meant to run on has twelve gigabytes of RAM. Nothing close to the whole thing fits. Whatever runs has to be pulled in from storage piece by piece, and the question is how to choose the pieces without stalling generation or wrecking quality.

Millie 2 answers with one principle applied twice: prefer what is already in memory. For the weights, it predicts which experts a layer will use and favours experts whose weights are already resident in RAM. For attention, the paper proposes Residency-Biased Attention, or RBA, which applies the same bias to the stored keys and values of the long history.

In RBA, an earlier layer's state is used to score a compact index of the full history, and blocks whose keys and values already sit in RAM receive a bonus in that scoring. Missing blocks are fetched while earlier layers are still computing, so loading overlaps with work. When the destination layer is reached, it computes attention using the per-token keys and values of the blocks it selected. Quality is handled separately. The compressed weights are kept fixed, and only their shared scales are trained, under the same expert-selection constraints the phone imposes at run time. That way the model learns to live with the choices it will actually be forced to make.

On an iPhone 18 Pro, Millie 2 generates fourteen point one tokens per second at short context, and nine point nine tokens per second when answering a question about a million-token document. The retrained model scores close to its parent across reasoning, coding, instruction-following and agentic benchmarks. The paper also evaluates browser and Android agents with model inference running on the phones themselves.

What makes this work is a refusal to treat memory as a container the model must fit inside. The weights and the history together far exceed the phone's RAM, and the system is built to stream both, steering each choice toward data that is already present. On that basis the author argues it becomes practical to run a large model at long context on a phone.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.