Frontier Foundry

On-Device & Local Models

The Power Plant · Inference & Serving

Running models on phones and laptops instead of in the cloud.

Also called: on-device, on device, local model, local llm, run locally, edge ai, Ollama, llama.cpp, MLX. In the glossary.

How it works, as a machineThe Repair Bench · asks

Follow one ask from an app's typed ask to an answer on the phone's screen, in a phone repair bench, a handset opened up on the mat.

  1. Route it to the device
  2. Take the foreground turn
  3. Pin the weights in RAM
  4. Decode on the NPU
  5. Write the answer
Play On-Device & Local Models

On-Device & Local Models in plain words

On-device AI runs a model on a phone or laptop instead of in a datacenter. The model must be small enough for the device's memory and battery. Nothing is sent away, so it works offline and keeps data private, at the price of a weaker model than the cloud offers.

An analogy

A pocket phrasebook instead of a telephone call to an interpreter. It works on a mountain with no signal, and nobody overhears the conversation. It is thinner than what the interpreter knows, so it handles the menu and fails at the contract.

How On-Device & Local Models connects

7 typed relations in the knowledge graph

Builds on

  • Fast Inference: The NPU decode core reads weights once per token, so the speed of a local answer is set by memory and the chip.
  • Quantization: The RAM module holds weights packed to 8 or 4 bits so that a model fits the RAM of a phone.
  • Small Language Models: The model in the RAM module is a small model chosen to fit; this district follows what an ask meets once it is there.

Built on by

  • Looped Transformers: The smaller looped model was ported to consumer cards within days.
  • Quantization: A file that fits a laptop or a phone card is what makes a model run on the device.

Made possible by

  • Open-Weight Models: A model can only run on your own machine if its weights can be on your own machine.
  • Quantization: Fewer bits per weight is how a model fits in the memory of a phone.

Often in the same sources

Quantization, Fast Inference, Speculative Decoding, Inference Serving, Mixture of Experts, Chinese AI Labs

See On-Device & Local Models in the knowledge graph

On-Device & Local Models in the news

from the daily digests

Who is behind On-Device & Local Models

people, labs, products and models

Named in its facts

What the sources say

3 parts · 12 sources · updated 2026-11-27

Sources describe on-device AI as a model small enough for the memory and the battery of a phone or laptop, answering with no round trip. The ask is routed to the device model, takes its turn on a shared model, meets quantized weights in RAM, decodes on the chip and is written to the screen. The wall is memory first, then energy and heat when it runs nonstop.

Front door: the ask stays inside

An app's ask is answered by a model that lives on the device. A router picks the device model when it is there and the cloud only when it is not; one shared system model serves every app, and the app in front gets the next turn.

  1. The hybrid router board sends the ask to the device model when there is one, and to the cloud only when there is not.
  2. The shared-model queue counter gives the app in front the next turn and holds the asks from the background.
  • On-device means the prompts are processed on the device and no data goes to a server, so sensitive data can stay put. Florina Muntenescu
  • A local answer costs nothing per call to the app's maker and works offline. Florina Muntenescu
  • Android keeps one model on the device in a system service, and every app asks that same model. Florina Muntenescu

Open questionWhere should a private ask be answered: only on the device, or in sealed cloud compute?

  • On the device. A model that runs entirely there leaves nobody else able to read the conversations. Google DeepMind
  • In sealed cloud compute when the device is too small. Hardware enclaves and device-held keys can keep the data as private as if it never left. Google DeepMind

Model bay: a model that fits in RAM

The model must fit in the device's memory and run on its chip. Weights are quantized to fewer bits, and the runtime chooses the CPU, GPU or NPU. Memory is the first wall; reading the weights for every token is the next.

  1. The resident weights shelf keeps a quantized model in device RAM, so each ask meets weights that are already there.
  2. The NPU decode bench reads those weights once per token on the chip the runtime picks.
3 to 4 GB
Size of the system model Android ships once for every app to share; the smallest useful models are about 1 GB Oli Gaymond
about 2 GB per 1B parameters
Memory of a model's weights at 16-bit precision; 8-bit or 4-bit quantization halves or quarters it Rachel Lee Nabors (RL Nabors)
3.4 GB
One 2B-class open model as a 4-bit file with quantization-aware training; a 2.6B model at 4 bits is about 1.7 GB Hugging Face
32 GB
Memory a Mac needs to run a 27B open model at 4 bits (a 16 GB file) Hugging Face
  • Most small models for phones and the web are quantized to 8 or 4 bits, which can halve or quarter the disk and memory they need. Rachel Lee Nabors (RL Nabors)
  • RAM is one of the limiting factors: a model can only run reliably if the device has the memory for it. Cormac Brick
  • A model called E2B needs only about 2 billion parameters resident in RAM; the rest sit on storage and are mapped in. Cormac Brick

Screen room: the answer and the battery

The answer is written on the screen with no round trip, but each answer is paid for out of a small battery and a few milliseconds of every frame. Run nonstop, the model drains the battery and heats the phone; a central queue that puts the foreground first and batches the rest keeps the cost down.

  1. The answer screen writes tokens as they arrive from the model, with no round trip to a server.
  2. The battery gauge shows what the answers draw from a phone battery of 10 to 15 watt-hours.
about 1 hour
A phone battery of 10 to 15 Wh against inference drawing 10 to 15 W gives about one hour of battery life, said the speaker of work on phones Alex Cheema
2 points in under a minute
iPhone battery drop reported in a demo of a dense 27B model run on the phone; anecdotal AINews
16 milliseconds
Time per frame at 60 Hz that an on-device agent must plan inside to avoid jank Shafik Quoraishee
4 seconds
Delay after which users stop believing a chat response, from research the speaker cites Rachel Lee Nabors (RL Nabors)
  • Run nonstop, an on-device model runs the battery down fairly quickly. Oli Gaymond
  • A person asking a question or changing data uses the feature 10 or 20 times a day, which does not worry battery life. Oli Gaymond
  • Batch work that is not urgent can wait and run on the charger overnight until it is done. Oli Gaymond

When it breaksThe phone too hot to hold. A team that ran language models on phones found energy was the big problem. A phone battery holds about 10 to 15 watt-hours and inference drew about 10 to 15 watts, so a charge lasted about an hour, and in benchmarks the phone got too hot to hold. Alex Cheema

Open questionIs a local model good enough to replace the cloud one for daily work?

  • Yes for personal use. It is not as good, but it is free and not so much worse that it matters. horsawlarway
  • No. The time, effort and cost to get a local model near the top cloud tools are not worth it right now. codinhood

Sources

12 in all

More in Inference & Serving

The Power Plant: the whole area
  • Inference ServingRunning models efficiently for many users: batching, scheduling, hardware use.
  • Speculative DecodingA small model drafts tokens and the big model checks them in one pass, for faster output.
  • QuantizationStoring weights in fewer bits to make models smaller and faster.
  • KV CacheMemory of past tokens' attention keys and values, the main memory cost of long contexts.
  • Token Economics & PricingWhat tokens cost, how fast prices fall, and how that shapes products.
  • Fast InferenceVery high tokens-per-second serving (Cerebras, Groq, fast modes).