ProviderRegionKey
Auto-generated API reference for ProviderRegionKey.
Type Alias: ProviderRegionKey
ProviderRegionKey =
`$\{string\}:$\{string\}`
Defined in: adapters/src/carbon.ts:22
Carbon-aware routing data. Estimated grid CO2 intensity (gCO2eq per 1k tokens) per provider+region. Numbers are best-effort approximations derived from public grid-mix data and provider PUE disclosures β they are good enough to differentiate "very dirty" from "very clean" but are not audited.
Sources:
- Electricity Maps (electricitymaps.com) for grid carbon intensity.
- Provider PUE / efficiency reports (Anthropic, Google, AWS).
- LLMCarbon (Faiz et al., 2024) for tokβJ coefficients.
Pull-requests welcome to refine. The table is community-updateable
and ships at compile time; a runtime table can be passed via
applyCarbonTable(candidates, customTable).
Closes part of issue #209.