greenai.guide

Home › How do I…? › How do I design AI features so they don't run when nobody needs them?

How do I…?

How do I design AI features so they don't run when nobody needs them?

Updated · 1 min read

In short

Make AI features run when a user asks, not automatically on every page load, message or file. Generate once and reuse shared results, use plain code for decisions a rule can make, and remove AI features that few people use. The W3C Web Sustainability Guidelines ask teams to evaluate the need for AI before implementing it, and that applies to each trigger as well as each feature.

Steps

  1. List every place your product calls a model and what triggers each call.
  2. Change automatic triggers to user-initiated ones where the result is often ignored.
  3. Generate shared content once and cache it instead of per user or per view.
  4. Use rules or plain code for decisions that don't need a model.
  5. Track usage of each AI feature and retire those few people use.

The greenest AI call is the one that never runs because nobody needed it. Product decisions about when a model fires often matter more than which model it is.

Why does it matter?

An AI feature switched on by default runs for every user, every time, whether or not the result is read. Multiply a single summary or suggestion by millions of page views and the cost is large. Generative output is the expensive kind: Luccioni, Jernite and Strubell found image generation used about 2.9 kWh per 1,000 requests against 0.002 kWh for classifying text. The W3C Web Sustainability Guidelines ask teams to evaluate the need for AI before implementing it.

Design patterns that help

  • User-initiated, not automatic. A "Summarise" button instead of a summary generated on every open.
  • Generate once, serve many. Product descriptions, help answers or translations shared by all users should be generated once and cached. See how to use caching.
  • Rules first. The Green Software Foundation recommends using plain code for decisions a rule can make and calling the model only when needed.
  • Event-driven agents. Trigger background agents on real events, not on a timer.
  • Honest defaults. Let users switch AI features off and remember the choice.

Common mistakes

  • Measuring adoption by calls made, which rewards waste. Measure by results used.
  • Pre-generating "in case" content for every item in a catalogue.
  • Never retiring features. Review usage regularly.

This is sufficiency in practice: read efficiency is not sufficiency.

Sources

  1. Web Sustainability Guidelines, W3C (2025)
  2. Optimize agent orchestration to reduce unnecessary model calls, Green Software Foundation, Green Software Patterns (2025)
  3. Power Hungry Processing: Watts Driving the Cost of AI Deployment?, Luccioni, Jernite and Strubell, ACM FAccT (2024)

Join us

Help cut AI's impact on the planet

Get new guides, funding calls and directory listings by email, about once a month. Or add your product, course, PhD or research to the directories.

No tracking. Unsubscribe in one click. Other ways to join · Privacy