“Energy per AI query” is not yet a purchasing comparison. Ask which query, where the meter sits, whether failed attempts count, and which electricity and emissions boundary the number describes. Here is a small worksheet for a support workflow: an assistant drafts a reply, a reviewer checks it against policy, and the task succeeds only when the reply is accepted without an unsafe or unsupported answer. The readings below are invented to demonstrate the calculation, not Meydo measurements, vendor results or grid data.
First define the claim you can test
Use the same ten representative support cases for each candidate, including a difficult escalation. Freeze the model, prompts, retrieval corpus, hardware, region, software version, response-length policy and latency limit. Count every attempt and retry, but divide by accepted completed tasks, not API calls. Record the reviewer rubric and failures: a short answer that misses the escalation is not an energy saving. MLCommons' MLPerf Power description likewise pairs power measurement with workload, performance and accuracy/quality targets; this worksheet is not an MLPerf submission.
Request a time-stamped IT input meter trace (servers plus attributable network/storage), the matching facility-input trace if a dedicated boundary is available, idle traces at both boundaries, request/quality logs and a location and time for each interval. Server GPU telemetry alone is a narrower boundary. The IEA's data-center component account distinguishes servers, storage, networking, cooling and other infrastructure; its data-center totals cannot be divided into a universal “AI query.”
Copy this illustrative worksheet
Every input in this table is synthetic. A and B each run for three consecutive ten-minute intervals in the same hypothetical grid region. “Wall” means an illustrative dedicated facility-equivalent input meter, including overhead, not the wall socket of a server and not an actual colocation bill. The idle baselines, also hypothetical, are 100 W IT and 130 W wall in each interval. The factors are illustrative average grid emissions factors in kg CO2e/kWh, not verified regional data.
| Option | Interval | IT W | Facility-input W | Grid factor kg CO2e/kWh |
|---|---|---|---|---|
| A | 1 | 160 | 205 | 0.4 |
| A | 2 | 180 | 230 | 0.5 |
| A | 3 | 140 | 185 | 0.3 |
| B | 1 | 150 | 190 | 0.4 |
| B | 2 | 150 | 190 | 0.5 |
| B | 3 | 150 | 190 | 0.3 |
For each row, energy in kWh = watts × (10/60 hours) ÷ 1,000. Sum all three rows. For location-based operational emissions in kg CO2e, multiply each row's gross facility-input kWh by its matching factor, then sum; do not multiply total energy by whichever hour looks cleanest. The example's interval factors are placeholders for an engineering comparison, not a GHG inventory method or evidence that the grid changed because of the workload. The GHG Protocol's current Scope 2 Guidance covers purchased electricity and contractual instruments in corporate inventories: location-based factors describe grid-average supply, while the market-based method reflects qualifying contractual information. Neither a supplier's certificate nor a location-based estimate alone proves physical zero-carbon electricity at the query's hour.
With those toy inputs, A totals 0.080 kWh IT and 0.103 kWh gross wall for 12 attempts and 8 accepted tasks; B totals 0.075 kWh IT and 0.095 kWh gross wall for 11 attempts and 9 accepted tasks. Thus gross wall energy per accepted task is about 13 Wh for A versus 11 Wh for B. The illustrative time-matched location-based estimates are about 5.3 versus 4.2 g CO2e per accepted task. These are arithmetic outputs of invented inputs, not measurable differences between real vendors.
Subtract the idle baseline only for a separately labeled incremental question: A is 0.030 kWh incremental IT and about 0.038 kWh incremental wall; B is 0.025 and 0.030 kWh. Do not present the incremental value as the entire energy used to keep a shared service available. Nor apply an annual facility PUE to a ten-minute job as if it were a measured interval. The Green Grid defines PUE as data-center total energy divided by IT-equipment energy; the toy wall/IT ratios (roughly 1.29 and 1.27) are only paired short-window ratios from our invented dedicated boundary, not a certified site PUE or a way to allocate a shared data center to this workload.
For a repeatable arithmetic check, save the following as energy-worksheet.py and run python energy-worksheet.py with Python’s standard library. It rejects zero accepted tasks and an impossible facility reading below IT power. All its numbers remain synthetic; a real claim requires calibrated, synchronized readings and documented attribution.
"""Illustrative, synthetic meter worksheet; not a benchmark or inventory.
Run: python energy-worksheet.py
Replace every input with measured, timestamp-aligned observations before using on a vendor claim.
"""
from decimal import Decimal as D
# Every number below is invented for arithmetic demonstration only. One row = ten minutes.
HOURS = D(1) / D(6)
IDLE_IT_W = D(100) # separately observed idle at same meter boundary
IDLE_WALL_W = D(130) # illustrative facility-equivalent idle, not a real facility meter
TRAINING_KWH = D(2) # hypothetical attributable training energy, excluded from operational result
EXPECTED_LIFETIME_SUCCESSES = D(10000) # hypothetical allocation denominator
# kg CO2e/kWh: illustrative location/time average factors; NOT certified grid data.
ROWS = {
'A': [(D(160), D(205), D('0.4')), (D(180), D(230), D('0.5')), (D(140), D(185), D('0.3'))],
'B': [(D(150), D(190), D('0.4')), (D(150), D(190), D('0.5')), (D(150), D(190), D('0.3'))],
}
# Same ten evaluated cases per option; attempts include failures/retries; only accepted tasks count.
COUNTS = {'A': (D(12), D(8)), 'B': (D(11), D(9))}
def calculate(rows, attempts, successes):
if not rows or successes <= 0 or attempts < successes:
raise ValueError('Nonempty rows and valid attempts/successes required')
if any(it < 0 or wall < it or ef < 0 for it, wall, ef in rows):
raise ValueError('Invalid meter boundary or emissions factor')
it_kwh = sum((it * HOURS / 1000 for it, _, _ in rows), D(0))
wall_kwh = sum((wall * HOURS / 1000 for _, wall, _ in rows), D(0))
idle_it = IDLE_IT_W * HOURS * len(rows) / 1000
idle_wall = IDLE_WALL_W * HOURS * len(rows) / 1000
emissions_kg = sum((wall * HOURS / 1000 * ef for _, wall, ef in rows), D(0))
return dict(it_kwh=it_kwh, wall_kwh=wall_kwh,
incremental_it_kwh=it_kwh-idle_it,
incremental_wall_kwh=wall_kwh-idle_wall,
wall_it_ratio_not_pue=wall_kwh/it_kwh,
location_kg=emissions_kg,
wall_wh_per_success=wall_kwh*1000/successes,
location_g_per_success=emissions_kg*1000/successes,
conditional_training_wh_per_success=TRAINING_KWH*1000/EXPECTED_LIFETIME_SUCCESSES)
if __name__ == '__main__':
for name, rows in ROWS.items():
attempts, successes = COUNTS[name]
result = calculate(rows, attempts, successes)
print(f'{name}: {int(attempts)} attempts, {int(successes)} accepted tasks')
for key, value in result.items():
print(f' {key}: {value.quantize(D("0.0001"))}')
# Negative controls: do not silently divide by zero or accept mismatched boundaries.
for bad_rows, attempts, successes in [(ROWS['A'], D(1), D(0)), ([(D(200), D(100), D('0.4'))], D(1), D(1))]:
try:
calculate(bad_rows, attempts, successes)
except ValueError:
pass
else:
raise AssertionError('Invalid input accepted')
print('Input guards: PASS')
Keep training, inference and carbon accounts apart
The table covers inference-time operation, including retries. If a vendor also assigns model training to this product, request the training run's energy, attribution share and expected lifetime successful tasks separately. As another toy assumption, allocating 2 kWh of attributable training across 10,000 lifetime accepted tasks adds 0.2 Wh per task; at 1,000 it adds 2 Wh. Neither denominator has been observed here. Fine-tuning, experiments, storage, embodied hardware, network outside the facility and a customer's device are excluded unless separately metered or bounded. A model shared among customers needs an explicit allocation rule, not a claim that the whole training run belongs to one pilot.
For a vendor's corporate Scope 2 claim, ask for both location-based and market-based figures with the factor year, grid geography, instrument type, retirement and relevant quality-criteria evidence. Do not substitute a market-based “renewable” figure into the worksheet's physical grid-factor column. GHG Protocol's 2015 Scope 2 Guidance remains the reference for current inventory accounting; its 2025 consultation draft proposes finer location-factor selection and hourly matching for certain contractual instruments, with feasibility provisions and exemptions under discussion. Those proposed hourly rules are not current binding requirements. Our per-interval location estimate is an optional analytic lens, not a claim of compliance with the draft or a marginal avoided-emissions calculation.
Choose on the evidence, not the smallest numerator
In this toy pilot, B uses less gross wall energy and has one more accepted task, so B looks preferable if both meet the same safety and latency gates. But A might be worth more energy if it handles a high-risk escalation B misses, or if B's shorter replies shift work to reviewers. Repeat at normal traffic and saturation, report latency distributions and failure types, and use confidence ranges from repeated days rather than treating a tiny sample as a ranking.
When facility-input data are unavailable, publish IT-only energy and an explicitly assumed range of overhead scenarios; do not label an assumed PUE “measured wall energy.” When timestamps, a regional factor or contract evidence are missing, leave the corresponding emissions field unknown and say why. If the idle trace is noisy or the site is shared, show gross and a sensitivity range for incremental allocation, noting possible overlap with other tenants. A zero-success run has no finite “per successful task” value; report its energy and failure count instead. Ask whether longer evaluation windows reverse the choice.
That is an auditable vendor request: raw meter series and calibration/boundary notes; matching request IDs, retries and quality decisions; version and region; factor provenance and accounting method; exclusions and uncertainty. For devices rather than data centers, the meter and thermal/battery boundary changes—see Meydo's on-device AI hardware discussion. Do not apply the data-center wall/PUE column to a phone.
