Skip to content
mentoor

Topic 4 of 5 · 4 min read

Size, speed and battery limits on devices

Goal: Judge whether a proposed feature fits on-device limits from its input size, latency target and supported devices.

A device model is limited by memory, processing power and battery, so a feature fits on-device only if its input is short, its task is narrow and the target devices can run the model.

Check yourself · 1 of 3

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

Choose one answer

Why it matters

Cloud models run on data-centre hardware. A phone has a small share of that memory and power, and it also has to stay cool and last the day. Plans that ignore these limits produce features that are slow, wrong or missing on many devices.

The five limits

  1. Context window. A small model accepts less text at once. A long email thread or document may not fit, and the feature may cut it or fail.
  2. Reasoning. Small models make more mistakes on multi-step logic, maths and subtle instructions. They follow short, clear instructions better than long, layered ones.
  3. Download and storage. The model takes space on the device. Some are hundreds of megabytes or more. Users on low storage or slow networks may not accept that.
  4. Speed, heat and battery. Generating text keeps the processor busy. Long outputs are slow, warm the phone and drain the battery. A short answer is cheap. A long essay is not.
  5. Device support. Only recent phones and laptops with enough memory and a capable chip run the model. Older devices cannot, and some regions or accounts may not get the feature yet.

How to judge a feature

Ask four questions: How long is the input? How long is the output? How fast must it feel? Which devices must it run on? Then try a real sample on the weakest device you promise to support.

Before and after

Before: "Let's add an on-device assistant that reads the user's whole inbox and drafts weekly reports."

This needs a large context, long output and deep reasoning, on every phone.

After: "Let's add on-device subject-line suggestions from the draft the user is writing. Input is a few hundred words, output is one line, and unsupported devices skip the feature."

What goes wrong

  • Measuring only on a new flagship phone.
  • Counting words by eye instead of testing real input length.
  • Ignoring battery and heat during long generation.
  • Promising the feature to everyone when only some devices can run it.

Examples

Fit check

Feature Input Output Fits on-device?
Suggest a subject line one draft email one line Yes
Summarise a 10-message thread short text 2 sentences Probably
Review a whole contract very long long report No, use a larger model

Test on the weakest device

Pick the oldest or cheapest device you plan to support. Run ten real inputs of typical and worst-case length. Note time, heat and failures. That result, not the flagship demo, decides the plan.

Key points

  • Small device models accept less input, so long documents may be cut or rejected.
  • Reasoning is weaker, so keep instructions short and the task narrow.
  • Model size takes storage and bandwidth, which some users cannot spare.
  • Long generation costs time, heat and battery, and short outputs are far cheaper.
  • Older devices cannot run the model, so every feature needs a plan for them.

Common mistakes

  • Testing only on the newest hardware.
  • Giving a small model a long, multi-part instruction.
  • Ignoring battery and heat when outputs are long.
  • Shipping with no behaviour defined for unsupported devices.

Check yourself · 2 of 3

Why does long text generation matter on a phone?

Choose one answer

Check yourself · 3 of 3

What should a product plan state for devices that cannot run the model?

Choose one answer

Practice items, not counted towards your mastery.

Start here