In Illinois, the average gallon cost about $5.30 as of Thursday, up from $4.46 a month ago, according to Gas Buddy.