When should an app actually use AI?
A four-question checklist we run before adding a single model call to a product.
Adding an AI feature has never been easier, and that makes it easy to add one that shouldn't be there. Before we put a model call into one of our apps, or a client's, we ask four questions.
Is the task fuzzy?
If a few lines of ordinary code can solve the problem reliably, use them. Models are best at fuzzy jobs like summarizing, classifying messy input, drafting, and understanding natural language.
A useful test: can you write down the rules? Validating a postal code, sorting by date, or calculating a total all have clear rules, so plain code is faster, cheaper, and always right. "Turn this rambling voice note into a tidy to-do list" does not have clear rules. That's where a model earns its place.
Can the user tell when it's wrong?
A good AI feature makes its output easy to check and easy to fix. Show a draft and let the user edit it, instead of quietly acting on a guess.
In practice that means a few habits:
- Present results as suggestions, with an obvious way to accept, edit, or discard them.
- Keep the source visible next to the output, so people can compare.
- Never let a model take an action that's hard to undo without a confirmation step.
Use AI where it removes real work, and leave it out everywhere else.
What happens on a bad day?
Models time out, providers have outages, and answers drift over time. Each feature needs a graceful fallback and a way to measure quality after launch.
The fallback doesn't have to be clever. It just has to keep the app useful:
// graceful fallback
const summary = await withTimeout(model.summarize(doc), 4000)
.catch(() => firstSentences(doc, 3))If the model doesn't answer within four seconds, the user still gets something reasonable instead of a spinner or an error. We also log when the fallback fires, so we notice if it starts happening more often.
Measuring quality after launch matters just as much. Keep a small set of real, anonymised examples with known good answers, and re-run them whenever you change the prompt, the model, or the provider.
Does the cost work at scale?
Estimate the cost per active user before you build. Choosing the right model size, caching repeated work, and running small tasks on the device can turn an unprofitable feature into a viable one.
A few questions help here:
- How many model calls does a typical user trigger per day?
- Could a smaller, cheaper model handle most of those calls?
- Are users asking the same thing repeatedly, so the answer can be cached?
- Can any of it run on the phone itself, with no server call at all?
If the numbers only work at a price nobody will pay, it's better to find out on a spreadsheet than after launch.
The short version
If a task is fuzzy, the user can easily check the result, the feature degrades gracefully, and the cost holds up as usage grows, AI is probably a good fit. If any of those answers is "no", we either redesign the feature or build it without a model. Both are fine outcomes.