wattindex

v0.1.0
io.github.CloudCorpRecords/wattindex Checked 1 day ago Published 1 month ago

GPU energy per million output tokens by model and GPU, with grid carbon intensity.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_models

List the models on the index and the GPUs each model has measurements for.

energy_per_million_tokens

Return the best energy row per GPU for a model: watt-hours per million output tokens, keeping rows at or under the inter-token latency deadline.

ParameterTypeDescription
model *stringModel name on the index
gpustringGPU name; omit to get the best row for every GPU
itl_deadline_msnumberLatency ceiling in milliseconds for choosing the best row (default 500)

estimate

Estimate GPU energy for a token count from the best matching row, with kg CO2e for a grid and optional energy at the meter.

ParameterTypeDescription
model *stringModel name on the index
output_tokens *numberNumber of output tokens to price
countrystringCountry name, short name, ISO 3166 alpha-2/alpha-3 code, or World
gpustringGPU name; omit to use the best row overall
itl_deadline_msnumberLatency ceiling in milliseconds for choosing the best row (default 500)
num_gpusintegerOnly configurations on exactly this many GPUs
puenumberPower usage effectiveness, at least 1.0; enables energy at the meter
running_batchnumberAverage running batch; the measured configuration nearest to it is used
system_power_rationumberWhole-system to GPU power ratio, at least 1.0; enables energy at the meter

compare_gpus

Compare the best energy rows for a model on H100 versus B200.

ParameterTypeDescription
model *stringModel name on the index
itl_deadline_msnumberLatency ceiling in milliseconds for choosing the best row (default 500)

concurrency_curve

Return energy per million tokens at every measured running batch for a model on a GPU.

ParameterTypeDescription
gpu *stringGPU name
model *stringModel name on the index

grid_intensity

Return the annual average grid carbon intensity (gCO2e per kWh) for a country or World.

ParameterTypeDescription
country *stringCountry name, short name, ISO 3166 alpha-2/alpha-3 code, or World

gpu_hardware

Return GPU hardware specs: max TDP, memory, MIG profiles and whole-system ceilings.

ParameterTypeDescription
gpustringGPU name; omit to list every GPU on the index

sources

List every source behind the index, with version, retrieval date and licence.