compare_regions
Compare carbon and water estimates for the same AI workload across cloud regions, with results sorted by carbon and flagged for unrecognized regions.
Instructions
Compare the carbon and water estimate for the same workload across regions using SOMA AI Emission Factors (SAEF).
Args: tokens: Billed tokens, input plus output. model: Model identifier such as "gpt-4o". regions: Region codes to compare, for example ["eu-north-1", "us-east-1", "ap-south-1"]. See list_regions.
Returns one row per region, sorted from lowest to highest carbon, with kg and g CO2e (central and high case) and water in mL. The lowest-carbon grid is not always the lowest-water one. A region that is not recognised gets an error entry instead of failing the whole call. Estimates, not measurements.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokens": "<tokens>",
"model": "<model>",
"regions": "<regions>"
},
"name": "compare_regions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| tokens | Yes | ||
| regions | Yes |