Tech Tip #6: Count your AI coding assistant's footprint

Coding with AI had nearly thirty-three times the carbon of coding by hand.

Video created by explainapaper.com

The problem

AI assistants are adopted for speed, and their energy is invisible to the team using them. For the programming tasks studied, LLM-assisted generation had nearly 33 times the carbon footprint of the manual approach, and the gap widened as tasks got harder.

The fix you can use today

  • Use assistants where they clearly pay back, not by reflex.
  • Break hard tasks into simpler steps with a person in the loop before generating.
  • Include assistant usage in your team's energy and cost reporting.

GreenCode researchers found that AI-assisted code had nearly 33 times the carbon of hand-written code.

Tools that help

  • EnergyBench (GreenCode researchers): an MIT-licensed benchmark that scores LLM-generated code for correctness and for the energy it actually uses
  • GreenCode Constitution skill (GreenCode researchers): open-source energy principles and a catalogue of 37 energy anti-patterns that an AI coding agent can follow to find and fix waste like this
  • 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 setting its own AI footprint against the saving it makes. It measures reductions as real totals, so a saving can be banked rather than spent. More on this.

Tags

#llm#ai-assistants#governance#esg

Sources

Transcript

Coding with AI had nearly thirty-three times the carbon of coding by hand. GreenCode researchers found that AI-assisted code had nearly thirty-three times the carbon of hand-written code. That was for the programming tasks they studied. And the gap grew as the tasks got harder. Teams use AI assistants to go faster. But the energy those assistants use is invisible to the team. It never shows up in the team's own numbers. Here is the fix you can use today. Use an assistant where it clearly pays back, not out of habit. Break a hard task into simple steps first. Keep a person in the loop to check each step. Let GreenCode's Constitution skill guide the agent, and EnergyBench score its code for energy. And count assistant use in your energy and cost reports, using tools like CodeCarbon. Left unmeasured, its footprint can cancel out the time it saves. GreenCode helps tackle this by setting its own AI footprint against the saving it makes. It measures savings as real totals, so they can be banked, not spent. That was GreenCode Tech Tip number six. Follow for the next tip, and find more on greencode.ai/tech-tips.

All GreenCode Tech Tips · All GreenCode videos

  • Tip #6
  • For CTOs and technical leads
  • Length 1:14
  • Category AI and machine learning
GreenCode

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

Get in touch