GreenGate

Methodology

How GreenGate calculates AI emissions

Every number on your GreenGate dashboard is built from published model coefficients, measured request latency, and grid carbon intensity. This page documents the inputs, formulas, and assumptions, so your sustainability team and auditors can verify the figures.

How the GreenGate API works

GreenGate is a thin tracking layer. Your application calls OpenAI, Anthropic, Google, Mistral, or any other LLM provider directly — nothing is proxied through us, so your prompts, completions, latency, and provider relationship are untouched. After each call, you send the model name and the token counts the provider returned to a single GreenGate endpoint, which logs the request and returns the computed energy and CO2.

The endpoint

POST https://api.ggate.app/v1/track
Authorization: Bearer sk_org_...
Content-Type: application/json

{
  "model":         "claude-sonnet-4-6",
  "input_tokens":  1234,
  "output_tokens": 567,
  "team_id":       "engineering"
}

The response is the calculated impact for that single request:

{
  "energy_wh": 0.142318,
  "co2_grams": 0.039849
}

Fields

What we do NOT receive or store

This means GreenGate cannot leak prompts (we never see them) and cannot be a single point of failure for your AI traffic (we are not in the request path). You can lose connectivity to GreenGate for a day and your product keeps working — you just lose tracking for that period.

Model coverage

EcoLogits currently has coefficients for over 400 models across Anthropic, OpenAI, Google, Mistral, Cohere, and the Hugging Face Hub (including Meta Llama, Microsoft Phi, and most major open-weight releases). You can pass any of these model identifiers to /v1/track. When a model is not in the EcoLogits catalogue, GreenGate falls back to per-token coefficients (see below) and flags the request as Estimated in your dashboard.

About the homepage chat demo

The public chat shown on the GreenGate homepage uses a small fixed set of model aliases (sonnet, haiku, opus, gpt4o, gpt4omini, gpt41, o3mini, gemini, gemini25flash, gemini25pro). Those aliases exist only to power the demo — your production API calls can use any model EcoLogits supports.

Primary method — EcoLogits

For supported models, GreenGate delegates the energy and global-warming-potential calculation to EcoLogits, an open-source library maintained by the CodeCarbon non-profit (originally developed by mlco2). The methodology follows ISO 14040 / 14044 Life Cycle Assessment principles and is published in the Journal of Open Source Software (DOI: 10.21105/joss.07471).

EcoLogits estimates both usage impacts (energy and emissions during inference) and embodied impacts (hardware manufacturing and transport, amortised over a 3-year server lifetime). The result GreenGate reports is the sum of the two.

EcoLogits inputs we pass per request

EcoLogits hardware and infrastructure assumptions

EcoLogits grid carbon intensity

EcoLogits applies per-region grid intensity data when the provider's datacenter location is known, drawing on Our World in Data, the ADEME Base Empreinte® database, and World Resources Institute methodology. CO2-equivalent emissions returned by EcoLogits already incorporate this regional factor — GreenGate does not apply an additional grid multiplier when EcoLogits is used.

Why EcoLogits

It is one of the few open methodologies that ties LLM emissions to physical inference characteristics — active parameters, output token count, observed latency, batched GPU energy curves, and per-region grid intensity — rather than averaged datacenter totals. The methodology is documented, peer-reviewed, and released under CC BY-SA 4.0.

Provider coverage (via EcoLogits)

ProviderModels supported
OpenAI (incl. Azure OpenAI)~95
Anthropic~6
Mistral AI~11
Cohere~13
Google Geminivia Hugging Face
Hugging Face Hub (Meta Llama, Microsoft Phi, etc.)~276
Total~400

Fallback method — published per-token rates

When a model isn't in the EcoLogits mapping (newer releases, fine-tunes, custom deployments), GreenGate falls back to a per-token energy rate derived from publicly disclosed datacenter efficiency data and published research. The rate separates input from output tokens because output tokens require autoregressive generation and use roughly 4× the energy of input tokens at equivalent counts.

energy_wh = (input_tokens × rate_input) + (output_tokens × rate_output)

Fallback rates (Wh per token)

Model familyInputOutput
Claude Sonnet class0.0008250.003300
Claude Haiku class0.0001750.000700
GPT-4o class0.0010500.004200
Gemini class0.0005250.002100
Default (unmapped)0.0007000.002800

From energy to CO2 (fallback only)

For the fallback per-token path (when EcoLogits has no mapping for a model), GreenGate converts energy to CO2-equivalent grams using a fixed grid intensity factor.

co2_grams = energy_wh × 0.28

The factor 0.28 gCO₂e/Wh reflects the average carbon intensity of the EU electricity grid in 2023–2024 as reported by the European Environment Agency. For organisations reporting against a different grid, the factor can be configured per workspace on request.

Note: this fallback factor is not applied to EcoLogits-routed models, where the per-region factor is already embedded in the returned global-warming-potential value.

Confidence and limitations

We label every figure with one of three confidence categories so your auditors can see at a glance how each number was produced.

LabelMeaning
Modelled Calculated via EcoLogits using provider-published architecture data and measured latency. Highest confidence.
Estimated Calculated via fallback per-token rates. Reasonable accuracy at organisation level, less reliable for individual requests.
Approximate Model is unmapped — the default rate was applied. Suitable as a placeholder until the model is added to the mapping.

Known limitations (inherited from EcoLogits)

CSRD reporting — what companies have to do

