GenAI interfaces like ChatGPT, Google Gemini, and Claude are clean and instant. But behind every prompt lies power-dense GPU clusters drawing electricity and evaporative cooling water.
To bring physical transparency to AI interactions without tracking users or slowing down the browser, I built EcoPrompt β an open-source, 100% client-side Chrome extension (Manifest V3).
πΏ What EcoPrompt Tracks
When you hit Enter on ChatGPT, Gemini, or Claude, EcoPrompt displays a non-intrusive in-page toast estimating:
- π Carbon Footprint (g COβe): Real-time emissions based on datacenter PUE and energy grid averages.
- π§ Water Consumption (mL): Direct evaporative cooling plus indirect electricity water draw.
- β‘ Active Energy (Wh): Compute energy required for prompt prefill and decode cycles.
- πΆ API Cost Equivalence: Baseline token computation rates across model tiers.
π οΈ Technical Constraints & Architecture Choices
Building a extension for developers required strict design decisions:
1. Zero Telemetry & 100% Client-Side Privacy
- No prompt logging: Prompt text is never stored, read, or transmitted.
- In-memory evaluation: Character counts are held temporarily in memory to apply KV-cache weightings, then immediately purged.
-
Local persistence: All analytics stay local via
chrome.storage.local.
2. Pure Vanilla Architecture (< 150 KB)
- Built with zero external dependencies (no npm bloat).
- Dynamic timelines (Day, Week, Month, Year) run on a custom-built, lightweight native SVG charting engine taking under 10 KB.
3. Daily Quotas & Smart Reminders
- Set soft daily targets to encourage prompt batching and context pruning without intrusive popups.
π Try It Out
EcoPrompt is completely free and open-source under CC BY-NC-SA 4.0.
- π¦ Chrome Web Store: Install EcoPrompt
- π» GitHub Repository: IB2M-Official/EcoPrompt
- β Support: Ko-fi (IB2M)
I'd love to get your feedback on the client-side modeling, SVG engine, or suggestions for new providers to support!













