keepcalculator

06 Numbers and Powers

AI Model Electricity and Data Center Cost Estimator

Card No. 06·24800 · Updated · Standard formula, shown below

Estimated total cost 18.00 currency
Estimated facility electricity
150.00 kWh
Result
Estimated IT electricity cost
12.00 currency
Result
IT energy use
100 kWh
You entered
You enter
IT energy use, Data center PUE, Electricity rate, Facility cost per IT kWh
You get
Estimated total cost, Estimated facility electricity, Estimated IT electricity cost
Rounding
2 dp

This estimator helps you approximate the electricity and facility cost of running an AI model, for either inference or training. Enter energy use and the applicable electricity and data-center rates; you get an estimated total, with the assumptions made visible so you can replace estimates with measured figures.

Formula

Estimated total cost = IT energy × (PUE × electricity rate + facility cost per IT kWh). IT energy is the energy consumed by the computing equipment, in kilowatt-hours (kWh). PUE is power usage effectiveness: total data-center energy divided by IT-equipment energy, so it is a ratio with no unit and is normally at least 1. Electricity rate is the price per kWh applied to facility electricity. Facility cost is any additional data-center charge per IT kWh that you choose to include, such as a hosting allocation; enter zero if none applies. The output uses the currency unit implied by your rate inputs.

Facility electricity = IT energy × PUE. The calculator’s grid output estimates all data-center electricity associated with the IT load. IT electricity cost = IT energy × electricity rate. This separate output is a reference using only the IT energy, not the PUE-adjusted facility energy. The total-cost output includes the rate multiplied by PUE, plus the additional facility charge.

Worked Example

Using the defaults: 100 kWh of IT energy, PUE 1.5, an electricity rate of 0.12 currency units per kWh, and no extra facility charge:

  1. Facility electricity: 100 × 1.5 = 150 kWh.
  2. Cost per IT kWh including facility electricity: 1.5 × 0.12 + 0 = 0.18 currency units.
  3. Estimated total: 100 × 0.18 = 18.00 currency units.
  4. IT-only electricity cost: 100 × 0.12 = 12.00 currency units.

What You’ll Need

  • An estimate or measurement of IT-equipment energy in kWh for the period or workload.
  • A PUE value for the relevant data center. Ask the provider for a representative value if you do not know it.
  • The electricity rate and any separate facility or hosting charge you want included, expressed in compatible currency units per kWh.
  • A clear definition of the workload: model, hardware, run duration, and whether the estimate covers inference, training, or both.

Step-by-Step

  1. Define what you are costing. Choose a boundary and time period. For inference, this could be a batch of requests or a month of service. For training, it could be one run. Include only the computing work you intend to compare, and record whether preprocessing, evaluation, retries, or idle time are in scope.
  2. Find IT energy use. Prefer metered accelerator or server energy for the workload. If you only know average IT power in kilowatts and elapsed time in hours, calculate energy as kWh = kW × hours. For example, 2 kW sustained for 3 hours is 6 kWh. If power is in watts, divide by 1,000 before multiplying by hours. Avoid treating a GPU’s rated maximum power as its measured average.
  3. Estimate missing energy carefully. If you have no meter, estimate average whole-server IT power from suitable monitoring or provider data, then multiply by runtime. Account for all relevant servers and devices; do not multiply a per-GPU figure by runtime and mistake it for the entire cluster. Mark this result as an estimate and use a range if utilization or runtime is uncertain.
  4. Set PUE for the actual facility. Enter a value provided for the data center and, where possible, for a relevant period. PUE translates IT energy into approximate total facility energy, including overhead such as cooling and power distribution. Do not apply PUE twice if your energy reading already includes facility electricity.
  5. Enter the electricity rate. Use the rate that corresponds to the facility and period. If rates vary by time or contract, use a consumption-weighted average, or calculate separate periods and add them. Keep units consistent: a rate quoted per megawatt-hour must be converted to a per-kWh rate by dividing by 1,000.
  6. Add only distinct facility charges. Put an additional per-IT-kWh charge in the facility-cost field if it is not already included in the electricity rate or your hosting bill. If a provider charges per hour, per accelerator, per request, or as a fixed monthly fee, this calculator cannot convert that charge without additional workload or allocation data. Work it out separately and add it to the result.
  7. Review the estimate and test a range. Read the total as a modeled cost, not a bill quotation. Compare the grid-energy output with expected facility use, and vary energy, PUE, and rates across plausible low and high values. Record the source, date, currency, and assumptions alongside the number.
  8. Scale to the workload you care about. For repeated runs, multiply a representative run’s energy and applicable variable costs by the number of runs. For serving traffic, estimate energy for a representative request volume and include utilization and idle capacity consistently. Fixed costs may not scale linearly, so keep them separate rather than multiplying them blindly.

