Scope 3 Energy & Carbon Formula + 22 Global & European Data Center Regions
Scope 3 Carbon & EU Regions
#scope-3#carbon#energy#kwh#gco2e#ecologits#ml-energy#eu#csrd#epa-egrid#regions
How generated tokens, model size, datacenter PUE, and regional power grid intensity (EEA, Ember, US EPA eGRID) produce Scope 3 AI emissions estimates, with uncertainty ranges.
How It Works Under the Hood
- •Inference Energy follows the open-source EcoLogits v0.11.3 methodology: GPU and server energy are modelled from the number of generated (output) tokens and the model's active and total parameter counts, then multiplied by the provider's datacenter PUE. Prompt tokens do not add energy in this methodology.
- •Closed models (OpenAI, Anthropic, Google) don't publish parameter counts, so EcoLogits estimates them as ranges. Every reading stores a min, max and midpoint; dashboards report the midpoint.
- •Each reading records how the model id was matched (exact, alias, normalized, family, or fallback). Unknown models use a wide generic frontier-class range and are flagged as fallback so they can be reviewed.
- •Energy is recomputed on the server from token counts, so reported figures cannot be altered by the client.
- •Scope 3 Carbon: C_scope3 (gCO2e) = E_inf (kWh) * Grid_Intensity (gCO2e/kWh).
- •Supports 22 global regions including 10 European Union, EEA, UK & Swiss regions (Stockholm 28 gCO2e/kWh, Zurich 42, Paris 56, Madrid 162, London 207, Amsterdam 258, Dublin 274, Milan 296, Frankfurt 348, Warsaw 615) calibrated to EEA / Ember / CSRD ESRS E1, plus 6 North American (EPA eGRID) and 6 APAC/LATAM regions.
How to Use It Step-by-Step
- 1Choose your default grid region in Settings → Company & Account. It applies to telemetry that doesn't specify a region; set defaultGridRegion in the SDK to override it.
- 2Override region per AI request if needed by passing gridRegion: 'eu-west-3' in shdw.wrapClient(client, { gridRegion: 'eu-west-3' }).
Related guides
- Interactive CLI Setup Wizard (npx @shdwsdk/sdk init / npx shdw-init)
- Non-Blocking Client Wrapper (shdw.wrapClient) & Fail-Silent Guarantee
- Layer 1: Zero-Touch Runtime AI-BOM Auto-Discovery & Zero-Knowledge Prompt Hashing
- Layer 2: RAG & Vector Database Auto-Instrumentation (shdw.wrapVectorStore)
- Layer 3: Static Manifest & CI/CD Auto-Scanner (@shdwsdk/sdk/scanner)
- Layer 4: Model Integrity & CycloneDX / SPDX Exporters
- EU AI Act Risk Classification & US NIST AI RMF 1.0 Assessment Matrix
- Buyer-Facing Public Trust Center (/trust/[slug]) & Embeddable HTML Badge