The EU Corporate Sustainability Reporting Directive (CSRD) requires in-scope companies to publish an annual sustainability statement that follows the European Sustainability Reporting Standards (ESRS). The climate standard, ESRS E1, requires disclosure of greenhouse-gas emissions split into the three scopes defined by the GHG Protocol.

The three emission scopes

ScopeWhat it coversExamples
Scope 1 Direct emissions from sources the company owns or controls. Company vehicles, on-site boilers, refrigerant leaks, manufacturing furnaces.
Scope 2 Indirect emissions from purchased electricity, steam, heat, or cooling. Office electricity, datacentre power for on-prem servers.
Scope 3 All other indirect emissions — upstream and downstream — that the company causes but doesn't directly control. Split into 15 categories. Purchased SaaS, cloud computing, employee commuting, business travel, supply chain, product end-of-life.

Scope 3 is where AI usage lives. Specifically, Category 1 — Purchased goods and services — covers upstream emissions from anything the company buys, including cloud computing and inference APIs. Every call your application makes to OpenAI, Anthropic, Google, or any other AI provider is a Scope 3 Category 1 emission. For most software companies it is also one of the fastest-growing categories on the balance sheet, and one of the easiest to overlook because the bills come from a vendor instead of a utility.

Why Scope 3 matters most

For software-heavy businesses, Scope 3 typically represents 70–90% of total emissions. ESRS E1-6 makes Scope 3 disclosure mandatory if material — and AI compute is rapidly becoming material for any company that has shipped AI features in the last two years. Auditors will ask how you measured it.

Who has to report, and when

CSRD is being rolled out in four waves, each defined by company size and listing status. After the EU's Omnibus simplification package (proposed February 2025) and the "stop-the-clock" Directive (adopted April 2025), Waves 2 and 3 were postponed by two years. The thresholds for Wave 2 are also expected to rise from 250 to 1,000 employees, though that change is still moving through the EU legislative process. The current schedule:

WaveWhoFirst financial year reportedFirst report published
Wave 1 Large public-interest entities already under NFRD: listed companies with >500 employees, banks, insurance. 2024 2025
Wave 2 Other large EU companies (current proposal: >1,000 employees, or meeting 2 of: >€50M turnover, >€25M balance sheet). 2027 (was 2025) 2028
Wave 3 Listed small and medium-sized enterprises (SMEs). 2028 (was 2026) 2029
Wave 4 Non-EU parent companies with significant EU operations (>€150M EU turnover and an EU subsidiary or branch). 2028 2029

Dates reflect the situation as of 2026. The Omnibus package is still subject to final co-legislator agreement; check the European Commission's CSRD page for the authoritative current status.

What an ESRS E1 disclosure has to contain

Why companies use GreenGate

Attribution and licensing

GreenGate's emission calculations rely on the open-source EcoLogits project, maintained by the CodeCarbon non-profit. We are grateful to the EcoLogits authors and contributors for making this methodology open and verifiable.

How to cite

If you reference these figures in academic, regulatory, or auditor-facing work, please cite the underlying EcoLogits methodology:

Rincé, S. & Banse, A. (2025). EcoLogits: Evaluating the Environmental Impacts of Generative AI. Journal of Open Source Software, 10(111), 7471. https://doi.org/10.21105/joss.07471

BibTeX

@article{ecologits,
  doi       = {10.21105/joss.07471},
  url       = {https://doi.org/10.21105/joss.07471},
  year      = {2025},
  publisher = {The Open Journal},
  volume    = {10},
  number    = {111},
  pages     = {7471},
  author    = {Rincé, Samuel and Banse, Adrien},
  title     = {EcoLogits: Evaluating the Environmental Impacts of Generative AI},
  journal   = {Journal of Open Source Software}
}

Component licenses

ComponentLicense
EcoLogits Python library Mozilla Public License 2.0 (MPL-2.0)
EcoLogits methodology and documentation CC BY-SA 4.0
EcoLogits release archive Zenodo DOI 10.5281/zenodo.15601289

Licensing of this page

The sections of this page that describe or summarize the EcoLogits methodology — specifically the explanation of EcoLogits' inputs, hardware assumptions, PUE values, grid-intensity sources, scope of coverage, and stated limitations — are derivative of the EcoLogits methodology documentation. To comply with the original CC BY-SA 4.0 license, those derivative portions of this page are made available under the same CC BY-SA 4.0 terms, with attribution to Rincé & Banse (2025).

The rest of this page — the GreenGate API contract, fallback coefficient choices, CSRD interpretation and obligations, and any opinions or recommendations — is © 2026 GreenGate. The GreenGate software product is proprietary.

References

  1. EcoLogits — Methodology documentation (CodeCarbon non-profit)
  2. EcoLogits — LLM Inference methodology (technical detail)
  3. EcoLogits — Source code repository (GitHub, MPL-2.0)
  4. ML.ENERGY Leaderboard — GPU inference energy benchmarks (vLLM on H100)
  5. Boavizta — BoaviztAPI bottom-up LCA tool for IT equipment
  6. ADEME Base Empreinte® — French environmental impact database
  7. Our World in Data — Carbon intensity of electricity by country
  8. European Environment Agency — Greenhouse gas emission intensity of EU electricity production
  9. ISO 14040:2006 and ISO 14044:2006 — Life cycle assessment principles and requirements
  10. EFRAG — European Sustainability Reporting Standards (ESRS E1)
  11. GHG Protocol — Scope 3 calculation guidance, Category 1

Methodology last reviewed: 2026. Coefficients are reviewed quarterly and updated when providers publish new architecture data or when EcoLogits ships a new release.