On-device and in-browser AI
For both
Small models built into phones, laptops and browsers: what they can do, how to call them, what stays private and when a feature should go to the cloud
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which task suits a small built-in phone model best?
Check yourself · 2 of 5
Why should page code check that a built-in AI API exists before calling it?
Check yourself · 3 of 5
An app says summaries run on-device. Which detail could still send your text to the cloud?
Check yourself · 4 of 5
Which feature is the best fit for a small on-device model?
Check yourself · 5 of 5
Which request should a hybrid app send to the cloud model?
Topics
- What built-in phone and laptop models do4 min read · Apple's on-device foundation model, Gemini Nano, Gemma and Phi small models, and the tasks they handle well: summaries, replies, extraction
- Running models in the browser with WebGPU5 min read · Chrome's built-in AI APIs, WebLLM and Transformers.js, model download size and checking whether the device supports them
- What on-device processing keeps private4 min read · Data that never leaves the device, and the catches: cloud fallbacks, sync, telemetry and vendor claims to check
- Size, speed and battery limits on devices4 min read · Small context windows, weaker reasoning, download size, heat and battery drain, and older devices that cannot run the model at all
- Deciding between on-device and cloud models5 min read · Routing a feature by task difficulty, privacy, connectivity and cost, with a clear fallback and honest labels for users
Start here
- Built-in AI (Chrome for Developers) (opens in a new tab)DocsFree
Lists Chrome's built-in AI APIs, their status and how to check availability before use.
- Foundation Models framework (Apple Developer) (opens in a new tab)DocsFree
Apple's documentation for calling the on-device language model from an app.
- Gemini Nano on Android (opens in a new tab)DocsFree
Google's overview of running Gemini Nano on Android devices and which features use it.
Helps to know first
110 questions · last verified 2026-12