Tech Tip #51: Ask AI for less

Every extra word in or out of a chatbot costs energy.

Video created by explainapaper.com

The problem

Staff paste whole documents into prompts and accept long, padded answers by default, and every token is paid for in compute.

The fix you can use today

  • Teach short, structured prompts that ask for exactly what is needed.
  • Set output length limits in applications you build.
  • Summarise or retrieve relevant parts instead of pasting everything.

A UNESCO report found that shorter prompts and answers can cut AI energy use by over 50%. GreenCode's own AI reads only what it needs for the same reason.

Tools that help

  • AI Energy Score (Hugging Face): comparable energy ratings for AI models on common tasks
  • CodeCarbon: a Python package that estimates the energy and CO2 of a run from hardware power and regional grid intensity

How GreenCode helps

GreenCode helps tackle this by keeping its own AI lean: small fine-tuned models, retrieval so a model reads only what it needs, and each request sent to the smallest part that can do it. More on this.

Tags

#llm#training

Sources

All GreenCode Tech Tips

  • Tip #51
  • For CTOs and technical leads
  • Category AI and machine learning
  • Format short video
GreenCode

Want this checked on your own system? Talk to the GreenCode team.

Get in touch