Inspiration
Every AI prompt we type has a hidden cost — not just in time, but in energy and carbon emissions. With billions of prompts generated daily across ChatGPT, Gemini, Claude, and other AI tools, the environmental impact adds up fast. Yet, users have no idea how their digital behavior translates to energy consumption or CO₂ output.
That gap inspired Mirathym — short for Measure. Mind. Minimize. (Mirai means future + Rythym) Just as a fitness tracker monitors your health, Mirathym tracks your AI efficiency and environmental footprint. It transforms invisible data into something tangible, motivating users to prompt smarter, not harder.
We were driven by one simple thought — if AI is shaping the future, it should also protect it.
What it does
Mirathym is a Chrome Extension that helps users understand the environmental impact of their AI usage.
It converts every prompt into live metrics using Gemini Nano’s on-device APIs, displaying:
- Tokens Used
- Efficiency = (Output Tokens / Input Tokens) × 100
- Load Time
- CPU Load
- Estimated CO₂ Emission
Each result appears in a clean, eco-themed dashboard along with actionable tips like “Use fewer tokens,” “Batch prompts,” or “Simplify queries.”
Unlike traditional analytics tools, Mirathym doesn’t track or upload any data.
Everything — from token computation to summarization — runs entirely on your device using Chrome’s built-in Gemini Nano Prompt, Summarizer, Writer.
It also visualizes your weekly Green Score, showing how small prompt optimizations can collectively reduce your carbon footprint.
At the end, users can generate a personalized eco-efficiency PDF report, turning awareness into measurable action.
How we built it
Mirathym is powered by Chrome’s Built-in Gemini Nano AI and a privacy-first architecture.
- The content script captures user prompts from AI platforms like ChatGPT, Gemini, and Claude.
- A service worker launches an offscreen document that runs Gemini Nano locally through the
chrome.ai.*APIs. - The backend calculates token usage, efficiency, and CO₂ emissions, fetching CPU data via
chrome.system.cpu.getInfo(). - The popup dashboard displays real-time stats, eco-tips, and system insights using animated rings and pastel UI elements.
Key APIs used
chrome.ai.prompt→ for token analysis and efficiency computationchrome.ai.summarize→ for concise summarieschrome.ai.writer→ for actionable eco suggestions
All data is processed offline, ensuring zero leakage and complete privacy.
Challenges and Breakthroughs
Developing Mirathym came with multiple challenges:
- Integrating several
chrome.ai.*APIs within an offscreen MV3 architecture - Designing a reliable CO₂ estimation model without external services
- Maintaining accuracy while keeping computation lightweight
- Handling real-time updates between content scripts, service workers, and popups
We overcame these by using efficient caching, Chrome’s message-passing optimization, and building a local CO₂ formula:
CO₂(g) = tokens × 0.0003 × (CPU_load / 100)
The breakthrough moment was when Mirathym produced accurate CO₂ readings locally — proving that sustainability and privacy can coexist.
Accomplishments that we're proud of
- Built one of the first sustainability-focused AI extensions using Gemini Nano
- Achieved real-time CO₂ tracking fully on-device
- Designed a clean, minimal UI that makes complex data approachable
- Enabled eco-awareness without compromising privacy
- Created a scalable tool compatible with any AI platform
What we learned
Through Mirathym, we learned that awareness drives change.
When users see their environmental impact quantified, they naturally adjust their habits — shorter prompts, efficient phrasing, fewer retries.
We also deepened our understanding of Gemini Nano’s local capabilities, Chrome’s new AI API structure, and the potential of on-device computation for sustainable AI applications.
What’s next for Mirathym
- Green Leaderboards to compare eco-efficiency across users
- Expanded models for GPU and NPU energy tracking
- Cross-platform support for Edge and Android Chrome
- Adaptive Eco Modes for automatic prompt optimization
- Open collaborations with environmental organizations
Mirathym isn’t just an extension — it’s the beginning of AI sustainability awareness.
Together, we can measure better, mind deeper, and minimize smarter.
Log in or sign up for Devpost to join the conversation.