On-Device LLMs on Phones: Conditions, Bottlenecks, and What Actually Matters

    Running large models on phones is possible, but it is not the same as running flagship cloud models locally. This article explains the three conditions that must hold at once—model size vs. memory, sustained chip performance under power and thermal limits, and inference-framework efficiency—and how MoE, quantization, memory bandwidth, and expert paging shape real on-device speed.

    The prerequisite for on-device intelligence: three things must hold at once

    Computing has repeatedly swung between concentration and distribution. Early machines were huge and available only to a few institutions; later they became smaller and cheaper, which made PCs and phones ubiquitous. Large language models are following a similar path. Most users still run models in cloud data centers: requests travel over the network, inference happens in the datacenter, and results return to the device.

    The reason is straightforward. Models with tens or hundreds of billions of parameters demand far more memory and compute than mobile hardware can provide.

    In the last one or two years, multimodal models that run on phones and tablets have appeared, and on some tasks they approach early cloud models. That shows on-device inference is feasible—but it is not the same as “the phone can run a flagship model.” Whether capability close to the next generation of flagship models can run stably on phones within two to three years depends on three things holding at the same time: the model must fit in phone memory, the chip must deliver sustained compute under power and thermal constraints, and the inference stack must turn those two into actual speed. If any one is missing, the experience degrades.

    Three on-device factors: model, hardware, and inference framework

    1. Model: sparse architectures cut compute, not storage

    Phone RAM is typically 8–16 GB and is shared with the OS and other apps. A dense model uses every parameter for every generated token, so both compute and memory traffic are high. Mixture-of-Experts (MoE) splits the model into expert subnetworks and activates only a subset per token, so per-token compute is much lower than a dense model with the same total parameter count.

    A common misconception follows. Fewer active parameters means less compute per token—not less memory. All expert weights still have to live somewhere. A 30B-parameter model in INT4 is about 15 GB of weights alone, more than most phones can leave for a single app after the system and other apps. Real deployments therefore page experts in from flash on demand. Paging consumes bandwidth and adds latency, so generation speed drops.

    Total parameters set the capability ceiling and the weight-storage footprint; active parameters set per-step compute. Smooth on-device running also depends on whether memory and storage bandwidth can absorb expert-swap cost.

    A rough size estimate:

    volume ≈ total parameters × bit width ÷ 8 + KV cache + runtime overhead

    KV-cache size depends on layers, attention-head layout, and context length and must be computed from the actual architecture. Runtime overhead includes activations, the inference engine, and temporary buffers. In INT4, 2B weights are about 1 GB, 4B about 2 GB, 8B about 4 GB. If an app’s memory budget is about 2–4 GB, models that can stay resident more easily are typically 2B–4B dense models, or specially designed small MoE models.

    2. Hardware: peak TOPS is not sustained TOPS

    Recent mobile NPUs have much higher peak compute, and memory bandwidth and capacity have grown. Vendor numbers are usually peaks; usable performance is what you get under sustained load.

    Mobile SoCs operate under strict power and thermal limits. Long generations heat the device, trigger throttling, and change both time-to-first-token and tokens per second over time. In the decode phase of on-device inference, the bottleneck is often memory traffic rather than arithmetic, so memory bandwidth strongly affects generation speed. Quantization and sparse activation matter on device precisely because they reduce the data moved per token.

    3. Inference framework: the same model can be much slower or faster

    On the same model and silicon, framework quality can produce large speed gaps. Mature on-device engines typically provide:

    • Quantization and compression: weights down to 4-bit or lower to shrink the model. Lower bit-width costs some accuracy and must be validated on the target tasks.