Common Mistakes

  • Confusing IT energy with facility energy: multiply by PUE once to estimate facility electricity; do not multiply again if the meter already covers the whole facility.
  • Using power as energy: kilowatts describe a rate; kilowatt-hours include time. Multiply average kW by hours.
  • Using peak power for every hour: this can overstate energy when equipment is not continuously at its rated maximum. Use observed workload power when available.
  • Mixing rate units or currencies: convert MWh to kWh consistently, and do not add charges in different currencies without an explicit conversion.
  • Counting costs twice: check whether the rate, hosting charge, or internal allocation already includes facility overhead, cooling, or electricity.
  • Ignoring idle capacity and failed runs: decide whether the estimate is for active computation alone or the real service, including the capacity reserved to serve it.

Tips

  • Measure several representative runs, including warm-up and realistic batch sizes, rather than relying on one unusually short run.
  • For inference, report energy per request as well as total energy, and state the request volume and model configuration used.
  • For training, include checkpoints, evaluation, restarts, and data-processing compute when they fall inside your chosen boundary.
  • Keep energy and cost results separate: the same workload can have different costs at different rates, while grid emissions require a separate emissions factor.
  • Round only at the end. The displayed figures are estimates and do not imply precision greater than the input measurements.

Troubleshooting

The result looks much too high or low: check whether the energy is in kWh rather than Wh, whether power was converted from watts to kilowatts, and whether PUE was applied exactly once. Recheck that rate units match the energy unit.

You have a cloud bill but no energy data: a billed compute price is not an electricity rate. Ask the provider for workload energy or a defensible allocation method. You can estimate energy from measured server power and runtime, but label assumptions clearly; do not infer precise energy from price alone.

Your provider gives a monthly or hourly facility charge: leave the per-kWh facility field at zero unless you can convert that fee to a workload-specific rate. Allocate fixed charges using a stated method, such as the workload’s share of reserved capacity and time, and show that allocation separately.

PUE is unknown or changes: request a representative facility value or show a low-to-high scenario. Do not assume a universal PUE; it varies by site, operating conditions, and measurement boundary.

Different tools report conflicting energy: compare their measurement boundaries, sampling intervals, and whether readings cover the accelerator, server, or facility. Use one consistent source for the estimate and document the discrepancy rather than averaging incompatible measurements.

Frequently Asked Questions

Does PUE include the model’s GPU electricity?
Yes. PUE is total facility energy divided by IT energy, and IT energy includes the computing equipment in your measurement boundary.

Can I estimate costs from GPU hours alone?
Not accurately without an energy-per-hour estimate, power data, or a defensible hardware-based model. GPU hours describe time, not electricity consumed.

Does the estimate include carbon emissions?
No. Emissions require an appropriate grid or supplier emissions factor and a matching electricity boundary. Cost and emissions are different calculations.

Should I include cooling?
Use PUE to account for facility overhead such as cooling. Do not add a separate cooling estimate if it is already represented by PUE.

Can I compare two models with this method?
Yes, if you use the same workload, measurement boundary, facility assumptions, and pricing basis. Report energy per request or per completed training run alongside total cost.

Related

Formula used
in energy | IT energy use | kWh | 100 | 0
in pue | Data center PUE | - | 1.5 | 1 | 5
in rate | Electricity rate | currency/kWh | 0.12 | 0
in facility | Facility cost per IT kWh | currency/kWh | 0 | 0
out total | Estimated total cost | currency | energy * (pue * rate + facility) | 2
out grid | Estimated facility electricity | kWh | energy * pue | 2
out power | Estimated IT electricity cost | currency | energy * rate | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →