The average cost of a gallon of regular gasoline was about $3.24 on Thursday, according to AAA.