Rank cloud regions by carbon
rank_regionsRank AWS, GCP, and Azure regions by grid carbon intensity, optionally weighted by latency. Filter by country, latency, and carbon limits to find the lowest-emission region for a workload.
Instructions
Rank AWS, Google Cloud and Azure regions for a workload by the carbon intensity of their electricity grid, optionally balanced against estimated latency from an origin. Supports hard limits for allowed countries, maximum latency and maximum carbon intensity. Read notes before relying on close scores.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many regions to return. Default 5. | |
| origin | No | Where users or data are. Enables latency estimates and latency weighting. | |
| countries | No | Only consider regions in these countries or groups (EU, EEA), e.g. ["EU"] for EU data residency. Default: all. | |
| energyKwh | No | Estimated job energy, to report emissions per region. | |
| providers | No | Only consider these cloud providers. Default: all. | |
| carbonWeight | No | Weight on carbon versus latency, 0..1. Default 0.7. Only used with origin. | |
| maxLatencyMs | No | Exclude regions estimated slower than this round trip. Requires origin. | |
| maxCarbonIntensity | No | Exclude regions above this carbon intensity, gCO2e/kWh. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| results | Yes | ||
| excluded | Yes | ||
| evaluated | Yes | ||
| qualified | Yes | ||
| generatedAt | Yes |