1. A method comprising: receiving, with a processor, a request for execution of an application; for each of a plurality of datacenters, determining an amount of electricity required to execute the application at the respective datacenter, wherein each of the plurality of datacenters comprises a plurality of processors, and wherein determining the amount of electricity comprises: determining an amount of electricity consumed by each of the plurality of processors for a predetermined unit of processing time; and for each of the plurality of processors at each respective datacenter, determining a number of predetermined units of processing time required to execute the application; receiving price data for each of the plurality of datacenters, the price data indicative of a price of electricity at each of a plurality of times of day; for each of the plurality of datacenters, determining a cost associated with executing the application at the respective datacenter for each of the plurality of times of day based, at least in part, on: the amount of electricity required to execute the application at the respective datacenter; and the price data; and scheduling the application for execution on one of the plurality of datacenters at one of the plurality of times of day based, at least in part, on the cost associated with executing the application at each of the respective datacenters.