# 177-billion-parameter model runs 1 million-token context on a phone with 12GB of RAM

> Researchers at LLMs For All published a paper on Millie 2, which runs a 177-billion-parameter language model with a 1 million-token context on a smartphone with 12GB of RAM.

- **Publisher**: New Web Media
- **Section**: AI
- **Published**: Dec 4, 2026, 06:50 KST (2026-12-03T21:50:58.969Z)
- **Updated**: 2026-12-03T21:53:05.892Z
- **Credit**: Edited by Seung Kim
- **Canonical URL**: https://newweb.media/en/a/261204-cy8z3f
- **Markdown URL**: https://newweb.media/en/a/261204-cy8z3f.md
- **Korean Original**: https://newweb.media/a/261204-cy8z3f

## Why it matters
- By streaming the model instead of loading all of it into memory, a very large model and a very long context run on a smartphone.
- Meta's MobileLLM-R2 trains a model to be small, while Millie 2 leaves the large model as it is and changes how it runs.

## By the numbers
| Metric | Value | Change |
| --- | --- | --- |
| Compressed weights and attention data for a 1 million-token context | 69.5GB | — |
| iPhone 18 Pro, generation speed with short context | 14.1 tokens/sec | — |
| Question-answering speed on a 1 million-token document | 9.9 tokens/sec | — |

## Key details
Millie 2 streams the model weights instead of loading them all at once. It predicts in advance which experts each layer will use and gives priority to experts whose weights are already in RAM. For attention data, it proposes Residency-Biased Attention (RBA). It scores a compressed index of the full history using the states of earlier layers, and gives extra points to blocks whose keys and values are already in RAM.

## Key terms
- **Expert**: In a mixture-of-experts model, an expert is a sub-network module that is activated selectively for each input.

## Primary Sources
- [Hugging Face Daily Papers](https://huggingface.co/papers/2611.41874)

---
Tags: on-device AI, LLMs For All, Millie 2, long context
