The cost of energy