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

> Design habits that stop AI features running unasked: user-initiated triggers, generating shared results once, rules first and retiring unused features.

Source: https://greenai.guide/how-do-i/design-ai-features-that-dont-run-needlessly/  
Updated: 2026-11-19

## 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](/how-do-i/cache-llm-calls/).
- **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](/articles/efficiency-is-not-sufficiency/).

## Sources

- [Web Sustainability Guidelines](https://www.w3.org/TR/web-sustainability-guidelines/), W3C (2025)
- [Optimize agent orchestration to reduce unnecessary model calls](https://github.com/Green-Software-Foundation/patterns/blob/main/docs/development/optimize-agent-orchestration-reduce-model-calls.md), Green Software Foundation, Green Software Patterns (2025)
- [Power Hungry Processing: Watts Driving the Cost of AI Deployment?](https://arxiv.org/abs/2311.16863), Luccioni, Jernite and Strubell, ACM FAccT (2024)
