Important
This repository is no longer maintained!
If you are willing to help us maintain it, we would happily welcome you on the team! Please, contact us on Discord.
This repository is a port of the genai-impact/ecologits methodology to JavaScript.
🌱 EcoLogits tracks the energy consumption and environmental impacts of using generative AI models through APIs.
Installation depends on the model providers that you use in your code:
- Core calculator functions :
ecologits.js - Mistral adapter :
ecologits-mistral - OpenAI adapter :
ecologits-openai