gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Add CO2 emissions estimate in the exit summary

Open theletterf opened this issue 1 year ago • 6 comments

What would you like to be added?

It would be great to know how much CO2 emissions our Gemini session produced, or at least get an estimate. Here's a quick mockup I created on my fork:

Image

It would be great if this data could come with some precision from the backend itself.

Why is this needed?

Ethical considerations. Transparency.

Additional context

No response

theletterf avatar Sep 08 '25 13:09 theletterf

This is a feature request to add CO2 emission estimates to the session summary, which falls under user experience. It's a good idea but not critical, so it's a low priority.

gemini-cli[bot] avatar Sep 08 '25 16:09 gemini-cli[bot]

👋 @Champbreed, thanks for your interest in this issue! We're reserving self-assignment for issues that have been marked with the help wanted label. Feel free to check out our list of issues that need attention.

gemini-cli[bot] avatar Mar 01 '26 16:03 gemini-cli[bot]

Hey @chrstnb I would love to pick this up I went through a few blogs and papers While google doesn't disclose the exact CO2 emissions for each model, it has officially disclosed the emissions for a median gemini prompt, which is 0.03 gCO₂e For now, we can use this to calculate the coarse CO2 emission estimate and can later fine grain it if google releases the emission of each individual model. References:

  • https://cloud.google.com/blog/products/infrastructure/measuring-the-environmental-impact-of-ai-inference/
  • https://arxiv.org/abs/2508.15734
  • https://greenly.earth/en-gb/leaf-media/data-stories/ai-efficiency-a-gemini-reality-check-with-greenly

Can you please add the help wanted tag to this issue if you're aligned? Excited to work on this!

Sidd-R avatar Mar 02 '26 20:03 Sidd-R

I think knowing how much electricity you used per session would come before knowing your CO² emissions

ajcates avatar Mar 25 '26 02:03 ajcates

Feature request to add CO2 emissions estimates to the CLI's exit summary.

Effort Analysis: Adding CO2 emissions to the exit summary requires a minor UI/Aesthetic adjustment. It involves calculating a basic estimate and adding a string to the final output component in the CLI's rendering logic. This is a trivial logic update that maps to the effort/small guidelines.

gemini-cli[bot] avatar May 09 '26 09:05 gemini-cli[bot]

Thank you for bringing this to our attention. Right now, our engineering team is focusing all resources on critical system maintenance and core stability. Because of this, we don't have immediate plans to address this specific issue, but we truly appreciate you flagging it for us.

Adib234 avatar May 09 '26 20:05 Adib234