Airlines will provide pilots with a cost index prior to departure.
Cost index is a number between 0 and 200, and indicates whether fuel consumption or speed is important on the current leg.
A cost index of 0 will save the most fuel, yet reduce speed.
A cost index of 200 will operate at max speed, and consume more fuel.