Skip to content
mentoor

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

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

Why should page code check that a built-in AI API exists before calling it?

Choose one answer

Check yourself · 3 of 5

An app says summaries run on-device. Which detail could still send your text to the cloud?

Choose one answer

Check yourself · 4 of 5

Which feature is the best fit for a small on-device model?

Choose one answer

Check yourself · 5 of 5

Which request should a hybrid app send to the cloud model?

Choose one answer

Topics

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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

110 questions · last verified 2026-12