mlco2/ecologits

🌱 EcoLogits tracks the energy consumption and environmental footprint of using generative AI models through APIs.

54
/ 100
Established

Integrates transparently with major LLM providers (OpenAI, Anthropic, Cohere, Google, Hugging Face, Mistral) through provider-specific packages, intercepting API calls to compute energy and GHG emissions without code changes. Calculates environmental impacts by tracking token counts and model specifications, returning metrics like kWh consumption and kgCO2eq emissions directly attached to API responses.

266 stars.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

266

Forks

26

Language

Python

License

MPL-2.0

Last pushed

Mar 12, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/generative-ai/mlco2/ecologits"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.