Show HN: LLM API cost and carbon calculator for your own token mix
Category: ai-ml
Tags: carbon-footprint, emission-factors, llm, sustainability, python
Score: 6.0/10 (Innovation: 6, Technical: 5, Documentation: 7, Utility: 6)
SOMA AI Emission Factors (SAEF) provides a versioned dataset of carbon and water emission factors for AI inference by model class and region, targeting Scope 3 reporting under GHG Protocol and CSRD. It includes a Python package and integrations with LiteLLM, LangChain, LlamaIndex, and Haystack, estimating per-call environmental impact from token usage and grid region.
Target audience: sustainability officers, backend developers, data engineers, devops
Repository: https://somaai.earth/ai-footprint/llm-api-cost-calculator · Python · NOASSERTION · 1 stars
View on Hacker News