AI GLOSSARY · LOCAL AND OPEN MODELS

On-device AI

Markdown version

Definition

On-device AI means running an AI model directly on the user's own phone, laptop or other device, instead of sending the input to a remote server for processing.

Also called: on-device LLM, local AI model, on-device machine learning, on-device models, on-device language model.

In plain language

With on-device AI, the model lives on your phone or laptop and does its work there. Dictating a note or blurring a photo background without an internet connection is a typical case. IBM lists faster responses and more privacy because data is not transferred to another network as benefits of edge AI, and says edge AI can work with or without an internet connection. The trade-off is that a device has less memory and power than a data center, so on-device models are often smaller and may do less than the largest hosted ones. A model that fits still uses battery and storage.

Technical definition

On-device inference loads trained model weights into the memory of a phone, laptop or embedded board and runs inference on the device. Google describes Google AI Edge as an end-to-end stack for building and deploying on-device ML and AI across platforms. Because device memory is limited, models are often compressed first, for example by quantization, which stores weights at lower numeric precision. Microsoft's Windows ML documentation describes selecting an available accelerator, such as an NPU, and falling back to the GPU or CPU when it is unavailable.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    local-model-sizing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A check on whether an open-weight language model will run on a given GPU, Mac or PC, using a script that computes weight, KV-cache and overhead memory per quantization level.
    Why it exercises the concept
    On-device AI starts with whether the model fits the hardware. The skill turns that into arithmetic before you download anything.
  2. Skill by Skill Almanac · Illustrative, not executed

    android-practices 49/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Native Android rules in Kotlin and Compose, plus a scanner that helps an agent write idiomatic, leak-free app code.
    Why it exercises the concept
    Phones are a main device for on-device AI. The skill does not cover models, but app code that runs one still has to behave well on the platform.
  3. Skill by Skill Almanac · Illustrative, not executed

    ios-swift-practices 51/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Rules that make an agent write current SwiftUI, with a check for six known Swift anti-patterns.
    Why it exercises the concept
    iPhones and iPads are the other main platform. This skill covers app code, not model runtimes, so treat it as the app-side half of the work.
  4. Guide · Illustrative, not executed

    Self-Hosting an AI Agent: What You Take On

    What you see
    A guide to what you take on when an agent runs on your machine: model memory, network exposure, file access and vetting skills, with a checklist.
    Why it exercises the concept
    Local does not by itself mean private or contained. The guide shows what to check once the model runs on your own hardware.

How it shows up when you use agents

Hosted coding agents send your prompts to a model running elsewhere; see Self-hosted LLM for the alternative. On-device AI is the other arrangement: the model runs on hardware you hold. You meet it when you point an agent or an MCP server at a local model, or when you build a mobile or desktop app that runs a model itself.

The practical question is fit. Weights, working memory and runtime overhead all compete for the device's memory. Before choosing a model, check that it fits, for example with the local-model-sizing skill. A model that is quantized needs less memory but may behave differently from the original.

Two things break when the idea is misread. People assume local means private, while the tool around the model may still call the network, so check where data goes. And they assume a small local model equals a large hosted one, so compare them on your own task. See Edge AI for the wider idea and Inference for the step that runs on the device.

Common confusions

  • On-device AI versus edge AI. Edge AI covers any hardware near the data, including gateways and sensors. On-device AI is the case where the model runs on the user's own device.
  • On-device AI versus self-hosted LLM. A self-hosted model may sit on your own server. On-device means the user's phone or computer.
  • On-device versus cloud. Cloud AI sends input to remote servers. On-device AI processes it locally, though an app can combine both.
  • Myth. On-device AI means the model learns on the device. Usually the model is trained elsewhere and only run locally.

Terms that mention On-device AI

2 terms mention this one

More in Local and open models

Next steps

  1. Self-Hosting an AI Agent: What You Take On The long-form guide.
  2. local-model-sizing A skill that exercises it.
  3. Neural processing unit (NPU) Related term.
  4. Self-hosted LLM Related term.
  5. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (2)
  • : First version.
  • : Verifier pass: fixed unsourced inference, IBM wording, hosted-agent claim; dropped training sentence.